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
zhaoyu6
sglang
Commits
c7872985
"examples/community/one_step_unet.py" did not exist on "e48ca0f0a2237a322d26c656c10712fbd8750bfc"
Unverified
Commit
c7872985
authored
Mar 18, 2025
by
Yineng Zhang
Committed by
GitHub
Mar 18, 2025
Browse files
use sgl custom all reduce (#4441)
parent
45212ce1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
.github/workflows/pr-test.yml
.github/workflows/pr-test.yml
+2
-2
python/sglang/srt/_custom_ops.py
python/sglang/srt/_custom_ops.py
+1
-1
test/srt/test_bench_one_batch.py
test/srt/test_bench_one_batch.py
+1
-1
No files found.
.github/workflows/pr-test.yml
View file @
c7872985
...
...
@@ -221,9 +221,9 @@ jobs:
timeout-minutes
:
10
run
:
|
cd test/srt
python3 -m unittest test_bench_one_batch.TestBenchOneBatch.test_moe_tp2_bs1
USE_VLLM_CUSTOM_ALLREDUCE=1
python3 -m unittest test_bench_one_batch.TestBenchOneBatch.test_moe_tp2_bs1
USE_VLLM_CUSTOM_ALLREDUCE=0
python3 -m unittest test_bench_one_batch.TestBenchOneBatch.test_moe_tp2_bs1
python3 -m unittest test_bench_one_batch.TestBenchOneBatch.test_moe_tp2_bs1
-
name
:
Benchmark single latency + torch.compile (TP=2)
timeout-minutes
:
10
...
...
python/sglang/srt/_custom_ops.py
View file @
c7872985
...
...
@@ -10,7 +10,7 @@ from sglang.srt.utils import get_bool_env_var, is_hip, is_hpu
logger
=
logging
.
getLogger
(
__name__
)
use_vllm_custom_allreduce
=
get_bool_env_var
(
"USE_VLLM_CUSTOM_ALLREDUCE"
,
default
=
"
tru
e"
"USE_VLLM_CUSTOM_ALLREDUCE"
,
default
=
"
fals
e"
)
if
not
is_hpu
():
...
...
test/srt/test_bench_one_batch.py
View file @
c7872985
...
...
@@ -29,7 +29,7 @@ class TestBenchOneBatch(unittest.TestCase):
)
use_vllm_custom_allreduce
=
get_bool_env_var
(
"USE_VLLM_CUSTOM_ALLREDUCE"
,
default
=
"
tru
e"
"USE_VLLM_CUSTOM_ALLREDUCE"
,
default
=
"
fals
e"
)
if
is_in_ci
():
...
...
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