File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ def dockerfile_for_linux(output_file):
278
278
)
279
279
cuda_archs = "53;62;72;87"
280
280
else :
281
- cuda_archs = "75;80;86;90"
281
+ cuda_archs = "60;61;70; 75;80;86;90"
282
282
283
283
df += """
284
284
WORKDIR /workspace/onnxruntime
@@ -441,9 +441,7 @@ def dockerfile_for_windows(output_file):
441
441
ARG ONNXRUNTIME_VERSION
442
442
ARG ONNXRUNTIME_REPO
443
443
RUN git clone -b rel-%ONNXRUNTIME_VERSION% --recursive %ONNXRUNTIME_REPO% onnxruntime && \
444
- cd onnxruntime && git submodule update --init --recursive && \
445
- git config --global user.email "[email protected] " && git config --global user.name "Your Name" && \
446
- git cherry-pick 709368ea1443dc1ff68dece31d692ad065fb94d4
444
+ (cd onnxruntime && git submodule update --init --recursive)
447
445
"""
448
446
449
447
if FLAGS .onnx_tensorrt_tag != "" :
@@ -473,7 +471,7 @@ def dockerfile_for_windows(output_file):
473
471
WORKDIR /workspace/onnxruntime
474
472
ARG VS_DEVCMD_BAT="\BuildTools\VC\Auxiliary\Build\v cvars64.bat"
475
473
RUN powershell Set-Content 'build.bat' -value 'call %VS_DEVCMD_BAT%',(Get-Content 'build.bat')
476
- RUN build.bat --cmake_generator "Visual Studio 17 2022" --config Release --cmake_extra_defines "CMAKE_CUDA_ARCHITECTURES=75;80;86;90" --skip_submodule_sync --parallel --build_shared_lib --compile_no_warning_as_error --skip_tests --update --build --build_dir /workspace/build {}
474
+ RUN build.bat --cmake_generator "Visual Studio 17 2022" --config Release --cmake_extra_defines "CMAKE_CUDA_ARCHITECTURES=60;61;70; 75;80;86;90" --skip_submodule_sync --parallel --build_shared_lib --compile_no_warning_as_error --skip_tests --update --build --build_dir /workspace/build {}
477
475
""" .format (
478
476
ep_flags
479
477
)
You can’t perform that action at this time.
0 commit comments