Enjoy the magic of Diffusion models!
This report presents the forensic synthetic code analysis of modelscope/DiffSynth-Studio, a Python project with 12,693 GitHub stars. SynthScan v2.0 examined 125,786 lines of code across 1190 source files, recording 955 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 8.7 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 955 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/zh/Research_Tutorial/train_from_scratch.py | 8 | CODE | |
| LOW | docs/en/Research_Tutorial/train_from_scratch.py | 8 | CODE | |
| LOW | diffsynth/__init__.py | 1 | CODE | |
| LOW | diffsynth/metrics/__init__.py | 1 | CODE | |
| LOW | diffsynth/metrics/__init__.py | 2 | CODE | |
| LOW | diffsynth/metrics/__init__.py | 3 | CODE | |
| LOW | diffsynth/metrics/__init__.py | 4 | CODE | |
| LOW | diffsynth/metrics/__init__.py | 5 | CODE | |
| LOW | diffsynth/metrics/__init__.py | 6 | CODE | |
| LOW | diffsynth/metrics/__init__.py | 7 | CODE | |
| LOW | diffsynth/metrics/__init__.py | 8 | CODE | |
| LOW | diffsynth/metrics/__init__.py | 9 | CODE | |
| LOW | diffsynth/metrics/__init__.py | 10 | CODE | |
| LOW | diffsynth/metrics/__init__.py | 11 | CODE | |
| LOW | diffsynth/metrics/__init__.py | 12 | CODE | |
| LOW | diffsynth/metrics/__init__.py | 13 | CODE | |
| LOW | diffsynth/metrics/__init__.py | 14 | CODE | |
| LOW | diffsynth/metrics/lpips.py | 5 | CODE | |
| LOW | diffsynth/core/__init__.py | 1 | CODE | |
| LOW | diffsynth/core/__init__.py | 2 | CODE | |
| LOW | diffsynth/core/__init__.py | 3 | CODE | |
| LOW | diffsynth/core/__init__.py | 4 | CODE | |
| LOW | diffsynth/core/__init__.py | 5 | CODE | |
| LOW | diffsynth/core/__init__.py | 6 | CODE | |
| LOW | diffsynth/core/__init__.py | 7 | CODE | |
| LOW | diffsynth/core/gradient/__init__.py | 1 | CODE | |
| LOW | diffsynth/core/attention/__init__.py | 1 | CODE | |
| LOW | diffsynth/core/offload_training/__init__.py | 1 | CODE | |
| LOW | diffsynth/core/loader/__init__.py | 1 | CODE | |
| LOW | diffsynth/core/loader/__init__.py | 1 | CODE | |
| LOW | diffsynth/core/loader/__init__.py | 1 | CODE | |
| LOW | diffsynth/core/loader/__init__.py | 2 | CODE | |
| LOW | diffsynth/core/loader/__init__.py | 2 | CODE | |
| LOW | diffsynth/core/loader/__init__.py | 3 | CODE | |
| LOW | diffsynth/core/loader/model.py | 6 | CODE | |
| LOW | diffsynth/core/vram/__init__.py | 1 | CODE | |
| LOW | diffsynth/core/vram/__init__.py | 2 | CODE | |
| LOW | diffsynth/core/device/__init__.py | 1 | CODE | |
| LOW | diffsynth/core/device/__init__.py | 1 | CODE | |
| LOW | diffsynth/core/device/__init__.py | 1 | CODE | |
| LOW | diffsynth/core/device/__init__.py | 1 | CODE | |
| LOW | diffsynth/core/device/__init__.py | 2 | CODE | |
| LOW | diffsynth/core/device/__init__.py | 2 | CODE | |
| LOW | diffsynth/core/device/npu_compatible_device.py | 14 | CODE | |
| LOW | diffsynth/core/data/__init__.py | 1 | CODE | |
| LOW | diffsynth/core/data/unified_dataset.py | 1 | CODE | |
| LOW | diffsynth/pipelines/anima_image.py | 1 | CODE | |
| LOW | diffsynth/pipelines/anima_image.py | 5 | CODE | |
| LOW | diffsynth/pipelines/anima_image.py | 6 | CODE | |
| LOW | diffsynth/pipelines/anima_image.py | 7 | CODE | |
| LOW | diffsynth/pipelines/anima_image.py | 12 | CODE | |
| LOW | diffsynth/pipelines/anima_image.py | 13 | CODE | |
| LOW | diffsynth/pipelines/anima_image.py | 14 | CODE | |
| LOW | diffsynth/pipelines/stable_diffusion_xl.py | 2 | CODE | |
| LOW | diffsynth/pipelines/stable_diffusion_xl.py | 11 | CODE | |
| LOW | diffsynth/pipelines/ltx2_audio_video.py | 1 | CODE | |
| LOW | diffsynth/pipelines/ltx2_audio_video.py | 6 | CODE | |
| LOW | diffsynth/pipelines/flux_image.py | 1 | CODE | |
| LOW | diffsynth/pipelines/hidream_o1_image.py | 3 | CODE | |
| LOW | diffsynth/pipelines/hidream_o1_image.py | 4 | CODE | |
| 279 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/zh/Research_Tutorial/train_from_scratch.py | 155 | CODE | |
| LOW | docs/en/Research_Tutorial/train_from_scratch.py | 155 | CODE | |
| LOW | diffsynth/metrics/hpsv3.py | 15 | CODE | |
| LOW | diffsynth/metrics/unified_reward_edit.py | 20 | CODE | |
| LOW | diffsynth/metrics/qwen_image_bench.py | 17 | CODE | |
| LOW | diffsynth/core/attention/attention.py | 89 | CODE | |
| LOW | diffsynth/core/attention/attention.py | 74 | CODE | |
| LOW | diffsynth/core/attention/attention.py | 133 | CODE | |
| LOW | diffsynth/core/attention/attention.py | 144 | CODE | |
| LOW | diffsynth/core/attention/attention.py | 136 | CODE | |
| LOW | diffsynth/core/attention/attention.py | 153 | CODE | |
| LOW | diffsynth/core/attention/attention.py | 147 | CODE | |
| LOW | diffsynth/core/attention/attention.py | 161 | CODE | |
| LOW | diffsynth/core/attention/attention.py | 169 | CODE | |
| LOW | diffsynth/core/attention/attention.py | 172 | CODE | |
| LOW | diffsynth/core/loader/model.py | 11 | CODE | |
| LOW | diffsynth/core/vram/layers.py | 10 | CODE | |
| LOW | diffsynth/core/vram/layers.py | 38 | CODE | |
| LOW | diffsynth/core/vram/layers.py | 90 | CODE | |
| LOW | diffsynth/core/vram/layers.py | 209 | CODE | |
| LOW | diffsynth/core/vram/layers.py | 272 | CODE | |
| LOW | diffsynth/core/vram/layers.py | 357 | CODE | |
| LOW | diffsynth/core/data/unified_dataset.py | 40 | CODE | |
| LOW | diffsynth/pipelines/anima_image.py | 74 | CODE | |
| LOW | diffsynth/pipelines/stable_diffusion_xl.py | 90 | CODE | |
| LOW | diffsynth/pipelines/ltx2_audio_video.py | 647 | CODE | |
| LOW | diffsynth/pipelines/ltx2_audio_video.py | 169 | CODE | |
| LOW | diffsynth/pipelines/flux_image.py | 1000 | CODE | |
| LOW | diffsynth/pipelines/flux_image.py | 120 | CODE | |
| LOW | diffsynth/pipelines/flux_image.py | 181 | CODE | |
| LOW | diffsynth/pipelines/hidream_o1_image.py | 60 | CODE | |
| LOW | diffsynth/pipelines/krea2.py | 280 | CODE | |
| LOW | diffsynth/pipelines/krea2.py | 248 | CODE | |
| LOW | diffsynth/pipelines/krea2.py | 63 | CODE | |
| LOW | diffsynth/pipelines/wan_video.py | 1276 | CODE | |
| LOW | diffsynth/pipelines/wan_video.py | 1629 | CODE | |
| LOW | diffsynth/pipelines/wan_video.py | 112 | CODE | |
| LOW | diffsynth/pipelines/wan_video.py | 190 | CODE | |
| LOW | diffsynth/pipelines/wan_video.py | 912 | CODE | |
| LOW | diffsynth/pipelines/ace_step.py | 572 | CODE | |
| LOW | diffsynth/pipelines/ace_step.py | 89 | CODE | |
| LOW | diffsynth/pipelines/mova_audio_video.py | 348 | CODE | |
| LOW | diffsynth/pipelines/mova_audio_video.py | 115 | CODE | |
| LOW | diffsynth/pipelines/stable_diffusion.py | 66 | CODE | |
| LOW | diffsynth/pipelines/ideogram4.py | 270 | CODE | |
| LOW | diffsynth/pipelines/ideogram4.py | 68 | CODE | |
| LOW | diffsynth/pipelines/ernie_image.py | 266 | CODE | |
| LOW | diffsynth/pipelines/ernie_image.py | 67 | CODE | |
| LOW | diffsynth/pipelines/qwen_image.py | 702 | CODE | |
| LOW | diffsynth/pipelines/qwen_image.py | 100 | CODE | |
| LOW | diffsynth/pipelines/z_image.py | 452 | CODE | |
| LOW | diffsynth/pipelines/z_image.py | 572 | CODE | |
| LOW | diffsynth/pipelines/z_image.py | 95 | CODE | |
| LOW | diffsynth/pipelines/joyai_image.py | 65 | CODE | |
| LOW | diffsynth/pipelines/flux2_image.py | 605 | CODE | |
| LOW | diffsynth/pipelines/flux2_image.py | 76 | CODE | |
| LOW | diffsynth/pipelines/boogu_image.py | 72 | CODE | |
| LOW | diffsynth/utils/data/__init__.py | 39 | CODE | |
| LOW | diffsynth/models/longcat_video_dit.py | 341 | CODE | |
| LOW | diffsynth/models/longcat_video_dit.py | 630 | CODE | |
| 154 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/zh/Diffusion_Templates/Template_Model_Training.md | 31 | class DataProcessor: | CODE |
| LOW | docs/zh/Diffusion_Templates/Template_Model_Training.md | 122 | class DataProcessor: | CODE |
| LOW | docs/zh/Diffusion_Templates/Template_Model_Training.md | 147 | class DataProcessor: | CODE |
| LOW | docs/en/Diffusion_Templates/Template_Model_Training.md | 31 | class DataProcessor: | CODE |
| LOW | docs/en/Diffusion_Templates/Template_Model_Training.md | 122 | class DataProcessor: | CODE |
| LOW | docs/en/Diffusion_Templates/Template_Model_Training.md | 142 | class DataProcessor: | CODE |
| LOW | diffsynth/core/gradient/gradient_checkpoint.py | 17 | def create_custom_forward_use_reentrant(module): | CODE |
| LOW | diffsynth/core/gradient/gradient_checkpoint.py | 30 | def gradient_checkpoint_forward( | CODE |
| LOW | diffsynth/core/attention/attention.py | 38 | def initialize_attention_priority(): | CODE |
| LOW | diffsynth/core/attention/attention.py | 92 | def torch_sdpa_sliding_window(q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, sliding_window: int, q_pattern="b n s d | CODE |
| LOW | diffsynth/core/offload_training/manager.py | 138 | def _find_orphan_params_and_buffers(self, model: nn.Module, managed_param_ids: set): | CODE |
| LOW | diffsynth/core/npu_patch/npu_fused_operator.py | 16 | def rms_norm_forward_transformers_npu(self, hidden_states): | CODE |
| LOW | diffsynth/core/loader/config.py | 32 | def parse_original_file_pattern(self): | CODE |
| LOW | diffsynth/core/loader/model.py | 72 | def load_model_with_disk_offload(model_class, path, config=None, torch_dtype=torch.bfloat16, device="cpu", state_dict_co | CODE |
| LOW | diffsynth/core/loader/file.py | 26 | def load_state_dict_from_safetensors(file_path, torch_dtype=None, device="cpu"): | CODE |
| LOW | diffsynth/core/loader/file.py | 52 | def convert_state_dict_keys_to_single_str(state_dict, with_shape=True): | CODE |
| LOW | diffsynth/core/loader/file.py | 86 | def load_keys_dict_from_safetensors(file_path): | CODE |
| LOW | diffsynth/core/loader/file.py | 94 | def convert_state_dict_to_keys_dict(state_dict): | CODE |
| LOW | diffsynth/core/loader/file.py | 110 | def convert_keys_dict_to_single_str(state_dict, with_shape=True): | CODE |
| LOW | diffsynth/core/vram/initialization.py | 6 | def skip_model_initialization(device=torch.device("meta")): | CODE |
| LOW | diffsynth/core/vram/layers.py | 439 | def enable_vram_management_recursively(model: torch.nn.Module, module_map: dict, vram_config: dict, vram_limit=None, nam | CODE |
| LOW | diffsynth/core/device/npu_compatible_device.py | 106 | def get_available_device_type(): | CODE |
| LOW | diffsynth/core/data/unified_dataset.py | 62 | def search_for_cached_data_files(self, path): | CODE |
| LOW | diffsynth/pipelines/stable_diffusion_xl.py | 311 | def model_fn_stable_diffusion_xl( | CODE |
| LOW | diffsynth/pipelines/ltx2_audio_video.py | 488 | def apply_input_images_to_latents(self, latents, input_latents, input_indexes, input_strength=1.0, input_latents_vid | CODE |
| LOW | diffsynth/pipelines/flux_image.py | 30 | def process_single_controlnet(self, controlnet_input: ControlNetInput, conditioning: torch.Tensor, **kwargs): | CODE |
| LOW | diffsynth/pipelines/flux_image.py | 455 | def apply_controlnet_mask_on_latents(self, pipe, latents, mask): | CODE |
| LOW | diffsynth/pipelines/flux_image.py | 462 | def apply_controlnet_mask_on_image(self, pipe, image, mask): | CODE |
| LOW | diffsynth/pipelines/flux_image.py | 818 | def extract_arcface_bgr_embedding(self, in_image, landmark, device): | CODE |
| LOW | diffsynth/pipelines/flux_image.py | 852 | def parse_lora_encoder_inputs(self, lora_encoder_inputs): | CODE |
| LOW | diffsynth/pipelines/wan_video.py | 1259 | def wantodance_get_single_freqs(freqs, frame_num, fps): | CODE |
| LOW | diffsynth/pipelines/wan_video.py | 1534 | def create_custom_forward_vap(block, vap): | CODE |
| LOW | diffsynth/pipelines/ace_step.py | 192 | def switch_noncover_condition(self, inputs_shared, inputs_posi, inputs_nega, progress_id): | CODE |
| LOW | diffsynth/pipelines/ace_step.py | 421 | def _get_silence_latent_slice(self, pipe, length: int) -> torch.Tensor: | CODE |
| LOW | diffsynth/pipelines/mova_audio_video.py | 348 | def model_fn_mova_audio_video( | CODE |
| LOW | diffsynth/pipelines/stable_diffusion.py | 210 | def model_fn_stable_diffusion( | CODE |
| LOW | diffsynth/pipelines/qwen_image.py | 495 | def apply_controlnet_mask_on_latents(self, pipe, latents, mask): | CODE |
| LOW | diffsynth/pipelines/qwen_image.py | 502 | def apply_controlnet_mask_on_image(self, pipe, image, mask): | CODE |
| LOW | diffsynth/pipelines/qwen_image.py | 623 | def encode_images_using_qwenvl(self, pipe: QwenImagePipeline, images: list[Image.Image], highres=False): | CODE |
| LOW | diffsynth/utils/state_dict_converters/image_metrics.py | 107 | def _convert_open_clip_resblock(prefix, suffix, value): | CODE |
| LOW | diffsynth/utils/lora/krea2.py | 107 | def align_to_opensource_format(state_dict, alpha=None): | CODE |
| LOW | diffsynth/utils/lora/krea2.py | 120 | def align_to_diffsynth_format(state_dict): | CODE |
| LOW | diffsynth/utils/lora/sdxl.py | 753 | def align_to_opensource_format(state_dict, alpha=None): | CODE |
| LOW | diffsynth/utils/lora/sdxl.py | 766 | def align_to_diffsynth_format(state_dict): | CODE |
| LOW | diffsynth/utils/lora/flux.py | 214 | def align_to_opensource_format(state_dict, alpha=None): | CODE |
| LOW | diffsynth/utils/lora/flux.py | 258 | def align_to_diffsynth_format(state_dict): | CODE |
| LOW | diffsynth/utils/data/audio.py | 31 | def read_audio_with_torchcodec( | CODE |
| LOW | diffsynth/models/longcat_video_dit.py | 720 | def _create_multi_lora_forward(self, module, loras): | CODE |
| LOW | diffsynth/models/ltx2_dit.py | 234 | def adaln_embedding_coefficient(cross_attention_adaln: bool) -> int: | CODE |
| LOW | diffsynth/models/ltx2_dit.py | 287 | def apply_interleaved_rotary_emb( | STRING |
| LOW | diffsynth/models/ltx2_dit.py | 349 | def generate_freq_grid_pytorch( | STRING |
| LOW | diffsynth/models/ltx2_dit.py | 662 | def _prepare_self_attention_mask( | CODE |
| LOW | diffsynth/models/ltx2_dit.py | 690 | def _prepare_positional_embeddings( | CODE |
| LOW | diffsynth/models/ltx2_dit.py | 839 | def _prepare_cross_attention_timestep( | CODE |
| LOW | diffsynth/models/ltx2_dit.py | 1002 | def _apply_text_cross_attention( | CODE |
| LOW | diffsynth/models/ltx2_dit.py | 1223 | def apply_cross_attention_adaln( | CODE |
| LOW | diffsynth/models/ltx2_dit.py | 1368 | def _adaln_embedding_coefficient(self) -> int: | CODE |
| LOW⚡ | diffsynth/models/ltx2_dit.py | 1572 | def set_gradient_checkpointing(self, enable: bool) -> None: | CODE |
| LOW⚡ | diffsynth/models/ltx2_dit.py | 1582 | def _process_transformer_blocks( | CODE |
| LOW | diffsynth/models/ltx2_audio_vae.py | 111 | def _get_audio_latent_time_in_sec( | CODE |
| 93 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | diffsynth/core/attention/attention.py | 38 | CODE | |
| LOW | diffsynth/core/attention/attention.py | 172 | CODE | |
| LOW | diffsynth/core/loader/config.py | 49 | CODE | |
| LOW | diffsynth/core/loader/file.py | 36 | CODE | |
| LOW | diffsynth/core/loader/file.py | 52 | CODE | |
| LOW | diffsynth/core/loader/file.py | 110 | CODE | |
| LOW | diffsynth/core/vram/layers.py | 439 | CODE | |
| LOW | diffsynth/core/data/operators.py | 325 | CODE | |
| LOW | diffsynth/core/data/unified_dataset.py | 70 | CODE | |
| LOW | diffsynth/core/data/unified_dataset.py | 89 | CODE | |
| LOW | diffsynth/pipelines/flux_image.py | 1000 | CODE | |
| LOW | diffsynth/pipelines/flux_image.py | 109 | CODE | |
| LOW | diffsynth/pipelines/hidream_o1_image.py | 166 | CODE | |
| LOW | diffsynth/pipelines/wan_video.py | 1276 | CODE | |
| LOW | diffsynth/pipelines/ace_step.py | 485 | CODE | |
| LOW | diffsynth/utils/controlnet/annotator.py | 10 | CODE | |
| LOW | …synth/utils/state_dict_converters/ltx2_text_encoder.py | 1 | CODE | |
| LOW | …synth/utils/state_dict_converters/ltx2_text_encoder.py | 24 | CODE | |
| LOW | …ffsynth/utils/state_dict_converters/flux_controlnet.py | 4 | CODE | |
| LOW | diffsynth/utils/state_dict_converters/image_metrics.py | 12 | CODE | |
| LOW | diffsynth/utils/state_dict_converters/image_metrics.py | 79 | CODE | |
| LOW | diffsynth/utils/state_dict_converters/image_metrics.py | 93 | CODE | |
| LOW | diffsynth/utils/state_dict_converters/image_metrics.py | 107 | CODE | |
| LOW | diffsynth/utils/state_dict_converters/flux_vae.py | 267 | CODE | |
| LOW | diffsynth/utils/state_dict_converters/flux_vae.py | 326 | CODE | |
| LOW | diffsynth/utils/state_dict_converters/flux_dit.py | 4 | CODE | |
| LOW | diffsynth/utils/state_dict_converters/flux_dit.py | 95 | CODE | |
| LOW | diffsynth/utils/state_dict_converters/ltx2_video_vae.py | 1 | CODE | |
| LOW | diffsynth/utils/state_dict_converters/ltx2_video_vae.py | 14 | CODE | |
| LOW | …th/utils/state_dict_converters/stable_diffusion_vae.py | 1 | CODE | |
| LOW | …tils/state_dict_converters/joyai_image_text_encoder.py | 1 | CODE | |
| LOW | diffsynth/utils/lora/sdxl.py | 766 | CODE | |
| LOW | diffsynth/utils/lora/flux.py | 84 | CODE | |
| LOW | diffsynth/utils/lora/flux.py | 113 | CODE | |
| LOW | diffsynth/models/longcat_video_dit.py | 697 | CODE | |
| LOW | diffsynth/models/stable_diffusion_unet.py | 63 | CODE | |
| LOW | diffsynth/models/hpsv3.py | 109 | CODE | |
| LOW | diffsynth/models/mova_dual_tower_bridge.py | 136 | CODE | |
| LOW | diffsynth/models/flux2_vae.py | 78 | CODE | |
| LOW | diffsynth/models/flux2_vae.py | 489 | CODE | |
| LOW | diffsynth/models/flux2_vae.py | 693 | CODE | |
| LOW | diffsynth/models/flux2_vae.py | 743 | CODE | |
| LOW | diffsynth/models/qwen_image_image2lora.py | 119 | CODE | |
| LOW | diffsynth/models/z_image_image2lora.py | 103 | CODE | |
| LOW | diffsynth/models/z_image_image2lora.py | 179 | CODE | |
| LOW | diffsynth/models/mova_audio_vae.py | 590 | CODE | |
| LOW | diffsynth/models/mova_audio_vae.py | 771 | CODE | |
| LOW | diffsynth/models/wan_video_dit_s2v.py | 27 | CODE | |
| LOW | diffsynth/models/wan_video_dit_s2v.py | 284 | CODE | |
| LOW | diffsynth/models/step1x_connector.py | 264 | CODE | |
| LOW | diffsynth/models/hidream_common.py | 98 | CODE | |
| LOW | diffsynth/models/qwen_image_bench.py | 447 | CODE | |
| LOW | diffsynth/models/ace_step_dit.py | 369 | CODE | |
| LOW | diffsynth/models/flux_controlnet.py | 162 | CODE | |
| LOW | diffsynth/models/flux_controlnet.py | 269 | CODE | |
| LOW | diffsynth/models/flux_controlnet.py | 228 | CODE | |
| LOW | diffsynth/models/flux_lora_patcher.py | 127 | CODE | |
| LOW | diffsynth/models/flux_lora_patcher.py | 156 | CODE | |
| LOW | diffsynth/models/nexus_gen_ar_model.py | 110 | CODE | |
| LOW | diffsynth/models/nexus_gen_ar_model.py | 508 | CODE | |
| 50 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | README.md | 0 | { "high_level_description": "a medium-shot photograph of formula 1 driver max verstappen wearing his red bull racing rac | STRING |
| HIGH | README_zh.md | 0 | { "high_level_description": "a medium-shot photograph of formula 1 driver max verstappen wearing his red bull racing rac | STRING |
| HIGH | docs/zh/Model_Details/Ideogram-4.md | 0 | { "high_level_description": "a medium-shot photograph of formula 1 driver max verstappen wearing his red bull racing rac | STRING |
| HIGH | docs/en/Model_Details/Ideogram-4.md | 0 | { "high_level_description": "a medium-shot photograph of formula 1 driver max verstappen wearing his red bull racing rac | STRING |
| HIGH | …/model_inference_low_vram/ideogram-4-bf16-repackage.py | 0 | { "high_level_description": "a medium-shot photograph of formula 1 driver max verstappen wearing his red bull racing rac | STRING |
| HIGH | …ideogram4/model_inference/ideogram-4-bf16-repackage.py | 0 | { "high_level_description": "a medium-shot photograph of formula 1 driver max verstappen wearing his red bull racing rac | STRING |
| HIGH | examples/ideogram4/model_inference/ideogram-4-fp8.py | 0 | { "high_level_description": "a medium-shot photograph of formula 1 driver max verstappen wearing his red bull racing rac | STRING |
| HIGH | README.md | 0 | offical model repo: https://www.modelscope.cn/models/lightricks/ltx-2 repackaged model repo: https://www.modelscope.cn/m | STRING |
| HIGH | README_zh.md | 0 | offical model repo: https://www.modelscope.cn/models/lightricks/ltx-2 repackaged model repo: https://www.modelscope.cn/m | STRING |
| HIGH | diffsynth/configs/model_configs.py | 0 | offical model repo: https://www.modelscope.cn/models/lightricks/ltx-2 repackaged model repo: https://www.modelscope.cn/m | STRING |
| HIGH | …s/ltx2/model_inference_low_vram/LTX-2-T2AV-OneStage.py | 0 | offical model repo: https://www.modelscope.cn/models/lightricks/ltx-2 repackaged model repo: https://www.modelscope.cn/m | STRING |
| HIGH | …s/ltx2/model_inference_low_vram/LTX-2-T2AV-TwoStage.py | 0 | offical model repo: https://www.modelscope.cn/models/lightricks/ltx-2 repackaged model repo: https://www.modelscope.cn/m | STRING |
| HIGH | examples/ltx2/model_inference/LTX-2-T2AV-OneStage.py | 0 | offical model repo: https://www.modelscope.cn/models/lightricks/ltx-2 repackaged model repo: https://www.modelscope.cn/m | STRING |
| HIGH | examples/ltx2/model_inference/LTX-2-T2AV-TwoStage.py | 0 | offical model repo: https://www.modelscope.cn/models/lightricks/ltx-2 repackaged model repo: https://www.modelscope.cn/m | STRING |
| HIGH | diffsynth/models/ltx2_dit.py | 0 | this matches the implementation in denoising diffusion probabilistic models: create sinusoidal timestep embeddings. args | STRING |
| HIGH | diffsynth/models/flux2_dit.py | 0 | this matches the implementation in denoising diffusion probabilistic models: create sinusoidal timestep embeddings. args | STRING |
| HIGH | diffsynth/models/boogu_image_dit.py | 0 | this matches the implementation in denoising diffusion probabilistic models: create sinusoidal timestep embeddings. args | STRING |
| HIGH | …odel_inference_low_vram/acestep15xlsft-vocals2music.py | 0 | [verse 1] 深夜的屏幕,微光在闪烁 指尖敲击着,未知的脉络 不再是孤岛,独自去摸索 这里有一片海,等待你停泊 从零到一的距离,不再遥远 丰富的模型,静候被点燃 打破围墙的界限,推倒高墙 让智慧的火花,自由地碰撞 [pre-choru | STRING |
| HIGH | …ce_step/model_inference/acestep15xlsft-vocals2music.py | 0 | [verse 1] 深夜的屏幕,微光在闪烁 指尖敲击着,未知的脉络 不再是孤岛,独自去摸索 这里有一片海,等待你停泊 从零到一的距离,不再遥远 丰富的模型,静候被点燃 打破围墙的界限,推倒高墙 让智慧的火花,自由地碰撞 [pre-choru | STRING |
| HIGH | …_training/validate_full/acestep15xlsft-vocals2music.py | 0 | [verse 1] 深夜的屏幕,微光在闪烁 指尖敲击着,未知的脉络 不再是孤岛,独自去摸索 这里有一片海,等待你停泊 从零到一的距离,不再遥远 丰富的模型,静候被点燃 打破围墙的界限,推倒高墙 让智慧的火花,自由地碰撞 [pre-choru | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | README.md | 1221 | # pipe = LTX2AudioVideoPipeline.from_pretrained( | COMMENT |
| LOW | README_zh.md | 1221 | # pipe = LTX2AudioVideoPipeline.from_pretrained( | COMMENT |
| LOW | docs/zh/conf.py | 1 | # Configuration file for the Sphinx documentation builder. | COMMENT |
| LOW | docs/zh/conf.py | 81 | source_suffix = ['.rst', '.md'] | COMMENT |
| LOW | docs/en/conf.py | 1 | # Configuration file for the Sphinx documentation builder. | COMMENT |
| LOW | docs/en/conf.py | 81 | source_suffix = ['.rst', '.md'] | COMMENT |
| LOW | diffsynth/version.py | 1 | # Make sure to modify __release_datetime__ to release time when making official release. | COMMENT |
| LOW | diffsynth/models/stable_diffusion_unet.py | 1 | # Copyright 2025 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | diffsynth/models/flux2_vae.py | 1 | # Copyright 2025 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | diffsynth/models/ace_step_conditioner.py | 1 | # Copyright 2025 The ACESTEO Team. All rights reserved. | COMMENT |
| LOW | diffsynth/models/ace_step_vae.py | 1 | # Copyright 2025 The ACESTEO Team. All rights reserved. | COMMENT |
| LOW | diffsynth/models/ace_step_dit.py | 1 | # Copyright 2025 The ACESTEO Team. All rights reserved. | COMMENT |
| LOW | diffsynth/models/hidream_o1_image_dit.py | 1 | # Copyright 2025 The Qwen Team and The HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | diffsynth/models/ace_step_tokenizer.py | 1 | # Copyright 2025 The ACESTEO Team. All rights reserved. | COMMENT |
| LOW | diffsynth/models/stable_diffusion_vae.py | 1 | # Copyright 2025 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | …s/ltx2/model_inference_low_vram/LTX-2-T2AV-TwoStage.py | 41 | # use the following modelconfig if you want to initialize model from offical checkpoints from "Lightricks/LTX-2" | COMMENT |
| LOW | examples/ltx2/model_inference/LTX-2-T2AV-TwoStage.py | 41 | # pipe = LTX2AudioVideoPipeline.from_pretrained( | COMMENT |
| LOW | examples/ltx2/model_training/lora/LTX-2-T2AV-noaudio.sh | 1 | modelscope download --dataset DiffSynth-Studio/diffsynth_example_dataset --include "ltx2/LTX-2-T2AV-noaudio/*" --local_d | COMMENT |
| LOW | examples/ltx2/model_training/lora/LTX-2-T2AV-splited.sh | 1 | modelscope download --dataset DiffSynth-Studio/diffsynth_example_dataset --include "ltx2/LTX-2-T2AV-splited/*" --local_d | COMMENT |
| LOW | …ples/flux2/model_training/full/FLUX.2-klein-base-9B.sh | 21 | COMMENT | |
| LOW | examples/flux2/model_training/full/FLUX.2-klein-4B.sh | 21 | # accelerate launch examples/flux2/model_training/train.py \ | COMMENT |
| LOW | examples/flux2/model_training/full/FLUX.2-klein-9B.sh | 21 | COMMENT | |
| LOW | …ples/flux2/model_training/full/FLUX.2-klein-base-4B.sh | 21 | # accelerate launch examples/flux2/model_training/train.py \ | COMMENT |
| LOW | …l_training/special/npu_training/FLUX.2-klein-9B-NPU.sh | 21 | # Edit | COMMENT |
| LOW | …ples/flux2/model_training/lora/FLUX.2-klein-base-9B.sh | 21 | # modelscope download --dataset DiffSynth-Studio/diffsynth_example_dataset --include "qwen_image/Qwen-Image-Edit-2511/*" | COMMENT |
| LOW | examples/flux2/model_training/lora/FLUX.2-klein-4B.sh | 21 | # modelscope download --dataset DiffSynth-Studio/diffsynth_example_dataset --include "qwen_image/Qwen-Image-Edit-2511/*" | COMMENT |
| LOW | examples/flux2/model_training/lora/FLUX.2-klein-9B.sh | 21 | # modelscope download --dataset DiffSynth-Studio/diffsynth_example_dataset --include "qwen_image/Qwen-Image-Edit-2511/*" | COMMENT |
| LOW | …ples/flux2/model_training/lora/FLUX.2-klein-base-4B.sh | 21 | # modelscope download --dataset DiffSynth-Studio/diffsynth_example_dataset --include "qwen_image/Qwen-Image-Edit-2511/*" | COMMENT |
| LOW | …image/model_inference_low_vram/Qwen-Image-Edit-2509.py | 41 | # edit_image = [Image.open("image.jpg")] | COMMENT |
| LOW | …l_inference_low_vram/Qwen-Image-Edit-2511-Lightning.py | 61 | # edit_image = [Image.open("image.jpg")] | COMMENT |
| LOW | …s/qwen_image/model_inference/FireRed-Image-Edit-1.1.py | 41 | # edit_image = [Image.open("image.jpg")] | COMMENT |
| LOW | …s/qwen_image/model_inference/FireRed-Image-Edit-1.0.py | 41 | # edit_image = [Image.open("image.jpg")] | COMMENT |
| LOW | …les/qwen_image/model_inference/Qwen-Image-Edit-2511.py | 41 | # Please use a list to input `edit_image`, even if the input contains only one image. | COMMENT |
| LOW | …training/full/Qwen-Image-Blockwise-ControlNet-Canny.sh | 21 | # and then start training with a high learning rate (1e-3). | COMMENT |
| LOW | …aining/full/Qwen-Image-Blockwise-ControlNet-Inpaint.sh | 21 | # and then start training with a high learning rate (1e-3). | COMMENT |
| LOW | …training/full/Qwen-Image-Blockwise-ControlNet-Depth.sh | 21 | # and then start training with a high learning rate (1e-3). | COMMENT |
| LOW | …m_o1_image/model_training/full/HiDream-O1-Image-Dev.sh | 21 | # --dataset_base_path data/diffsynth_example_dataset/qwen_image/Qwen-Image-Edit-2511 \ | COMMENT |
| LOW | …dream_o1_image/model_training/full/HiDream-O1-Image.sh | 21 | # --dataset_base_path data/diffsynth_example_dataset/qwen_image/Qwen-Image-Edit-2511 \ | COMMENT |
| LOW | …m_o1_image/model_training/lora/HiDream-O1-Image-Dev.sh | 21 | COMMENT | |
| LOW | …dream_o1_image/model_training/lora/HiDream-O1-Image.sh | 21 | COMMENT | |
| LOW | …mples/z_image/model_training/full/Z-Image-Omni-Base.sh | 21 | # accelerate launch --config_file examples/z_image/model_training/full/accelerate_config.yaml examples/z_image/model_tra | COMMENT |
| LOW | …mage/model_training/validate_lora/Z-Image-Omni-Base.py | 21 | image.save("image.jpg") | COMMENT |
| LOW | …mage/model_training/validate_full/Z-Image-Omni-Base.py | 21 | image = pipe(prompt=prompt, seed=42, rand_device="cuda", num_inference_steps=40, cfg_scale=4) | COMMENT |
| LOW | …mples/z_image/model_training/lora/Z-Image-Omni-Base.sh | 21 | # Image(s) to image training | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/zh/Developer_Guide/Integrating_Your_Model.md | 5 | ## Step 1: 集成模型结构代码 | COMMENT |
| LOW | docs/zh/Developer_Guide/Integrating_Your_Model.md | 80 | ## Step 2: 模型文件格式转换 | COMMENT |
| LOW | docs/zh/Developer_Guide/Integrating_Your_Model.md | 105 | ## Step 3: 编写模型 Config | COMMENT |
| LOW | docs/zh/Developer_Guide/Integrating_Your_Model.md | 150 | ## Step 4: 检验模型是否能被识别和加载 | COMMENT |
| LOW | docs/zh/Developer_Guide/Integrating_Your_Model.md | 184 | ## Step 5: 编写模型显存管理方案 | COMMENT |
| LOW | docs/en/Developer_Guide/Integrating_Your_Model.md | 5 | ## Step 1: Integrate Model Architecture Code | COMMENT |
| LOW | docs/en/Developer_Guide/Integrating_Your_Model.md | 80 | ## Step 2: Model File Format Conversion | COMMENT |
| LOW | docs/en/Developer_Guide/Integrating_Your_Model.md | 105 | ## Step 3: Writing Model Config | COMMENT |
| LOW | docs/en/Developer_Guide/Integrating_Your_Model.md | 150 | ## Step 4: Verifying Whether the Model Can Be Recognized and Loaded | COMMENT |
| LOW | docs/en/Developer_Guide/Integrating_Your_Model.md | 184 | ## Step 5: Writing Model VRAM Management Scheme | COMMENT |
| LOW⚡ | diffsynth/models/ltx2_audio_vae.py | 1235 | # Step 1: Crop first to avoid exceeding target dimensions | COMMENT |
| LOW⚡ | diffsynth/models/ltx2_audio_vae.py | 1240 | # Step 2: Calculate padding needed for time and frequency dimensions | COMMENT |
| LOW⚡ | diffsynth/models/ltx2_audio_vae.py | 1244 | # Step 3: Apply padding if needed | COMMENT |
| LOW | diffsynth/models/ltx2_audio_vae.py | 1256 | # Step 4: Final safety crop to ensure exact target shape | COMMENT |
| LOW | diffsynth/models/ace_step_dit.py | 219 | # Step 1: Self-attention with adaptive layer norm (AdaLN) | COMMENT |
| LOW | diffsynth/models/ace_step_dit.py | 230 | # Step 2: Cross-attention (if enabled) for conditioning on encoder outputs | COMMENT |
| LOW | diffsynth/models/ace_step_dit.py | 241 | # Step 3: Feed-forward (MLP) with adaptive layer norm | COMMENT |
| LOW⚡ | diffsynth/models/boogu_image_dit.py | 2296 | # Step 3: image self-attention. | COMMENT |
| LOW⚡ | diffsynth/models/boogu_image_dit.py | 2304 | # Step 4: residual updates. | COMMENT |
| LOW | diffsynth/models/boogu_image_dit.py | 2250 | # Step 1: modulation for both streams. | COMMENT |
| LOW | diffsynth/models/boogu_image_dit.py | 2267 | # Step 2: joint attention on [instruct + img]. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | diffsynth/models/flux_vae.py | 11 | # Create a mask with shape (height, width). | COMMENT |
| MEDIUM | diffsynth/models/qwen_image_vae.py | 318 | # Create the components | STRING |
| MEDIUM | diffsynth/models/ltx2_video_vae.py | 133 | # Create a tensor containing the size of a single patch: | COMMENT |
| MEDIUM | diffsynth/models/ltx2_video_vae.py | 216 | # Define the size of the channels after the first convolution | COMMENT |
| MEDIUM | …les/flux/model_inference_low_vram/FLUX.1-dev-EliGen.py | 19 | # Create a blank image for overlays | COMMENT |
| MEDIUM | examples/flux/model_inference/FLUX.1-dev-EliGen.py | 9 | # Create a blank image for overlays | COMMENT |
| MEDIUM | …en_image/model_inference_low_vram/Qwen-Image-EliGen.py | 9 | # Create a blank image for overlays | COMMENT |
| MEDIUM | …image/model_inference_low_vram/Qwen-Image-EliGen-V2.py | 8 | # Create a blank image for overlays | COMMENT |
| MEDIUM | …e/model_inference_low_vram/Qwen-Image-EliGen-Poster.py | 9 | # Create a blank image for overlays | COMMENT |
| MEDIUM | …amples/qwen_image/model_inference/Qwen-Image-EliGen.py | 9 | # Create a blank image for overlays | COMMENT |
| MEDIUM | …les/qwen_image/model_inference/Qwen-Image-EliGen-V2.py | 8 | # Create a blank image for overlays | COMMENT |
| MEDIUM | …qwen_image/model_inference/Qwen-Image-EliGen-Poster.py | 9 | # Create a blank image for overlays | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | diffsynth/models/ltx2_audio_vae.py | 1235 | # Step 1: Crop first to avoid exceeding target dimensions | COMMENT |
| LOW⚡ | diffsynth/models/ltx2_audio_vae.py | 1240 | # Step 2: Calculate padding needed for time and frequency dimensions | COMMENT |
| LOW⚡ | diffsynth/models/ltx2_audio_vae.py | 1244 | # Step 3: Apply padding if needed | COMMENT |
| LOW | diffsynth/models/ltx2_audio_vae.py | 1256 | # Step 4: Final safety crop to ensure exact target shape | COMMENT |
| LOW | diffsynth/models/ace_step_dit.py | 219 | # Step 1: Self-attention with adaptive layer norm (AdaLN) | COMMENT |
| LOW | diffsynth/models/ace_step_dit.py | 230 | # Step 2: Cross-attention (if enabled) for conditioning on encoder outputs | COMMENT |
| LOW | diffsynth/models/ace_step_dit.py | 241 | # Step 3: Feed-forward (MLP) with adaptive layer norm | COMMENT |
| LOW⚡ | diffsynth/models/boogu_image_dit.py | 2296 | # Step 3: image self-attention. | COMMENT |
| LOW⚡ | diffsynth/models/boogu_image_dit.py | 2304 | # Step 4: residual updates. | COMMENT |
| LOW | diffsynth/models/boogu_image_dit.py | 2250 | # Step 1: modulation for both streams. | COMMENT |
| LOW | diffsynth/models/boogu_image_dit.py | 2267 | # Step 2: joint attention on [instruct + img]. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | diffsynth/core/offload_training/memory_buffer.py | 135 | except Exception: | CODE |
| LOW | diffsynth/core/data/operators.py | 23 | except Exception as e: | CODE |
| LOW | diffsynth/core/data/operators.py | 339 | except Exception as e: | CODE |
| LOW | diffsynth/pipelines/ace_step.py | 448 | except Exception as e: | CODE |
| LOW | diffsynth/utils/data/__init__.py | 209 | except Exception as e: | CODE |
| LOW | diffsynth/models/flux2_vae.py | 808 | except Exception as e: | STRING |
| LOW | diffsynth/models/unified_reward_edit.py | 269 | except Exception: | CODE |
| LOW | diffsynth/diffusion/runner.py | 29 | except Exception as e: | CODE |
| LOW⚡ | examples/dev_tools/webui.py | 39 | except Exception as e: | CODE |
| MEDIUM⚡ | examples/dev_tools/webui.py | 41 | print(f"Error {error_value}:\n{error_message}") | CODE |
| MEDIUM | examples/dev_tools/webui.py | 36 | def catch_error(error_value): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | diffsynth/models/nexus_gen_ar_model.py | 118 | Calculate the 3D rope index based on image and video's temporal, height and width in LLM. Explanation: | STRING |
| HIGH | diffsynth/models/anima_dit.py | 944 | Prepares an embedded sequence tensor by applying positional embeddings and handling padding masks. Arg | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | diffsynth/models/joyai_image_text_encoder.py | 73 | self.model.model.language_model.norm.register_forward_hook(hook_fn) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | diffsynth/pipelines/joyai_image.py | 200 | CODE | |
| MEDIUM | diffsynth/models/z_image_dit.py | 991 | CODE | |
| MEDIUM | diffsynth/models/clip.py | 58 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | diffsynth/models/ltx2_audio_vae.py | 1288 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | diffsynth/models/ltx2_audio_vae.py | 1291 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | diffsynth/metrics/__init__.py | 17 | __all__ = [ | CODE |
| LOW⚡ | diffsynth/models/ltx2_dit.py | 1572 | def set_gradient_checkpointing(self, enable: bool) -> None: | CODE |
| LOW | diffsynth/models/flux2_vae.py | 726 | def set_use_npu_flash_attention(self, use_npu_flash_attention: bool) -> None: | STRING |
| LOW | diffsynth/models/flux2_vae.py | 889 | def set_attention_slice(self, slice_size: int) -> None: | STRING |
| LOW | diffsynth/models/flux2_vae.py | 917 | def set_processor(self, processor: "AttnProcessor") -> None: | STRING |
| LOW | diffsynth/models/nexus_gen_ar_model.py | 932 | __all__ = ["Qwen2_5_VLForConditionalGeneration", "Qwen2_5_VLModel", "Qwen2_5_VLPreTrainedModel"] | STRING |
| LOW | diffsynth/models/nexus_gen_ar_model.py | 1143 | __all__ = ["Qwen2_5_VLProcessor"] | STRING |
| LOW | diffsynth/models/boogu_image_dit.py | 180 | def set_processor(self, processor) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/ltx2/model_inference/LTX-2.3-I2AV-TwoStage.py | 69 | # This example uses the first and last frames for demonstration. However, you can use any frames by setting input_images | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | diffsynth/pipelines/flux2_image.py | 440 | # Check if Qwen3 text encoder is available | COMMENT |
| LOW | diffsynth/models/ltx2_video_vae.py | 2080 | # Check if current temporal slice overlaps with previous temporal slice | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | diffsynth/models/flux2_vae.py | 975 | # here we simply pass along all tensors to the selected processor class | STRING |