Skip to content

Commit a3d633e

Browse files
authored
Update ONNXRuntime dependency to 1.16.0 (#568)
This commit updates the ONNXRuntime dependencies in multiple files from 1.14.0 to 1.16.0, including their references in build.gradle and README.md files.
1 parent ec63aca commit a3d633e

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ This table shows the mapping between KotlinDL, TensorFlow, ONNX Runtime, Compile
222222
| 0.4.0 | 8 | 1.11.0 | 1.15 | |
223223
| 0.5.0-0.5.1 | 11 | 1.12.1 | 1.15 | 31 |
224224
| 0.5.2 | 11 | 1.14.0 | 1.15 | 31 |
225-
| 0.6.* | 11 | 1.14.0 | 1.15 | 31 |
225+
| 0.6.* | 11 | 1.16.0 | 1.15 | 31 |
226226

227227
## Documentation
228228

@@ -274,11 +274,11 @@ On Windows, the following distributions are required:
274274
For inference of ONNX models on a CUDA device, you will also need to add the following dependencies to your project:
275275
```groovy
276276
// build.gradle
277-
api 'com.microsoft.onnxruntime:onnxruntime_gpu:1.14.0'
277+
api 'com.microsoft.onnxruntime:onnxruntime_gpu:1.16.0'
278278
```
279279
```kotlin
280280
// build.gradle.kts
281-
api("com.microsoft.onnxruntime:onnxruntime_gpu:1.14.0")
281+
api("com.microsoft.onnxruntime:onnxruntime_gpu:1.16.0")
282282
```
283283

284284
To find more info about ONNXRuntime and CUDA version compatibility, please refer to the [ONNXRuntime CUDA Execution Provider page](https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html).

api/src/main/kotlin/org/jetbrains/kotlinx/dl/api/summary/ModelSummary.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ package org.jetbrains.kotlinx.dl.api.summary
1111
public interface ModelSummary {
1212
/**
1313
* Formats model summary to an array of strings.
14-
* Rows should form a table with clean and readable structure.
14+
* Rows should form a table with a clean and readable structure.
1515
*
1616
* @param [columnSeparator] text chunk that will be used as column separator for the output table
1717
* @param [lineSeparatorSymbol] character that will be used to produce a string to separate rows of the output table

examples/src/main/kotlin/examples/onnx/cv/predictionRunner.kt

-1
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,4 @@ fun runImageRecognitionPrediction(
5050
} else {
5151
model.use { inference(it) }
5252
}
53-
5453
}

onnx/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ kotlin {
2626
dependencies {
2727
api "org.jetbrains.kotlinx:multik-core:0.2.0"
2828
api "org.jetbrains.kotlinx:multik-default:0.2.0"
29-
api 'com.microsoft.onnxruntime:onnxruntime:1.14.0'
29+
api 'com.microsoft.onnxruntime:onnxruntime:1.16.0'
3030
api 'io.github.microutils:kotlin-logging:2.1.21' // for logging
3131
}
3232
}
@@ -42,7 +42,7 @@ kotlin {
4242
}
4343
androidMain {
4444
dependencies {
45-
api 'com.microsoft.onnxruntime:onnxruntime-android:1.14.0'
45+
api 'com.microsoft.onnxruntime:onnxruntime-android:1.16.0'
4646
api 'androidx.camera:camera-core:1.0.0-rc03'
4747
}
4848
}

0 commit comments

Comments
 (0)