Skip to content

[CI] fix lint error#13891

Merged
Kangyan-Zhou merged 1 commit intosgl-project:mainfrom
cyb70289:fix-lint
Nov 25, 2025
Merged

[CI] fix lint error#13891
Kangyan-Zhou merged 1 commit intosgl-project:mainfrom
cyb70289:fix-lint

Conversation

@cyb70289
Copy link
Contributor

Motivation

Fix lint error:

--- a/python/sglang/multimodal_gen/runtime/loader/weight_utils.py
+++ b/python/sglang/multimodal_gen/runtime/loader/weight_utils.py
@@ -150,7 +150,11 @@ def safetensors_weights_iterator(
     device = "cpu" if to_cpu else str(get_local_torch_device())
 
     # Validate files before loading
-    corrupted_files = [st_file for st_file in hf_weights_files if not _validate_safetensors_file(st_file)]
+    corrupted_files = [
+        st_file
+        for st_file in hf_weights_files
+        if not _validate_safetensors_file(st_file)
+    ]

Modifications

Autofixed by linter.

Checklist

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

diffusion SGLang Diffusion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants