[Diffusion] Add FLUX.2-dev CPU Offload (Layerwise) (#5256)

Signed-off-by: dpeng123 <diyapeng123@gmail.com>
This commit is contained in:
Diya Peng authored and GitHub committed 2026-07-23 14:53:04 +08:00
1 parent 96235da468
commit b471a5cf23
5 files changed
+40 -2

No files matched your search

@@ -2,7 +2,8 @@
End-to-end diffusion coverage for FLUX.2-dev in online serving mode.
Coverage:
- CPU offload
- CPU offload (model-level)
- Layerwise CPU offload
- Ulysses sequence parallelism
- Ring sequence parallelism
@@ -43,6 +44,16 @@ def _get_flux_2_dev_feature_cases(model: str):
id="cpu_offload",
marks=SINGLE_CARD_FEATURE_MARKS,
),
pytest.param(
OmniServerParams(
model=model,
server_args=[
"--enable-layerwise-offload",
],
),
id="layerwise_offload",
marks=SINGLE_CARD_FEATURE_MARKS,
),
pytest.param(
OmniServerParams(
model=model,