Skip to content

Commit

Permalink
[onnxruntime] Updates OnnxRuntime engine to 1.19.0 (#3446)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu committed Aug 30, 2024
1 parent 61d2f3a commit d9a45ff
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions bom/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ dependencies {
api("ai.djl.timeseries:timeseries:${version}")
api("com.microsoft.onnxruntime:onnxruntime:${libs.versions.onnxruntime.get()}")
api("com.microsoft.onnxruntime:onnxruntime_gpu:${libs.versions.onnxruntime.get()}")
api("com.microsoft.onnxruntime:onnxruntime-extensions:${libs.versions.onnxruntimeExtensions.get()}")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public int getRank() {
/** {@inheritDoc} */
@Override
public String getVersion() {
return "1.18.0";
return "1.19.0";
}

/** {@inheritDoc} */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public void testOrt() throws TranslateException, ModelException, IOException {
Criteria<IrisFlower, Classifications> criteria =
Criteria.builder()
.setTypes(IrisFlower.class, Classifications.class)
.optModelUrls("djl://ai.djl.onnxruntime/iris_flowers")
.optEngine("OnnxRuntime") // use OnnxRuntime engine
.optOption("interOpNumThreads", "1")
.optOption("intraOpNumThreads", "1")
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ pytorch = "2.4.0"
tensorflow = "2.16.1"
tensorflowCore = "1.0.0-rc.1"
mxnet = "1.9.1"
onnxruntime = "1.18.0"
onnxruntimeExtensions = "0.11.0"
onnxruntime = "1.19.0"
onnxruntimeExtensions = "0.12.4"
xgboost = "2.0.3"
lightgbm = "3.2.110"
tensorrt = "8.4.1"
Expand Down

0 comments on commit d9a45ff

Please sign in to comment.