Skip to content

Commit

Permalink
Bump onnxruntime to 1.16 | chore(ci) (#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinchuby authored Sep 21, 2023
1 parent 64189f0 commit b6c5e3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/examples/02_plot_square_loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def square_loss(X: FLOAT["N", 1], Y: FLOAT["N", 1]) -> FLOAT[1, 1]: # noqa: F82
# And finally, we can use *onnxruntime* to compute the outputs
# based on this model, using the standard onnxruntime API.

sess = InferenceSession(model.SerializeToString())
sess = InferenceSession(model.SerializeToString(), providers=("CPUExecutionProvider",))

X = np.array([[0, 1, 2]], dtype=np.float32).T
Y = np.array([[0.1, 1.2, 2.3]], dtype=np.float32).T
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"pyyaml",
)
ONNX = "onnx==1.14.1"
ONNX_RUNTIME = "onnxruntime==1.15.1"
ONNX_RUNTIME = "onnxruntime==1.16.0"
PYTORCH = "torch==2.0.1"
ONNX_RUNTIME_NIGHTLY_DEPENDENCIES = (
"flatbuffers",
Expand Down

0 comments on commit b6c5e3b

Please sign in to comment.