Skip to content

Commit

Permalink
Rollback parallel build for Linux, in my exersize in increase compila…
Browse files Browse the repository at this point in the history
…tion time.
  • Loading branch information
mc-nv committed Aug 15, 2024
1 parent ff6a072 commit dd91bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gen_ort_dockerfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def dockerfile_for_linux(output_file):

df += """
WORKDIR /workspace/onnxruntime
ARG COMMON_BUILD_ARGS="--config ${{ONNXRUNTIME_BUILD_CONFIG}} --skip_submodule_sync --parallel 4 --nvcc_threads 1 --build_shared_lib \
ARG COMMON_BUILD_ARGS="--config ${{ONNXRUNTIME_BUILD_CONFIG}} --skip_submodule_sync --build_shared_lib \
--build_dir /workspace/build --cmake_extra_defines CMAKE_CUDA_ARCHITECTURES='{}' "
""".format(
cuda_archs
Expand Down

0 comments on commit dd91bc6

Please sign in to comment.