Skip to content

Commit

Permalink
Add ipex inference llama test (#503)
Browse files Browse the repository at this point in the history
* add llamd and bloom in ipex inference tests

* only add llama tests
  • Loading branch information
jiqing-feng authored Jan 8, 2024
1 parent 8340e1d commit 77f9756
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/ipex/test_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"gpt_neo": "hf-internal-testing/tiny-random-GPTNeoModel",
"gpt_neox": "hf-internal-testing/tiny-random-GPTNeoXForCausalLM",
"gpt_bigcode": "hf-internal-testing/tiny-random-GPTBigCodeModel",
"llama": "fxmarty/tiny-llama-fast-tokenizer",
}

_CLASSIFICATION_TASK_TO_AUTOMODELS = {
Expand All @@ -56,7 +57,7 @@ class IPEXIntegrationTest(unittest.TestCase):
"roberta",
)

TEXT_GENERATION_SUPPORTED_ARCHITECTURES = ("gptj", "gpt2", "gpt_neo", "gpt_bigcode")
TEXT_GENERATION_SUPPORTED_ARCHITECTURES = ("gptj", "gpt2", "gpt_neo", "gpt_bigcode", "llama")

QA_SUPPORTED_ARCHITECTURES = (
"bert",
Expand Down

0 comments on commit 77f9756

Please sign in to comment.