Skip to content

Commit 9e81ddd

Browse files
author
xsun
committed
Fix all indentation errors in testcase_configs.py
Removed all orphaned/duplicate code blocks that were causing IndentationError. File now has clean syntax with 320 lines total.
1 parent b4ac992 commit 9e81ddd

File tree

1 file changed

+0
-55
lines changed

1 file changed

+0
-55
lines changed

python/sglang/multimodal_gen/test/server/testcase_configs.py

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -315,61 +315,6 @@ def from_req_perf_record(
315315
),
316316
),
317317
]
318-
warmup_edit=0,
319-
modality="video",
320-
custom_validator="video",
321-
num_gpus=2,
322-
),
323-
DiffusionSamplingParams(
324-
output_size="832x1104",
325-
prompt="Add dynamic motion to the scene",
326-
image_path="https://github.com/lm-sys/lm-sys.github.io/releases/download/test/TI2I_Qwen_Image_Edit_Input.jpg",
327-
),
328-
),
329-
DiffusionTestCase(
330-
"wan2_1_i2v_14b_720P_2gpu",
331-
DiffusionServerArgs(
332-
model_path="Wan-AI/Wan2.1-I2V-14B-720P-Diffusers",
333-
modality="video",
334-
warmup_text=0,
335-
warmup_edit=0,
336-
custom_validator="video",
337-
num_gpus=2,
338-
),
339-
DiffusionSamplingParams(
340-
prompt="Add dynamic motion to the scene",
341-
image_path="https://github.com/lm-sys/lm-sys.github.io/releases/download/test/TI2I_Qwen_Image_Edit_Input.jpg",
342-
output_size="832x1104",
343-
),
344-
),
345-
DiffusionTestCase(
346-
"qwen_image_t2i_2_gpus",
347-
DiffusionServerArgs(
348-
model_path="Qwen/Qwen-Image",
349-
modality="image",
350-
warmup_text=1,
351-
warmup_edit=0,
352-
num_gpus=2,
353-
),
354-
DiffusionSamplingParams(
355-
prompt="A futuristic cityscape at sunset with flying cars",
356-
output_size="1024x1024",
357-
),
358-
),
359-
DiffusionTestCase(
360-
"flux_image_t2i_2_gpus",
361-
DiffusionServerArgs(
362-
model_path="black-forest-labs/FLUX.1-dev",
363-
modality="image",
364-
warmup_text=1,
365-
warmup_edit=0,
366-
),
367-
DiffusionSamplingParams(
368-
prompt="A futuristic cityscape at sunset with flying cars",
369-
output_size="1024x1024",
370-
),
371-
),
372-
]
373318

374319
# Load global configuration
375320
BASELINE_CONFIG = BaselineConfig.load(Path(__file__).with_name("perf_baselines.json"))

0 commit comments

Comments
 (0)