Skip to content

Commit 3e39c5f

Browse files
authored
fix: update onnxruntime version (#82)
Signed-off-by: kramaranya <[email protected]>
1 parent 4de5230 commit 3e39c5f

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

1_experiment_train.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@
3030
"scrolled": true
3131
},
3232
"outputs": [],
33-
"source": [
34-
"!pip install onnx==1.17.0 onnxruntime==1.20.1 tf2onnx==1.16.1"
35-
]
33+
"source": "!pip install onnx==1.17.0 onnxruntime==1.19.2 tf2onnx==1.16.1"
3634
},
3735
{
3836
"cell_type": "markdown",

7_get_data_train_upload.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ deploymentSpec:
9090
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
9191
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.8.0'\
9292
\ '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' &&\
93-
\ python3 -m pip install --quiet --no-warn-script-location 'onnx==1.17.0' 'onnxruntime==1.20.1'\
93+
\ python3 -m pip install --quiet --no-warn-script-location 'onnx==1.17.0' 'onnxruntime==1.19.2'\
9494
\ 'tf2onnx==1.16.1' && \"$0\" \"$@\"\n"
9595
- sh
9696
- -ec

pipeline/7_get_data_train_upload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def get_data(train_data_output_path: OutputPath(), validate_data_output_path: Ou
2323

2424
@dsl.component(
2525
base_image="quay.io/modh/runtime-images:runtime-cuda-tensorflow-ubi9-python-3.9-2024a-20240523",
26-
packages_to_install=["onnx==1.17.0", "onnxruntime==1.20.1", "tf2onnx==1.16.1"],
26+
packages_to_install=["onnx==1.17.0", "onnxruntime==1.19.2", "tf2onnx==1.16.1"],
2727
)
2828
def train_model(train_data_input_path: InputPath(), validate_data_input_path: InputPath(), model_output_path: OutputPath()):
2929
import numpy as np

0 commit comments

Comments
 (0)