"lib/vscode:/vscode.git/clone" did not exist on "d346782c7c4bcbbb5ad0fdf0deeace42506ce887"
Commit 941032da authored by Anant Sharma's avatar Anant Sharma Committed by GitHub
Browse files

build: remove hardcoded cargo jobs args (#136)

parent b0d3eba1
......@@ -216,26 +216,26 @@ ARG CARGO_BUILD_JOBS
# Build Rust runtime
COPY lib/runtime /workspace/lib/runtime
RUN cd lib/runtime && \
cargo build --jobs 2 --release --locked && cargo doc --no-deps
cargo build --release --locked && cargo doc --no-deps
# Build OpenAI HTTP Service binaries
COPY lib/llm /workspace/lib/llm
COPY components /workspace/components
RUN cd components && \
cargo build --jobs 2 --release && \
cargo build --release && \
cp target/release/http /usr/local/bin/
# Build Dynamo Run binaries
COPY launch /workspace/launch
RUN cd launch && \
cargo build --jobs 2 --release --features mistralrs,sglang,vllm,python && \
cargo build --release --features mistralrs,sglang,vllm,python && \
cp target/release/dynamo-run /usr/local/bin/ && \
cp target/release/llmctl /usr/local/bin/
# Generate C bindings for kv cache routing in vLLM
COPY lib/bindings /workspace/lib/bindings
RUN cd lib/bindings/c && \
cargo build --jobs 2 --release --locked && cargo doc --no-deps
cargo build --release --locked && cargo doc --no-deps
COPY deploy/dynamo/sdk /workspace/deploy/dynamo/sdk
# Build dynamo wheel
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment