Skip to content

Commit 2d9dcc4

Browse files
authored
Add python 3.9 support (#5874)
1. Add python 3.9 support(except Linux ARM) 2. Add Windows GPU python 3.8 to our packaging pipeline.
1 parent 1852ade commit 2d9dcc4

33 files changed

+223
-82
lines changed

cgmanifests/cgmanifest.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@
343343
"component": {
344344
"type": "git",
345345
"git": {
346-
"commitHash": "f97fd8664fa824e5d081d776cf4a811dbf09bca4",
346+
"commitHash": "bc8ce45b35ade9b8f08d88d4d9fdfd12b4f6f310",
347347
"repositoryUrl": "https://github.com/pypa/manylinux"
348348
},
349349
"comments": "For building our CI build docker image"
@@ -363,20 +363,20 @@
363363
"component": {
364364
"type": "git",
365365
"git": {
366-
"commitHash": "439c93d51f45c50541fc755b597725168ecd939a",
366+
"commitHash": "9cf6752276e6fcfd0c23fdb064ad27f448aaaf75",
367367
"repositoryUrl": "https://github.com/python/cpython"
368368
},
369-
"comments": "Python 3.9.0rc1"
369+
"comments": "Python 3.9.0"
370370
}
371371
},
372372
{
373373
"component": {
374374
"type": "git",
375375
"git": {
376-
"commitHash": "580fbb018fd0844806119614d752b41fc69660f9",
376+
"commitHash": "db455296be5f792b8c12b7cd7f3962b52e4f44ee",
377377
"repositoryUrl": "https://github.com/python/cpython"
378378
},
379-
"comments": "Python 3.8.5"
379+
"comments": "Python 3.8.6"
380380
}
381381
},
382382
{
@@ -403,10 +403,10 @@
403403
"component": {
404404
"type": "git",
405405
"git": {
406-
"commitHash": "e5f6aba872e66bfd86eb592214696a519cded197",
406+
"commitHash": "426b022776672fdf3d71ddd98d89af341c88080f",
407407
"repositoryUrl": "https://github.com/python/cpython"
408408
},
409-
"comments": "Python 3.5.9"
409+
"comments": "Python 3.5.10"
410410
}
411411
},
412412
{

cgmanifests/submodules/cgmanifest.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,50 @@
11
{
22
"Version": 1,
33
"Registrations": [
4+
{
5+
"Component": {
6+
"Type": "other",
7+
"other": {
8+
"Name": "automake",
9+
"Version": "1.16.2",
10+
"DownloadUrl": "http://ftp.gnu.org/gnu/automake/automake-1.16.2.tar.gz"
11+
},
12+
"comments": "manylinux dependency"
13+
}
14+
},
15+
{
16+
"Component": {
17+
"Type": "other",
18+
"other": {
19+
"Name": "libtool",
20+
"Version": "2.4.6",
21+
"DownloadUrl": "http://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.gz"
22+
},
23+
"comments": "manylinux dependency"
24+
}
25+
},
26+
{
27+
"Component": {
28+
"Type": "other",
29+
"other": {
30+
"Name": "sqlite",
31+
"Version": "3330000",
32+
"DownloadUrl": "https://www.sqlite.org/2020/sqlite-autoconf-3330000.tar.gz"
33+
},
34+
"comments": "manylinux dependency"
35+
}
36+
},
37+
{
38+
"Component": {
39+
"Type": "other",
40+
"other": {
41+
"Name": "git",
42+
"Version": "2.29.1",
43+
"DownloadUrl": "https://www.kernel.org/pub/software/scm/git/git-2.29.1.tar.gz"
44+
},
45+
"comments": "manylinux dependency"
46+
}
47+
},
448
{
549
"component": {
650
"type": "git",

cgmanifests/submodules/generate_submodule_cgmanifest.py

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,54 @@
44
import os
55
import subprocess
66
import sys
7+
import re
78

89
SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
910
REPO_DIR = os.path.normpath(os.path.join(SCRIPT_DIR, "..", ".."))
1011

12+
package_name = None
13+
package_filename = None
14+
package_url = None
15+
16+
registrations = []
17+
18+
with open(os.path.join(REPO_DIR,'tools','ci_build','github','linux','docker','manylinux2014_build_scripts','build_env.sh'), "r") as f:
19+
for line in f:
20+
if not line.strip():
21+
package_name = None
22+
package_filename = None
23+
package_url = None
24+
if package_filename is None:
25+
m = re.match("(.+?)_ROOT=(.*)$",line)
26+
if m != None:
27+
package_name = m.group(1)
28+
package_filename = m.group(2)
29+
else:
30+
m = re.match("(.+?)_AUTOCONF_VERSION=(.*)$",line)
31+
if m != None:
32+
package_name = m.group(1)
33+
package_filename = m.group(2)
34+
elif package_url is None:
35+
m = re.match("(.+?)_DOWNLOAD_URL=(.+)$",line)
36+
if m != None:
37+
package_url = m.group(2) + "/" + package_filename + ".tar.gz"
38+
registration = {
39+
"Component": {
40+
"Type": "other",
41+
"other": {
42+
"Name": package_name.lower(),
43+
"Version": package_filename.split("-")[-1],
44+
"DownloadUrl": package_url,
45+
},
46+
"comments": "manylinux dependency"
47+
}
48+
}
49+
registrations.append(registration)
50+
package_name = None
51+
package_filename = None
52+
package_url = None
53+
54+
1155
proc = subprocess.run(
1256
["git", "submodule", "foreach", "--quiet", "--recursive", "{} {} $toplevel/$sm_path".format(
1357
sys.executable, os.path.join(SCRIPT_DIR, "print_submodule_info.py"))],
@@ -17,7 +61,7 @@
1761
stderr=subprocess.PIPE,
1862
universal_newlines=True)
1963

20-
registrations = []
64+
2165
submodule_lines = proc.stdout.splitlines()
2266
for submodule_line in submodule_lines:
2367
(absolute_path, url, commit) = submodule_line.split(" ")

cmake/external/pybind11.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if(NOT TARGET pybind11::module)
88

99
set(pybind11_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}/pybind11/src/pybind11/include)
1010
set(pybind11_URL https://github.com/pybind/pybind11.git)
11-
set(pybind11_TAG v2.4.0)
11+
set(pybind11_TAG v2.6.1)
1212

1313
ExternalProject_Add(pybind11
1414
PREFIX pybind11
@@ -21,4 +21,4 @@ if(NOT TARGET pybind11::module)
2121
set(pybind11_dep pybind11)
2222
else()
2323
set(pybind11_lib pybind11::module)
24-
endif()
24+
endif()

csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest-docker-gpu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ docker run --gpus all --rm \
2727
-e "PackageName=$PackageName" \
2828
-e "RunTestCsharp=$RunTestCsharp" \
2929
-e "RunTestNative=$RunTestNative" \
30-
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentosgpubuild:ch4 \
30+
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimegpubuild:ch4 \
3131
/bin/bash /onnxruntime_src/csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh \
3232
/home/onnxruntimedev/$NUGET_REPO_DIRNAME /onnxruntime_src /home/onnxruntimedev $CurrentOnnxRuntimeVersion

csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ docker run --rm \
3535
-e "DisableMlOps=$DISABLEMLOPS" \
3636
-e "RunTestCsharp=$RunTestCsharp" \
3737
-e "RunTestNative=$RunTestNative" \
38-
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:ch3 \
38+
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:chr \
3939
/bin/bash /onnxruntime_src/csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh \
4040
/home/onnxruntimedev/$NUGET_REPO_DIRNAME /onnxruntime_src /home/onnxruntimedev $CurrentOnnxRuntimeVersion

onnxruntime/python/_pybind_state.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
CUDNN_VERSION = "8"
1717
cuda_env_variable = "CUDA_PATH_V" + CUDA_VERSION.replace(".", "_")
1818
if cuda_env_variable not in os.environ:
19-
raise ImportError(f"CUDA Toolkit {CUDA_VERSION} not installed on the machine.")
19+
raise ImportError("CUDA Toolkit %s not installed on the machine." % CUDA_VERSION)
2020
cuda_bin_dir = os.path.join(os.environ[cuda_env_variable], "bin")
21-
if not os.path.isfile(os.path.join(cuda_bin_dir, f"cudnn64_{CUDNN_VERSION}.dll")):
22-
raise ImportError(f"cuDNN {CUDNN_VERSION} not installed on the machine.")
21+
if not os.path.isfile(os.path.join(cuda_bin_dir, "cudnn64_%s.dll" % CUDNN_VERSION)):
22+
raise ImportError("cuDNN %s not installed on the machine." % CUDNN_VERSION)
2323
os.add_dll_directory(cuda_bin_dir)
2424

2525
try:

tools/ci_build/github/azure-pipelines/c-api-packaging-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
script: |
1919
mkdir -p $HOME/.onnx
2020
docker run --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build --volume /data/models:/build/models:ro \
21-
--volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:ch3 python3 \
21+
--volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:chr python3 \
2222
/onnxruntime_src/tools/ci_build/build.py --build_dir /build --config Release \
2323
--skip_submodule_sync --parallel --build_shared_lib --use_openmp
2424
workingDirectory: $(Build.SourcesDirectory)
@@ -58,7 +58,7 @@ jobs:
5858
script: |
5959
mkdir -p $HOME/.onnx
6060
docker run --gpus all -e NVIDIA_VISIBLE_DEVICES=all --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build \
61-
--volume /data/models:/build/models:ro --volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentosgpubuild:ch4 \
61+
--volume /data/models:/build/models:ro --volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimegpubuild:chq \
6262
python3 /onnxruntime_src/tools/ci_build/build.py --build_dir /build --config Release \
6363
--skip_submodule_sync --parallel --build_shared_lib --use_cuda --cuda_version=10.2 --cuda_home=/usr/local/cuda-10.2 --cudnn_home=/usr/local/cuda-10.2
6464
workingDirectory: $(Build.SourcesDirectory)

tools/ci_build/github/azure-pipelines/java-api-packaging-pipelines-gpu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
inputs:
2525
script: |
2626
mkdir -p $HOME/.onnx
27-
docker run --gpus all -e NVIDIA_VISIBLE_DEVICES=all --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build --volume /data/models:/build/models:ro --volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentosgpubuild:ch4 python3 /onnxruntime_src/tools/ci_build/build.py --build_dir /build --config Release --skip_submodule_sync --parallel --build_java --build_shared_lib --use_cuda --cuda_version=10.2 --cuda_home=/usr/local/cuda-10.2 --cudnn_home=/usr/local/cuda-10.2
27+
docker run --gpus all -e NVIDIA_VISIBLE_DEVICES=all --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build --volume /data/models:/build/models:ro --volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimegpubuild:chq python3 /onnxruntime_src/tools/ci_build/build.py --build_dir /build --config Release --skip_submodule_sync --parallel --build_java --build_shared_lib --use_cuda --cuda_version=10.2 --cuda_home=/usr/local/cuda-10.2 --cudnn_home=/usr/local/cuda-10.2
2828
workingDirectory: $(Build.SourcesDirectory)
2929
- task: Docker@2
3030
displayName: logout
@@ -258,7 +258,7 @@ jobs:
258258
- task: CmdLine@2
259259
inputs:
260260
script: |
261-
docker run --gpus all -e NVIDIA_VISIBLE_DEVICES=all --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build -e NIGHTLY_BUILD onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentosgpubuild:ch4 /onnxruntime_src/tools/ci_build/github/linux/java_linux_final_test.sh -v $(OnnxRuntimeVersion) -r /build
261+
docker run --gpus all -e NVIDIA_VISIBLE_DEVICES=all --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build -e NIGHTLY_BUILD onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimegpubuild:chq /onnxruntime_src/tools/ci_build/github/linux/java_linux_final_test.sh -v $(OnnxRuntimeVersion) -r /build
262262
workingDirectory: $(Build.BinariesDirectory)/final-jar
263263

264264
- task: Docker@2

tools/ci_build/github/azure-pipelines/java-api-packaging-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
inputs:
2727
script: |
2828
mkdir -p $HOME/.onnx
29-
docker run --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build --volume /data/models:/build/models:ro --volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:ch3 /bin/bash -c "python3 /onnxruntime_src/tools/ci_build/build.py --build_dir /build --config Release --skip_submodule_sync --parallel --build_shared_lib --build_java --use_openmp --enable_onnx_tests && cd /build/Release && make install DESTDIR=/build/linux-x64"
29+
docker run --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build --volume /data/models:/build/models:ro --volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:chr /bin/bash -c "python3 /onnxruntime_src/tools/ci_build/build.py --build_dir /build --config Release --skip_submodule_sync --parallel --build_shared_lib --build_java --use_openmp --enable_onnx_tests && cd /build/Release && make install DESTDIR=/build/linux-x64"
3030
workingDirectory: $(Build.SourcesDirectory)
3131
displayName: 'Run build and test'
3232
- task: Docker@2

tools/ci_build/github/azure-pipelines/linux-ci-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
-e ALLOW_RELEASED_ONNX_OPSET_ONLY=0 \
2929
-e NIGHTLY_BUILD \
3030
-e BUILD_BUILDNUMBER \
31-
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:ch3 \
31+
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:chr \
3232
python3 /onnxruntime_src/tools/ci_build/build.py \
3333
--build_dir /build --cmake_generator Ninja \
3434
--config Debug Release \

tools/ci_build/github/azure-pipelines/linux-cpu-minimal-build-ci-pipeline.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
-e ALLOW_RELEASED_ONNX_OPSET_ONLY=1 \
4040
-e NIGHTLY_BUILD \
4141
-e BUILD_BUILDNUMBER \
42-
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:ch3 \
42+
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:chr \
4343
/bin/bash /onnxruntime_src/tools/ci_build/github/linux/ort_minimal/build_full_ort_and_create_ort_files.sh
4444
workingDirectory: $(Build.SourcesDirectory)
4545
- task: CmdLine@2
@@ -54,7 +54,7 @@ jobs:
5454
-e ALLOW_RELEASED_ONNX_OPSET_ONLY=1 \
5555
-e NIGHTLY_BUILD \
5656
-e BUILD_BUILDNUMBER \
57-
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:ch3 \
57+
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:chr \
5858
python3 /onnxruntime_src/tools/ci_build/build.py \
5959
--build_dir /build --cmake_generator Ninja \
6060
--config Debug\
@@ -76,7 +76,7 @@ jobs:
7676
-e ALLOW_RELEASED_ONNX_OPSET_ONLY=1 \
7777
-e NIGHTLY_BUILD \
7878
-e BUILD_BUILDNUMBER \
79-
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:ch3 \
79+
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:chr \
8080
/bin/bash /onnxruntime_src/tools/ci_build/github/linux/ort_minimal/build_minimal_ort_and_run_tests.sh
8181
workingDirectory: $(Build.SourcesDirectory)
8282
- task: CmdLine@2
@@ -97,7 +97,7 @@ jobs:
9797
-e BUILD_ID=$(Build.BuildId) \
9898
-e BUILD_REASON=$(Build.Reason) \
9999
-e DASHBOARD_MYSQL_ORT_PASSWORD=$(dashboard-mysql-ort-password) \
100-
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:ch3 \
100+
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:chr \
101101
/bin/bash /onnxruntime_src/tools/ci_build/github/linux/ort_minimal/build_minimal_ort_android_baseline_and_report_bin_size.sh
102102
workingDirectory: $(Build.SourcesDirectory)
103103
- task: Docker@2

tools/ci_build/github/azure-pipelines/linux-dnnl-ci-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
--volume $HOME/.onnx:/home/onnxruntimedev/.onnx \
2828
-e NIGHTLY_BUILD \
2929
-e BUILD_BUILDNUMBER \
30-
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecpubuild:ch1 \
30+
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecpubuild:chp \
3131
/opt/python/cp37-cp37m/bin/python3 /onnxruntime_src/tools/ci_build/build.py \
3232
--build_dir /build \
3333
--config Debug Release \

tools/ci_build/github/azure-pipelines/linux-gpu-ci-pipeline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
-e ALLOW_RELEASED_ONNX_OPSET_ONLY=0 \
2929
-e NIGHTLY_BUILD \
3030
-e BUILD_BUILDNUMBER \
31-
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentosgpubuild:ch4 \
32-
python3 /onnxruntime_src/tools/ci_build/build.py \
31+
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimegpubuild:chq \
32+
/opt/python/cp37-cp37m/bin/python /onnxruntime_src/tools/ci_build/build.py \
3333
--build_dir /build --cmake_generator Ninja \
3434
--config Release \
3535
--skip_submodule_sync \
@@ -38,7 +38,7 @@ jobs:
3838
--build_wheel \
3939
--enable_onnx_tests --use_cuda --cuda_version=10.2 --cuda_home=/usr/local/cuda-10.2 --cudnn_home=/usr/local/cuda-10.2 \
4040
--enable_pybind --build_java --build_nodejs \
41-
--cmake_extra_defines CMAKE_CUDA_ARCHITECTURES=52
41+
--cmake_extra_defines CMAKE_CUDA_ARCHITECTURES=52 PYTHON_INCLUDE_DIR=/opt/python/cp37-cp37m/include/python3.7m PYTHON_LIBRARY=/usr/lib64/librt.so
4242
workingDirectory: $(Build.SourcesDirectory)
4343
- task: Docker@2
4444
displayName: logout

tools/ci_build/github/azure-pipelines/linux-gpu-cuda-11-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
-e ALLOW_RELEASED_ONNX_OPSET_ONLY=0 \
2929
-e NIGHTLY_BUILD \
3030
-e BUILD_BUILDNUMBER \
31-
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecuda11build:ch5 \
31+
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecuda11build:chs \
3232
/opt/python/cp37-cp37m/bin/python3 /onnxruntime_src/tools/ci_build/build.py \
3333
--build_dir /build --cmake_generator Ninja \
3434
--config Debug Release \

tools/ci_build/github/azure-pipelines/linux-multi-gpu-ci-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
--volume $HOME/.onnx:/home/onnxruntimedev/.onnx \
2828
-e NIGHTLY_BUILD \
2929
-e BUILD_BUILDNUMBER \
30-
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentosgpubuild:ch4 \
30+
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimegpubuild:chq \
3131
python3 /onnxruntime_src/tools/ci_build/build.py \
3232
--build_dir /build --cmake_generator Ninja \
3333
--config Debug Release \

tools/ci_build/github/azure-pipelines/linux-nocontribops-ci-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
-e ALLOW_RELEASED_ONNX_OPSET_ONLY=0 \
2929
-e NIGHTLY_BUILD \
3030
-e BUILD_BUILDNUMBER \
31-
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:ch3 \
31+
onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:chr \
3232
python3 /onnxruntime_src/tools/ci_build/build.py \
3333
--build_dir /build --cmake_generator Ninja \
3434
--config Debug Release \

tools/ci_build/github/azure-pipelines/nodejs/templates/cpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
inputs:
4949
script: |
5050
mkdir -p $HOME/.onnx && docker run --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build --volume /data/models:/build/models:ro \
51-
--volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:ch3 /bin/bash -c "python3 \
51+
--volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntimecentoscpubuild:chr /bin/bash -c "python3 \
5252
/onnxruntime_src/tools/ci_build/build.py --build_dir /build --config Release --build_nodejs \
5353
--skip_submodule_sync --parallel --build_shared_lib --use_openmp && cd /onnxruntime_src/nodejs && npm pack"
5454
workingDirectory: $(Build.SourcesDirectory)

0 commit comments

Comments
 (0)