Skip to content

Commit

Permalink
add test for inference
Browse files Browse the repository at this point in the history
  • Loading branch information
JingyaHuang committed Jan 16, 2024
1 parent 65988b8 commit 2b83992
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/inference/inference_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"mpnet": "hf-internal-testing/tiny-random-MPNetModel",
"roberta": "hf-internal-testing/tiny-random-RobertaModel",
"roformer": "hf-internal-testing/tiny-random-RoFormerModel",
"sentence-transformers-transformer": "BAAI/bge-small-en-v1.5",
"stable-diffusion": "hf-internal-testing/tiny-stable-diffusion-torch",
"stable-diffusion-xl": "echarlaix/tiny-random-stable-diffusion-xl",
"xlm": "hf-internal-testing/tiny-random-XLMModel",
Expand Down
1 change: 1 addition & 0 deletions tests/inference/test_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ class NeuronModelForFeatureExtractionIntegrationTest(NeuronModelTestMixin):
"mobilebert",
"roberta",
"roformer",
"sentence-transformers-transformer",
# "xlm", # accuracy off compared to pytorch (not due to the padding)
"xlm-roberta",
]
Expand Down

0 comments on commit 2b83992

Please sign in to comment.