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
ceb105a7
Unverified
Commit
ceb105a7
authored
Oct 25, 2025
by
Kangyan-Zhou
Committed by
GitHub
Oct 25, 2025
Browse files
Update setup_github_runner.md
parent
22cbc9c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
docs/developer_guide/setup_github_runner.md
docs/developer_guide/setup_github_runner.md
+5
-3
No files found.
docs/developer_guide/setup_github_runner.md
View file @
ceb105a7
...
@@ -4,12 +4,13 @@
...
@@ -4,12 +4,13 @@
### Step 1: Start a docker container.
### Step 1: Start a docker container.
You can mount a folder for the shared huggingface model weights cache. The command below uses
`/tmp/huggingface`
as an example.
**You can mount a folder for the shared huggingface model weights cache. **
The command below uses
`/tmp/huggingface`
as an example.
```
```
docker pull nvidia/cuda:12.
1
.1-devel-ubuntu22.04
docker pull nvidia/cuda:12.
9
.1-devel-ubuntu22.04
# Nvidia
# Nvidia
docker run --shm-size 128g -it -v /tmp/huggingface:/hf_home --gpus all nvidia/cuda:12.
1
.1-devel-ubuntu22.04 /bin/bash
docker run --shm-size 128g -it -v /tmp/huggingface:/hf_home --gpus all nvidia/cuda:12.
9
.1-devel-ubuntu22.04 /bin/bash
# AMD
# AMD
docker run --rm --device=/dev/kfd --device=/dev/dri --group-add video --shm-size 128g -it -v /tmp/huggingface:/hf_home lmsysorg/sglang:v0.5.0rc1-rocm630 /bin/bash
docker run --rm --device=/dev/kfd --device=/dev/dri --group-add video --shm-size 128g -it -v /tmp/huggingface:/hf_home lmsysorg/sglang:v0.5.0rc1-rocm630 /bin/bash
# AMD just the last 2 GPUs
# AMD just the last 2 GPUs
...
@@ -22,6 +23,7 @@ Run these commands inside the container.
...
@@ -22,6 +23,7 @@ Run these commands inside the container.
```
```
apt update && apt install -y curl python3-pip git
apt update && apt install -y curl python3-pip git
pip install upgrade pip
export RUNNER_ALLOW_RUNASROOT=1
export RUNNER_ALLOW_RUNASROOT=1
```
```
...
...
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