Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
8f005a61
Unverified
Commit
8f005a61
authored
Aug 04, 2025
by
ishandhanani
Committed by
GitHub
Aug 04, 2025
Browse files
ci: fix sglang paths for nightly (#2275)
parent
26dc6281
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
.github/workflows/trigger_ci.yml
.github/workflows/trigger_ci.yml
+1
-0
components/backends/sglang/docs/multinode-examples.md
components/backends/sglang/docs/multinode-examples.md
+2
-2
tests/serve/test_sglang.py
tests/serve/test_sglang.py
+4
-1
No files found.
.github/workflows/trigger_ci.yml
View file @
8f005a61
...
@@ -65,6 +65,7 @@ jobs:
...
@@ -65,6 +65,7 @@ jobs:
- 'container/Dockerfile.sglang-deepep'
- 'container/Dockerfile.sglang-deepep'
- 'components/backends/sglang/**'
- 'components/backends/sglang/**'
- 'container/build.sh'
- 'container/build.sh'
- 'tests/serve/test_sglang.py'
-
name
:
Check if Validation Workflow has run
-
name
:
Check if Validation Workflow has run
id
:
check_workflow
id
:
check_workflow
uses
:
actions/github-script@v6
uses
:
actions/github-script@v6
...
...
components/backends/sglang/docs/multinode-examples.md
View file @
8f005a61
...
@@ -19,7 +19,7 @@ SGLang allows you to deploy multi-node sized models by adding in the `dist-init-
...
@@ -19,7 +19,7 @@ SGLang allows you to deploy multi-node sized models by adding in the `dist-init-
Node 1: Run HTTP ingress, processor, and 8 shards of the prefill worker
Node 1: Run HTTP ingress, processor, and 8 shards of the prefill worker
```
bash
```
bash
# run ingress
# run ingress
dynamo run
in
=
http
out
=
dyn
&
python3
-m
dynamo.frontend
--http-port
=
8000
&
# run prefill worker
# run prefill worker
python3
-m
dynamo.sglang.worker
\
python3
-m
dynamo.sglang.worker
\
--model-path
/model/
\
--model-path
/model/
\
...
@@ -102,7 +102,7 @@ SGLang typically requires a warmup period to ensure the DeepGEMM kernels are loa
...
@@ -102,7 +102,7 @@ SGLang typically requires a warmup period to ensure the DeepGEMM kernels are loa
curl
${
HEAD_PREFILL_NODE_IP
}
:8000/v1/chat/completions
\
curl
${
HEAD_PREFILL_NODE_IP
}
:8000/v1/chat/completions
\
-H
"Content-Type: application/json"
\
-H
"Content-Type: application/json"
\
-d
'{
-d
'{
"model": "deepseek-ai/DeepSeek-R1
-Distill-Llama-8B
",
"model": "deepseek-ai/DeepSeek-R1",
"messages": [
"messages": [
{
{
"role": "user",
"role": "user",
...
...
tests/serve/test_sglang.py
View file @
8f005a61
...
@@ -28,7 +28,7 @@ class SGLangProcess(ManagedProcess):
...
@@ -28,7 +28,7 @@ class SGLangProcess(ManagedProcess):
def
__init__
(
self
,
script_name
,
request
):
def
__init__
(
self
,
script_name
,
request
):
self
.
port
=
8000
self
.
port
=
8000
sglang_dir
=
"/workspace/
example
s/sglang"
sglang_dir
=
"/workspace/
components/backend
s/sglang"
script_path
=
os
.
path
.
join
(
sglang_dir
,
"launch"
,
script_name
)
script_path
=
os
.
path
.
join
(
sglang_dir
,
"launch"
,
script_name
)
# Verify script exists
# Verify script exists
...
@@ -166,6 +166,9 @@ def test_sglang_disagg_dp_attention(request, runtime_services):
...
@@ -166,6 +166,9 @@ def test_sglang_disagg_dp_attention(request, runtime_services):
timeout
=
120
,
timeout
=
120
,
)
)
# TODO: Once this is enabled, we can test out the rest of the HTTP endpoints around
# flush_cache and expert distribution recording
assert
response
.
status_code
==
200
assert
response
.
status_code
==
200
result
=
response
.
json
()
result
=
response
.
json
()
assert
"choices"
in
result
assert
"choices"
in
result
...
...
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