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
change
sglang
Commits
8a7a7770
Unverified
Commit
8a7a7770
authored
Jul 16, 2025
by
Simo Lin
Committed by
GitHub
Jul 16, 2025
Browse files
[ci] limit cmake build nproc (#8100)
parent
795668dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
.github/workflows/release-docker-dev.yml
.github/workflows/release-docker-dev.yml
+1
-1
docker/Dockerfile
docker/Dockerfile
+2
-1
No files found.
.github/workflows/release-docker-dev.yml
View file @
8a7a7770
...
...
@@ -41,5 +41,5 @@ jobs:
-
name
:
Build and Push Dev Image
run
:
|
docker buildx build --output type=image,compression=zstd . -f docker/Dockerfile --build-arg CUDA_VERSION=${{ matrix.variant.version }} --build-arg BUILD_TYPE=${{ matrix.variant.type }} -t lmsysorg/sglang:${{ matrix.variant.tag }} --no-cache
docker buildx build --output type=image,compression=zstd . -f docker/Dockerfile --build-arg CUDA_VERSION=${{ matrix.variant.version }} --build-arg BUILD_TYPE=${{ matrix.variant.type }}
--build-arg CMAKE_BUILD_PARALLEL_LEVEL=$(nproc)
-t lmsysorg/sglang:${{ matrix.variant.tag }} --no-cache
docker push lmsysorg/sglang:${{ matrix.variant.tag }}
docker/Dockerfile
View file @
8a7a7770
...
...
@@ -3,6 +3,7 @@ FROM nvidia/cuda:${CUDA_VERSION}-cudnn-devel-ubuntu22.04
ARG
BUILD_TYPE=all
ARG
DEEPEP_COMMIT=b6ce310bb0b75079682d09bc2ebc063a074fbd58
ARG
CMAKE_BUILD_PARALLEL_LEVEL=2
ENV
DEBIAN_FRONTEND=noninteractive \
CUDA_HOME=/usr/local/cuda \
GDRCOPY_HOME=/usr/src/gdrdrv-2.4.4/ \
...
...
@@ -78,7 +79,7 @@ RUN wget https://developer.download.nvidia.com/compute/redist/nvshmem/3.3.9/sour
NVSHMEM_TIMEOUT_DEVICE_POLLING
=
0
\
NVSHMEM_USE_GDRCOPY
=
1
\
cmake
-S
.
-B
build/
-DCMAKE_INSTALL_PREFIX
=
${
NVSHMEM_DIR
}
-DCMAKE_CUDA_ARCHITECTURES
=
90
\
&&
cmake
--build
build
--target
install
-j
\
&&
cmake
--build
build
--target
install
-j
${
CMAKE_BUILD_PARALLEL_LEVEL
}
\
&&
cd
/sgl-workspace/DeepEP
\
&&
NVSHMEM_DIR
=
${
NVSHMEM_DIR
}
pip
install
.
...
...
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