We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 849d5b1 commit 9fd663eCopy full SHA for 9fd663e
tests/onnxruntime/test_modeling.py
@@ -383,8 +383,7 @@ def test_load_stable_diffusion_model_unknown_provider(self):
383
)
384
385
def test_load_model_from_hub_without_onnx_model(self):
386
- with self.assertRaises(FileNotFoundError):
387
- ORTModel.from_pretrained(self.FAIL_ONNX_MODEL_ID)
+ ORTModel.from_pretrained(self.FAIL_ONNX_MODEL_ID)
388
389
def test_model_on_cpu(self):
390
model = ORTModel.from_pretrained(self.ONNX_MODEL_ID)
0 commit comments