Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
405222ce
Commit
405222ce
authored
Mar 26, 2025
by
Hongkuan Zhou
Committed by
GitHub
Mar 26, 2025
Browse files
fix: limit rust build parallel jobs (#366)
parent
c396fa3e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
container/Dockerfile.tensorrt_llm
container/Dockerfile.tensorrt_llm
+4
-0
container/Dockerfile.vllm
container/Dockerfile.vllm
+4
-0
No files found.
container/Dockerfile.tensorrt_llm
View file @
405222ce
...
...
@@ -90,6 +90,10 @@ COPY Cargo.lock /workspace/
COPY rust-toolchain.toml /workspace/
ARG CARGO_BUILD_JOBS
# Set CARGO_BUILD_JOBS to 16 if not provided
# This is to prevent cargo from building $(nproc) jobs in parallel,
# which might exceed the number of opened files limit.
ENV CARGO_BUILD_JOBS=${CARGO_BUILD_JOBS:-16}
ENV CARGO_TARGET_DIR=/workspace/target
...
...
container/Dockerfile.vllm
View file @
405222ce
...
...
@@ -262,6 +262,10 @@ COPY components /workspace/components
COPY launch /workspace/launch
ARG CARGO_BUILD_JOBS
# Set CARGO_BUILD_JOBS to 16 if not provided
# This is to prevent cargo from building $(nproc) jobs in parallel,
# which might exceed the number of opened files limit.
ENV CARGO_BUILD_JOBS=${CARGO_BUILD_JOBS:-16}
ENV CARGO_TARGET_DIR=/workspace/target
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment