Skip to content

Commit

Permalink
Relax ORT requirements (#147)
Browse files Browse the repository at this point in the history
* Relax ORT version requirements

* Ensure conda env and base env match
  • Loading branch information
danielholanda authored Apr 1, 2024
1 parent b814d0b commit 7c13aa6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"scikit-learn==1.1.1",
"xgboost==1.6.1",
"lightgbm==3.3.5",
"onnxruntime >=1.10.1, <1.16.0",
"onnxruntime >=1.10.1",
"torch>=1.12.1",
"protobuf>=3.17.3,<3.21",
"pyyaml>=5.4",
Expand Down
4 changes: 3 additions & 1 deletion src/turnkeyml/run/onnxrt/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
import json
from statistics import mean
import platform
import onnxruntime
import turnkeyml.run.plugin_helpers as plugin_helpers

ORT_VERSION = "1.15.1"
# Use the same ORT version of the base environment in the new conda env
ORT_VERSION = onnxruntime.__version__

BATCHSIZE = 1

Expand Down
2 changes: 1 addition & 1 deletion src/turnkeyml/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.1"
__version__ = "2.0.2"

0 comments on commit 7c13aa6

Please sign in to comment.