From 90926534f0d3a97a003ef0457268a9b18a410ac7 Mon Sep 17 00:00:00 2001 From: Ella Charlaix Date: Mon, 5 Feb 2024 18:04:20 +0100 Subject: [PATCH] add bloom ipex inference test --- tests/ipex/test_inference.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tests/ipex/test_inference.py b/tests/ipex/test_inference.py index 7d9f862ef1..d4092fd4a5 100644 --- a/tests/ipex/test_inference.py +++ b/tests/ipex/test_inference.py @@ -33,9 +33,9 @@ MODEL_NAMES = { "bert": "hf-internal-testing/tiny-random-bert", + "bloom": "hf-internal-testing/tiny-random-BloomModel", "distilbert": "hf-internal-testing/tiny-random-distilbert", "roberta": "hf-internal-testing/tiny-random-roberta", - "bloom": "hf-internal-testing/tiny-random-bloom", "gptj": "hf-internal-testing/tiny-random-gptj", "gpt2": "hf-internal-testing/tiny-random-gpt2", "gpt_neo": "hf-internal-testing/tiny-random-GPTNeoModel", @@ -59,7 +59,16 @@ class IPEXIntegrationTest(unittest.TestCase): "roberta", ) - TEXT_GENERATION_SUPPORTED_ARCHITECTURES = ("gptj", "gpt2", "gpt_neo", "gpt_bigcode", "llama", "opt", "mpt") + TEXT_GENERATION_SUPPORTED_ARCHITECTURES = ( + "bloom", + "gptj", + "gpt2", + "gpt_neo", + "gpt_bigcode", + "llama", + "opt", + "mpt", + ) QA_SUPPORTED_ARCHITECTURES = ( "bert",