[diffusion] CI: tinyfix diffusion ci (#13769)

Co-authored-by: Mick <mickjagger19@icloud.com>
This commit is contained in:
Yuhao Yang
2025-11-23 01:03:36 +08:00
committed by GitHub
co-authored by Mick
parent 863124684c
commit dd303614e0
2 changed files with 22 additions and 24 deletions
@@ -5,9 +5,9 @@
"description": "Reference numbers captured from the CI diffusion server baseline run" "description": "Reference numbers captured from the CI diffusion server baseline run"
}, },
"tolerances": { "tolerances": {
"e2e": 0.05, "e2e": 0.1,
"denoise_stage": 0.05, "denoise_stage": 0.05,
"non_denoise_stage": 0.3, "non_denoise_stage": 0.4,
"denoise_step": 0.2, "denoise_step": 0.2,
"denoise_agg": 0.08 "denoise_agg": 0.08
}, },
@@ -41,7 +41,7 @@
"TimestepPreparationStage": 10.6, "TimestepPreparationStage": 10.6,
"LatentPreparationStage": 11.8, "LatentPreparationStage": 11.8,
"DenoisingStage": 21202.6, "DenoisingStage": 21202.6,
"DecodingStage": 512.6 "DecodingStage": 751.1
}, },
"denoise_step_ms": { "denoise_step_ms": {
"0": 1077.77, "0": 1077.77,
@@ -297,7 +297,6 @@
"expected_avg_denoise_ms": 1820.02, "expected_avg_denoise_ms": 1820.02,
"expected_median_denoise_ms": 1798.65 "expected_median_denoise_ms": 1798.65
}, },
"wan2_2_ti2v_5b": { "wan2_2_ti2v_5b": {
"stages_ms": { "stages_ms": {
"InputValidationStage": 96.27, "InputValidationStage": 96.27,
@@ -387,26 +386,25 @@
}, },
"fast_hunyuan_video": { "fast_hunyuan_video": {
"stages_ms": { "stages_ms": {
"InputValidationStage": 0.07, "InputValidationStage": 0.09,
"TextEncodingStage": 598.66, "TextEncodingStage": 845.64,
"ConditioningStage": 0.01, "ConditioningStage": 0.04,
"TimestepPreparationStage": 57.26, "TimestepPreparationStage": 125.22,
"LatentPreparationStage": 15.38, "LatentPreparationStage": 29.34,
"DenoisingStage": 3367.01, "DenoisingStage": 3860.64,
"DecodingStage": 2457.57, "DecodingStage": 2580.55
"per_frame_generation": null
}, },
"denoise_step_ms": { "denoise_step_ms": {
"0": 1577.86, "0": 2063.08,
"1": 161.04, "1": 164.02,
"2": 406.81, "2": 406.99,
"3": 408.67, "3": 407.95,
"4": 403.55, "4": 407.51,
"5": 405.31 "5": 404.2
}, },
"expected_e2e_ms": 6521.03, "expected_e2e_ms": 7487.87,
"expected_avg_denoise_ms": 560.54, "expected_avg_denoise_ms": 642.29,
"expected_median_denoise_ms": 406.06 "expected_median_denoise_ms": 407.25
}, },
"wan2_2_i2v_a14b_2gpu": { "wan2_2_i2v_a14b_2gpu": {
"stages_ms": { "stages_ms": {
@@ -15,7 +15,7 @@ from sglang.multimodal_gen.test.server.test_server_perf_common import ( # noqa:
diffusion_server, diffusion_server,
) )
from sglang.multimodal_gen.test.server.testcase_configs import ( from sglang.multimodal_gen.test.server.testcase_configs import (
ONE_GPU_CASES_A, ONE_GPU_CASES_B,
DiffusionTestCase, DiffusionTestCase,
) )
@@ -25,7 +25,7 @@ logger = init_logger(__name__)
class TestDiffusionPerformanceOneGpu(DiffusionPerformanceBase): class TestDiffusionPerformanceOneGpu(DiffusionPerformanceBase):
"""Performance tests for 1-GPU diffusion cases.""" """Performance tests for 1-GPU diffusion cases."""
@pytest.fixture(params=ONE_GPU_CASES_A, ids=lambda c: c.id) @pytest.fixture(params=ONE_GPU_CASES_B, ids=lambda c: c.id)
def case(self, request) -> DiffusionTestCase: def case(self, request) -> DiffusionTestCase:
"""Provide a DiffusionTestCase for each 1-GPU test.""" """Provide a DiffusionTestCase for each 1-GPU test."""
return request.param return request.param