[Feat] support hsdp for Bagel (#3150)

Signed-off-by: siyuan.lei <siyuanlei37@gmail.com>
Signed-off-by: lsyyyyy <siyuanlei37@gmail.com>
Signed-off-by: 汪志鹏 <wangzhipeng628@gmail.com>
Co-authored-by: 汪志鹏 <wangzhipeng628@gmail.com>
This commit is contained in:
lsyyyyyand汪志鹏 authored and GitHub committed 2026-05-08 15:20:42 +08:00
1 parent ea4cf77f56
commit 32663f21d5
7 files changed
+131 -32

No files matched your search

@@ -150,6 +150,19 @@ def _get_diffusion_feature_cases(model: str):
id="single_card_layerwise_offload",
marks=SINGLE_CARD_FEATURE_MARKS,
),
# Hybrid Sharded Data Parallel (4 GPUs)
pytest.param(
OmniServerParams(
model=model,
server_args=[
"--use-hsdp",
"--hsdp-shard-size",
"4",
],
),
id="parallel_hsdp_4",
marks=PARALLEL_FEATURE_MARKS,
),
]
@@ -172,6 +185,7 @@ def test_bagel(
- Ulysses-SP (degree=2)
- Ring-Attention (degree=2)
- Layerwise Offloading
- Hybrid Sharded Data Parallel (size=4)
Validation is delegated to assert_diffusion_response in tests/helpers/assertions.py,
which checks output dimensions and basic correctness.