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
53cc91e5
Unverified
Commit
53cc91e5
authored
Jan 19, 2025
by
Byron Hsu
Committed by
GitHub
Jan 19, 2025
Browse files
[devcontainer] Fix mount and GPU & Support rust dev (#2978)
parent
d33cbb7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
.devcontainer/devcontainer.json
.devcontainer/devcontainer.json
+5
-2
docker/Dockerfile.dev
docker/Dockerfile.dev
+8
-0
No files found.
.devcontainer/devcontainer.json
View file @
53cc91e5
...
...
@@ -15,6 +15,9 @@
]
}
},
"workspaceFolder"
:
"/sgl-workspace/sglang"
,
"forwardPorts"
:
[]
"forwardPorts"
:
[],
"runArgs"
:
[
"--gpus"
,
"all"
]
}
docker/Dockerfile.dev
View file @
53cc91e5
...
...
@@ -18,6 +18,8 @@ RUN apt-get update && apt-get install -y \
silversearcher-ag \
cloc \
unzip \
pkg-config \
libssl-dev \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean
...
...
@@ -63,6 +65,12 @@ RUN wget https://github.com/Kitware/CMake/releases/download/v3.31.1/cmake-3.31.1
&& cp -r cmake-3.31.1-linux-x86_64/share/* /usr/local/share/ \
&& rm -rf cmake-3.31.1-linux-x86_64 cmake-3.31.1-linux-x86_64.tar.gz
# Install uv
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
# Install rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# Add yank script
COPY --chown=root:root <<-"EOF" /usr/local/bin/yank
#!/bin/bash
...
...
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