We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d751b0 commit 9b6bf20Copy full SHA for 9b6bf20
tools/gen_ort_dockerfile.py
@@ -346,7 +346,8 @@ def dockerfile_for_linux(output_file):
346
347
df += """
348
WORKDIR /workspace/onnxruntime
349
-ARG COMMON_BUILD_ARGS="--config ${{ONNXRUNTIME_BUILD_CONFIG}} --skip_submodule_sync --parallel --build_shared_lib \
+ARG COMMON_BUILD_ARGS="--config ${{ONNXRUNTIME_BUILD_CONFIG}} --skip_submodule_sync \
350
+ --parallel $(( $(nproc --all ) + 2 )) --build_shared_lib \
351
--compile_no_warning_as_error --build_dir /workspace/build --cmake_extra_defines CMAKE_CUDA_ARCHITECTURES='{}' --cmake_extra_defines CMAKE_POLICY_VERSION_MINIMUM=3.5 --build_wheel"
352
""".format(
353
cuda_archs
0 commit comments