Skip to content

Commit

Permalink
add bloom ipex inference test
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Feb 5, 2024
1 parent 5120f75 commit 9092653
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tests/ipex/test_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 9092653

Please sign in to comment.