Skip to content

Commit

Permalink
yo
Browse files Browse the repository at this point in the history
  • Loading branch information
snarayan21 committed Aug 30, 2024
1 parent ca26c51 commit b4d51a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/models/test_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def test_onnx_export(tie_word_embeddings: bool, tmp_path: pathlib.Path):
ort_session = ort.InferenceSession(str(tmp_path / 'mpt.onnx'))

for key, value in sample_input.items():
sample_input[key] = value.cpu().numpy()
sample_input[key] = value.cpu().numpy() # pyright: ignore

loaded_model_out = ort_session.run(None, sample_input)

Expand Down

0 comments on commit b4d51a5

Please sign in to comment.