SD.Next: All-in-one WebUI for AI generative image and video creation, captioning and processing
This report presents the forensic synthetic code analysis of vladmandic/sdnext, a Python project with 7,165 GitHub stars. SynthScan v2.0 examined 984,628 lines of code across 1439 source files, recording 4871 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 7.5 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 4871 distinct pattern matches across 19 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 |
|---|---|---|---|---|
| HIGH | test/test-chroma-native-adapters.py | 0 | empty container module - we attach children dynamically. | STRING |
| HIGH | test/test-zimage-native-adapters.py | 0 | empty container module - we attach children dynamically. | STRING |
| HIGH | test/test-ernie-native-adapters.py | 0 | empty container module - we attach children dynamically. | STRING |
| HIGH | test/test-chroma-native-adapters.py | 0 | each family's markers reject other families' files. | STRING |
| HIGH | test/test-zimage-native-adapters.py | 0 | each family's markers reject other families' files. | STRING |
| HIGH | test/test-ernie-native-adapters.py | 0 | each family's markers reject other families' files. | STRING |
| HIGH | pipelines/bria/transformer_block.py | 0 | the transformer model introduced in flux with yarn support. reference: https://blackforestlabs.ai/announcing-black-fores | STRING |
| HIGH | pipelines/step1x/transformer_step1x_edit.py | 0 | the transformer model introduced in flux with yarn support. reference: https://blackforestlabs.ai/announcing-black-fores | STRING |
| HIGH | pipelines/ultraflux/transformer_flux.py | 0 | the transformer model introduced in flux with yarn support. reference: https://blackforestlabs.ai/announcing-black-fores | STRING |
| HIGH | pipelines/bria/transformer_block.py | 0 | returns: `dict` of attention processors: a dictionary containing all attention processors used in the model with indexed | STRING |
| HIGH | pipelines/meissonic/transformer.py | 0 | returns: `dict` of attention processors: a dictionary containing all attention processors used in the model with indexed | STRING |
| HIGH | pipelines/ultraflux/autoencoder_kl.py | 0 | returns: `dict` of attention processors: a dictionary containing all attention processors used in the model with indexed | STRING |
| HIGH | scripts/consistory/consistory_unet_sdxl.py | 0 | returns: `dict` of attention processors: a dictionary containing all attention processors used in the model with indexed | STRING |
| HIGH | scripts/instantir/aggregator.py | 0 | returns: `dict` of attention processors: a dictionary containing all attention processors used in the model with indexed | STRING |
| HIGH | scripts/pixelsmith/autoencoder_kl.py | 0 | returns: `dict` of attention processors: a dictionary containing all attention processors used in the model with indexed | STRING |
| HIGH | modules/taesd/hybrid_small.py | 0 | returns: `dict` of attention processors: a dictionary containing all attention processors used in the model with indexed | STRING |
| HIGH | modules/control/units/xs_model.py | 0 | returns: `dict` of attention processors: a dictionary containing all attention processors used in the model with indexed | STRING |
| HIGH | pipelines/bria/transformer_block.py | 0 | sets the attention processor to use to compute attention. parameters: processor (`dict` of `attentionprocessor` or only | STRING |
| HIGH | pipelines/meissonic/transformer.py | 0 | sets the attention processor to use to compute attention. parameters: processor (`dict` of `attentionprocessor` or only | STRING |
| HIGH | pipelines/ultraflux/autoencoder_kl.py | 0 | sets the attention processor to use to compute attention. parameters: processor (`dict` of `attentionprocessor` or only | STRING |
| HIGH | scripts/consistory/consistory_unet_sdxl.py | 0 | sets the attention processor to use to compute attention. parameters: processor (`dict` of `attentionprocessor` or only | STRING |
| HIGH | scripts/instantir/aggregator.py | 0 | sets the attention processor to use to compute attention. parameters: processor (`dict` of `attentionprocessor` or only | STRING |
| HIGH | scripts/pixelsmith/autoencoder_kl.py | 0 | sets the attention processor to use to compute attention. parameters: processor (`dict` of `attentionprocessor` or only | STRING |
| HIGH | modules/taesd/hybrid_small.py | 0 | sets the attention processor to use to compute attention. parameters: processor (`dict` of `attentionprocessor` or only | STRING |
| HIGH | modules/control/units/xs_model.py | 0 | sets the attention processor to use to compute attention. parameters: processor (`dict` of `attentionprocessor` or only | STRING |
| HIGH | pipelines/bria/transformer_block.py | 0 | enables fused qkv projections. for self-attention modules, all projection matrices (i.e., query, key, value) are fused. | STRING |
| HIGH | pipelines/meissonic/transformer.py | 0 | enables fused qkv projections. for self-attention modules, all projection matrices (i.e., query, key, value) are fused. | STRING |
| HIGH | pipelines/ultraflux/autoencoder_kl.py | 0 | enables fused qkv projections. for self-attention modules, all projection matrices (i.e., query, key, value) are fused. | STRING |
| HIGH | scripts/pixelsmith/autoencoder_kl.py | 0 | enables fused qkv projections. for self-attention modules, all projection matrices (i.e., query, key, value) are fused. | STRING |
| HIGH | modules/taesd/hybrid_small.py | 0 | enables fused qkv projections. for self-attention modules, all projection matrices (i.e., query, key, value) are fused. | STRING |
| HIGH | pipelines/bria/transformer_block.py | 0 | disables the fused qkv projection if enabled. <tip warning={true}> this api is 🧪 experimental. </tip> | STRING |
| HIGH | pipelines/meissonic/transformer.py | 0 | disables the fused qkv projection if enabled. <tip warning={true}> this api is 🧪 experimental. </tip> | STRING |
| HIGH | pipelines/ultraflux/autoencoder_kl.py | 0 | disables the fused qkv projection if enabled. <tip warning={true}> this api is 🧪 experimental. </tip> | STRING |
| HIGH | scripts/pixelsmith/autoencoder_kl.py | 0 | disables the fused qkv projection if enabled. <tip warning={true}> this api is 🧪 experimental. </tip> | STRING |
| HIGH | modules/taesd/hybrid_small.py | 0 | disables the fused qkv projection if enabled. <tip warning={true}> this api is 🧪 experimental. </tip> | STRING |
| HIGH | pipelines/bria/transformer_block.py | 0 | the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, h | STRING |
| HIGH | pipelines/xomni/modeling_siglip_flux.py | 0 | the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, h | STRING |
| HIGH | pipelines/ultraflux/transformer_flux.py | 0 | the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, h | STRING |
| HIGH | pipelines/bria/transformer_bria.py | 0 | the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, h | STRING |
| HIGH | pipelines/meissonic/transformer.py | 0 | the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, h | STRING |
| HIGH | modules/teacache/teacache_flux.py | 0 | the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, h | STRING |
| HIGH | pipelines/step1x/transformer_step1x_edit.py | 0 | the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, h | STRING |
| HIGH | modules/teacache/teacache_chroma.py | 0 | the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, h | STRING |
| HIGH | modules/ras/ras_forward.py | 0 | the [`sd3transformer2dmodel`] forward method. args: hidden_states (`torch.floattensor` of shape `(batch size, channel, h | STRING |
| HIGH | pipelines/bria/bria_pipeline.py | 0 | function invoked when calling the pipeline for generation. args: prompt (`str` or `list[str]`, *optional*): the prompt o | STRING |
| HIGH | pipelines/xomni/modeling_siglip_flux.py | 0 | function invoked when calling the pipeline for generation. args: prompt (`str` or `list[str]`, *optional*): the prompt o | STRING |
| HIGH | modules/cfgzero/flux_pipeline.py | 0 | function invoked when calling the pipeline for generation. args: prompt (`str` or `list[str]`, *optional*): the prompt o | STRING |
| HIGH | pipelines/hidream/hidream_e1.py | 0 | function invoked when calling the pipeline for generation. args: prompt (`str` or `list[str]`, *optional*): the prompt o | STRING |
| HIGH | pipelines/ultraflux/pipeline_flux.py | 0 | function invoked when calling the pipeline for generation. args: prompt (`str` or `list[str]`, *optional*): the prompt o | STRING |
| HIGH | pipelines/omnigen2/pipeline_omnigen2.py | 0 | calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom t | STRING |
| HIGH | pipelines/step1x/pipeline_step1x_edit.py | 0 | calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom t | STRING |
| HIGH | pipelines/hidream/hidream_e1.py | 0 | calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom t | STRING |
| HIGH | pipelines/ultraflux/pipeline_flux.py | 0 | calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom t | STRING |
| HIGH | pipelines/boogu/pipeline_boogu.py | 0 | calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom t | STRING |
| HIGH | scripts/infiniteyou/pipeline_flux_infusenet.py | 0 | calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom t | STRING |
| HIGH | scripts/mod/__init__.py | 0 | calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom t | STRING |
| HIGH | modules/cfgzero/cogview4_pipeline.py | 0 | calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom t | STRING |
| HIGH | modules/cfgzero/hunyuan_t2v_pipeline.py | 0 | calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom t | STRING |
| HIGH | modules/cfgzero/hidream_pipeline.py | 0 | calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom t | STRING |
| HIGH | modules/cfgzero/flux_pipeline.py | 0 | calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom t | STRING |
| 321 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | webui.sh | 2 | # ------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | webui.sh | 4 | # ------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/test-grading.py | 72 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-grading.py | 74 | # ============================================================ | COMMENT |
| MEDIUM | test/test-grading.py | 168 | # ============================================================ | COMMENT |
| MEDIUM | test/test-grading.py | 170 | # ============================================================ | COMMENT |
| MEDIUM | test/test-grading.py | 313 | # ============================================================ | COMMENT |
| MEDIUM | test/test-grading.py | 315 | # ============================================================ | COMMENT |
| MEDIUM | test/test-grading.py | 394 | # ============================================================ | COMMENT |
| MEDIUM | test/test-grading.py | 396 | # ============================================================ | COMMENT |
| MEDIUM | test/test-grading.py | 561 | # ============================================================ | COMMENT |
| MEDIUM | test/test-grading.py | 563 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-flux2-native-adapters.py | 106 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-flux2-native-adapters.py | 108 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-flux2-native-adapters.py | 653 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-flux2-native-adapters.py | 655 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-flux2-native-adapters.py | 1515 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-flux2-native-adapters.py | 1517 | # ============================================================ | COMMENT |
| MEDIUM | test/test-flux2-native-adapters.py | 64 | # ============================================================ | COMMENT |
| MEDIUM | test/test-flux2-native-adapters.py | 66 | # ============================================================ | COMMENT |
| MEDIUM | test/test-flux2-native-adapters.py | 228 | # ============================================================ | COMMENT |
| MEDIUM | test/test-flux2-native-adapters.py | 230 | # ============================================================ | COMMENT |
| MEDIUM | test/test-flux2-native-adapters.py | 591 | # ============================================================ | COMMENT |
| MEDIUM | test/test-flux2-native-adapters.py | 593 | # ============================================================ | COMMENT |
| MEDIUM | test/test-flux2-native-adapters.py | 834 | # ============================================================ | COMMENT |
| MEDIUM | test/test-flux2-native-adapters.py | 836 | # ============================================================ | COMMENT |
| MEDIUM | test/test-flux2-native-adapters.py | 1374 | # ============================================================ | COMMENT |
| MEDIUM | test/test-flux2-native-adapters.py | 1376 | # ============================================================ | COMMENT |
| MEDIUM | test/test-flux2-native-adapters.py | 1576 | # ============================================================ | COMMENT |
| MEDIUM | test/test-flux2-native-adapters.py | 1578 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-chroma-native-adapters.py | 127 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-chroma-native-adapters.py | 129 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-chroma-native-adapters.py | 295 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-chroma-native-adapters.py | 297 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-chroma-native-adapters.py | 523 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-chroma-native-adapters.py | 525 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-chroma-native-adapters.py | 567 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-chroma-native-adapters.py | 569 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-chroma-native-adapters.py | 998 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-chroma-native-adapters.py | 1000 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-chroma-native-adapters.py | 1066 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-chroma-native-adapters.py | 1068 | # ============================================================ | COMMENT |
| MEDIUM | test/test-chroma-native-adapters.py | 85 | # ============================================================ | COMMENT |
| MEDIUM | test/test-chroma-native-adapters.py | 87 | # ============================================================ | COMMENT |
| MEDIUM | test/test-chroma-native-adapters.py | 697 | # ============================================================ | COMMENT |
| MEDIUM | test/test-chroma-native-adapters.py | 699 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-anima-native-adapters.py | 130 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-anima-native-adapters.py | 132 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-anima-native-adapters.py | 357 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-anima-native-adapters.py | 359 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-anima-native-adapters.py | 727 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-anima-native-adapters.py | 729 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-anima-native-adapters.py | 1144 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-anima-native-adapters.py | 1146 | # ============================================================ | COMMENT |
| MEDIUM | test/test-anima-native-adapters.py | 88 | # ============================================================ | COMMENT |
| MEDIUM | test/test-anima-native-adapters.py | 90 | # ============================================================ | COMMENT |
| MEDIUM | test/test-anima-native-adapters.py | 679 | # ============================================================ | COMMENT |
| MEDIUM | test/test-anima-native-adapters.py | 681 | # ============================================================ | COMMENT |
| MEDIUM | test/test-anima-native-adapters.py | 866 | # ============================================================ | COMMENT |
| MEDIUM | test/test-anima-native-adapters.py | 868 | # ============================================================ | COMMENT |
| 353 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webui.py | 108 | except Exception as e: | CODE |
| LOW | webui.py | 162 | except Exception: | CODE |
| LOW | webui.py | 232 | except Exception: | CODE |
| LOW | webui.py | 242 | except Exception: | CODE |
| LOW | webui.py | 264 | except Exception: | CODE |
| MEDIUM | installer.py | 134 | def package_version(package): | CODE |
| MEDIUM | installer.py | 141 | def package_spec(package): | CODE |
| MEDIUM | installer.py | 154 | def package_commit(spec): | CODE |
| MEDIUM | installer.py | 468 | def get_platform(): | CODE |
| MEDIUM | installer.py | 1548 | def try_relpath(p): | CODE |
| MEDIUM | installer.py | 1741 | def update_state(): | CODE |
| LOW⚡ | installer.py | 137 | except Exception: | CODE |
| LOW⚡ | installer.py | 144 | except Exception: | CODE |
| LOW⚡ | installer.py | 147 | except Exception: | CODE |
| LOW⚡ | installer.py | 150 | except Exception: | CODE |
| LOW⚡ | installer.py | 158 | except Exception: | CODE |
| LOW | installer.py | 91 | except Exception: | CODE |
| LOW | installer.py | 199 | except Exception as e: | CODE |
| LOW | installer.py | 283 | except Exception: | CODE |
| LOW | installer.py | 395 | except Exception: | CODE |
| LOW | installer.py | 421 | except Exception: | CODE |
| LOW | installer.py | 488 | except Exception as e: | CODE |
| LOW | installer.py | 655 | except Exception as e: | CODE |
| LOW | installer.py | 706 | except Exception as e: | CODE |
| LOW | installer.py | 711 | except Exception as e: | CODE |
| LOW | installer.py | 802 | except Exception as e: | CODE |
| LOW | installer.py | 948 | except Exception: | CODE |
| LOW | installer.py | 969 | except Exception as e: | CODE |
| LOW | installer.py | 988 | except Exception as e: | CODE |
| LOW | installer.py | 1012 | except Exception as e: | CODE |
| LOW | installer.py | 1027 | except Exception as e: | CODE |
| LOW | installer.py | 1030 | except Exception as e: | CODE |
| LOW | installer.py | 1063 | except Exception: | CODE |
| LOW | installer.py | 1092 | except Exception as e: | CODE |
| LOW | installer.py | 1157 | except Exception: | CODE |
| LOW | installer.py | 1172 | except Exception as e: | CODE |
| LOW | installer.py | 1212 | except Exception: | CODE |
| LOW | installer.py | 1438 | except Exception: | CODE |
| LOW | installer.py | 1445 | except Exception as e: | CODE |
| LOW | installer.py | 1464 | except Exception as e: | CODE |
| LOW | installer.py | 1473 | except Exception as e: | CODE |
| LOW | installer.py | 1485 | except Exception as e: | CODE |
| LOW | installer.py | 1515 | except Exception as e: | CODE |
| LOW | installer.py | 1542 | except Exception as e: | CODE |
| LOW | installer.py | 1574 | except Exception as e: | CODE |
| LOW | installer.py | 1624 | except Exception as e: | CODE |
| LOW | installer.py | 1655 | except Exception: | CODE |
| LOW | installer.py | 1666 | except Exception as e: | CODE |
| LOW | installer.py | 1677 | except Exception: | CODE |
| LOW | installer.py | 1699 | except Exception: | CODE |
| LOW | installer.py | 1716 | except Exception: | CODE |
| LOW | installer.py | 1723 | except Exception: | CODE |
| LOW | installer.py | 1737 | except Exception: | CODE |
| LOW | installer.py | 1749 | except Exception as e: | CODE |
| LOW | installer.py | 1812 | except Exception: | CODE |
| LOW | installer.py | 1849 | except Exception as e: | CODE |
| LOW | installer.py | 1858 | except Exception as e: | CODE |
| LOW | launch.py | 34 | except Exception: | CODE |
| LOW | launch.py | 87 | except Exception: | CODE |
| LOW | launch.py | 183 | except Exception: | STRING |
| 1089 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webui.py | 284 | CODE | |
| LOW | installer.py | 163 | CODE | |
| LOW | installer.py | 219 | CODE | |
| LOW | installer.py | 267 | CODE | |
| LOW | installer.py | 351 | CODE | |
| LOW | installer.py | 493 | CODE | |
| LOW | installer.py | 645 | CODE | |
| LOW | installer.py | 821 | CODE | |
| LOW | installer.py | 869 | CODE | |
| LOW | installer.py | 1109 | CODE | |
| LOW | installer.py | 1317 | CODE | |
| LOW | installer.py | 1404 | CODE | |
| LOW | installer.py | 1433 | CODE | |
| LOW | installer.py | 1493 | CODE | |
| LOW | installer.py | 1520 | CODE | |
| LOW | installer.py | 1547 | CODE | |
| LOW | installer.py | 1580 | CODE | |
| LOW | installer.py | 1683 | CODE | |
| LOW | installer.py | 1840 | CODE | |
| LOW | launch.py | 167 | CODE | |
| LOW | test/test-schedulers.py | 33 | CODE | |
| LOW | test/test-schedulers.py | 152 | CODE | |
| LOW | test/test-tagger.py | 489 | CODE | |
| LOW | test/test-compile.py | 45 | CODE | |
| LOW | test/test-compile.py | 68 | CODE | |
| LOW | test/test-compile.py | 115 | CODE | |
| LOW | test/test-compile.py | 149 | CODE | |
| LOW | test/benchmark_attention.py | 58 | CODE | |
| LOW | test/test-caption-api.py | 214 | CODE | |
| LOW | test/test-caption-api.py | 277 | CODE | |
| LOW | test/test-caption-api.py | 289 | CODE | |
| LOW | test/test-caption-api.py | 326 | CODE | |
| LOW | test/test-caption-api.py | 339 | CODE | |
| LOW | test/test-caption-api.py | 553 | CODE | |
| LOW | test/test-caption-api.py | 785 | CODE | |
| LOW | test/test-caption-api.py | 849 | CODE | |
| LOW | test/test-caption-api.py | 1122 | CODE | |
| LOW | test/test-caption-api.py | 1360 | CODE | |
| LOW | test/test-caption-api.py | 1744 | CODE | |
| LOW | test/test-caption-api.py | 1825 | CODE | |
| LOW | test/test-caption-api.py | 1894 | CODE | |
| LOW | test/test-caption-api.py | 2504 | CODE | |
| LOW | test/test-caption-api.py | 2630 | CODE | |
| LOW | test/test-reference.py | 79 | CODE | |
| LOW | pipelines/model_hidream.py | 94 | CODE | |
| LOW | pipelines/generic_text_encoder.py | 14 | CODE | |
| LOW | pipelines/generic_text_encoder.py | 76 | CODE | |
| LOW | pipelines/model_google.py | 73 | CODE | |
| LOW | pipelines/generic_test.py | 8 | CODE | |
| LOW | pipelines/native_transformer.py | 695 | CODE | |
| LOW | pipelines/native_transformer.py | 793 | CODE | |
| LOW | pipelines/model_flux.py | 9 | CODE | |
| LOW | pipelines/model_wanai.py | 26 | CODE | |
| LOW | pipelines/generic_transformer.py | 12 | CODE | |
| LOW | pipelines/model_qwen.py | 7 | CODE | |
| LOW | pipelines/krea2/pipeline_krea2.py | 150 | CODE | |
| LOW | pipelines/segmoe/segmoe_model.py | 144 | CODE | |
| LOW | pipelines/segmoe/segmoe_model.py | 874 | CODE | |
| LOW | pipelines/flux/flux2_lora.py | 199 | CODE | |
| LOW | pipelines/flux/flux2_lora.py | 228 | CODE | |
| 773 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ui/extraNetworks.ts | 141 | async function filterExtraNetworksForTab(searchTerm) { | CODE |
| LOW | ui/extraNetworks.ts | 240 | function tryToRemoveExtraNetworkFromPrompt(textarea, text) { | CODE |
| LOW | ui/extraNetworks.ts | 345 | function extraNetworksSearchButton(event) { | CODE |
| LOW | ui/extraNetworks.ts | 358 | function extraNetworksFilterVersion(event) { | CODE |
| LOW | ui/editAttention.ts | 15 | function selectCurrentParenthesisBlock(OPEN: string, CLOSE: string): boolean { | CODE |
| LOW | ui/contextMenus.ts | 76 | async function addContextMenuEventListener(): Promise<void> { | CODE |
| LOW | ui/gallery.ts | 105 | function updateGallerySelectionClasses(files = gallerySelection.files, index = gallerySelection.index) { | CODE |
| LOW | ui/gallery.ts | 144 | function setGallerySelectionByElement(element, options) { | CODE |
| LOW | ui/script.ts | 130 | function scheduleAfterUiUpdateCallbacks() { | CODE |
| LOW | ui/ui.ts | 660 | function consumeDesiredCheckpointName(v) { | CODE |
| LOW | ui/ui.ts | 706 | function currentImageResolutioncontrol(_a, _b, scaleBy) { | CODE |
| LOW | ui/js/iframeResizer.js | 89 | function setupRequestAnimationFrame() { | CODE |
| LOW | test/test-krea2-transformer.py | 115 | def load_materialize_zero_init(): | CODE |
| LOW | test/test-krea2-transformer.py | 170 | def run_comfy_quant_real_file(): | CODE |
| LOW⚡ | test/test-grading.py | 76 | def test_grading_params_defaults(): | CODE |
| LOW | test/test-grading.py | 114 | def test_grading_float_coercion(): | CODE |
| LOW | test/test-grading.py | 230 | def test_apply_shadows_midtones_highlights(): | CODE |
| LOW | test/test-grading.py | 248 | def test_grade_image_pipeline(): | CODE |
| LOW | test/test-grading.py | 287 | def test_grade_image_edge_cases(): | CODE |
| LOW | test/test-grading.py | 433 | def test_correction_early_clamp(): | CODE |
| LOW | test/test-grading.py | 446 | def test_correction_mid_color(): | CODE |
| LOW | test/test-grading.py | 462 | def test_correction_late_brightness(): | CODE |
| LOW | test/test-grading.py | 500 | def test_correction_multichannel(): | CODE |
| LOW | test/test-grading.py | 520 | def test_correction_shape_preservation(): | CODE |
| LOW | test/test-grading.py | 537 | def test_correction_step_ranges(): | CODE |
| LOW⚡ | test/test-flux2-native-adapters.py | 660 | def test_parse_key_all_prefixes(): | CODE |
| LOW⚡ | test/test-flux2-native-adapters.py | 909 | def test_lora_bare_bfl_format(): | CODE |
| LOW⚡ | test/test-flux2-native-adapters.py | 916 | def test_lora_peft_saved_fal_style(): | CODE |
| LOW⚡ | test/test-flux2-native-adapters.py | 925 | def test_lora_peft_saved_dreambooth_style(): | CODE |
| LOW⚡ | test/test-flux2-native-adapters.py | 1387 | def test_lora_calc_updown_shape(): | CODE |
| LOW⚡ | test/test-flux2-native-adapters.py | 1396 | def test_lokr_calc_updown_shape(): | CODE |
| LOW⚡ | test/test-flux2-native-adapters.py | 1405 | def test_lokr_chunk_calc_updown_shape(): | CODE |
| LOW⚡ | test/test-flux2-native-adapters.py | 1457 | def test_glora_calc_updown_shape(): | CODE |
| LOW⚡ | test/test-flux2-native-adapters.py | 1466 | def test_full_calc_updown_shape(): | CODE |
| LOW⚡ | test/test-flux2-native-adapters.py | 1476 | def test_dora_ordering_matches_lycoris(): | CODE |
| LOW⚡ | test/test-flux2-native-adapters.py | 1522 | def test_ex_bias_accumulation_two_norms(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 274 | def sd_lora_peft_saved_fal_style(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 288 | def sd_lora_peft_saved_dreambooth_style(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 302 | def sd_lora_peft_saved_diffusers_style(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 350 | def sd_lora_aitk_magnitude_dora(w_base): | CODE |
| LOW | test/test-flux2-native-adapters.py | 410 | def sd_lokr_simpletuner_lycoris_style(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 435 | def sd_lokr_bfl_extra_modules(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 682 | def test_resolve_targets_qkv_chunking(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 710 | def test_resolve_targets_extra_modules(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 725 | def test_parse_key_peft_wrapper_unwrap(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 754 | def test_parse_key_lycoris_prefix(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 778 | def test_parse_key_bare_diffusers_and_peft_default(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 815 | def test_marker_disambiguation(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 847 | def test_lora_kohya_fused_qkv_chunked(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 882 | def test_lora_onetrainer_diffusers_flat(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 938 | def test_lora_peft_saved_diffusers_style(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 965 | def test_lora_dora_fused_qkv_sliced(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 978 | def test_lokr_dora_fused_qkv_sliced(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 992 | def test_dora_per_input_fused_skipped(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 999 | def test_lora_diff_b_fused_qkv_sliced(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 1011 | def test_legacy_bias_fused_skipped(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 1021 | def test_lora_aitk_magnitude_dora(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 1046 | def test_lora_magnitude_fused_qkv_sliced(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 1059 | def test_lora_peft_magnitude_vector(): | CODE |
| LOW | test/test-flux2-native-adapters.py | 1074 | def test_lora_sparse_bias_residual(): | CODE |
| 753 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pipelines/generic_text_encoder.py | 76 | CODE | |
| LOW | pipelines/model_hyimage.py | 87 | CODE | |
| LOW | pipelines/native_transformer.py | 222 | CODE | |
| LOW | pipelines/model_stablecascade.py | 183 | CODE | |
| LOW | pipelines/generic_transformer.py | 12 | CODE | |
| LOW | pipelines/model_xomni.py | 53 | CODE | |
| LOW | pipelines/krea2/pipeline_krea2.py | 150 | CODE | |
| LOW | pipelines/krea2/transformer_krea2.py | 254 | CODE | |
| LOW | pipelines/bria/transformer_block.py | 234 | CODE | |
| LOW | pipelines/bria/transformer_block.py | 391 | CODE | |
| LOW | pipelines/bria/transformer_bria.py | 76 | CODE | |
| LOW | pipelines/bria/transformer_bria.py | 142 | CODE | |
| LOW | pipelines/bria/bria_pipeline.py | 112 | CODE | |
| LOW | pipelines/bria/bria_pipeline.py | 238 | CODE | |
| LOW | pipelines/anima/anima_image.py | 42 | CODE | |
| LOW | pipelines/anima/anima_image.py | 87 | CODE | |
| LOW | pipelines/anima/modeling_llm_adapter.py | 146 | CODE | |
| LOW | pipelines/anima/pipeline.py | 132 | CODE | |
| LOW | pipelines/anima/pipeline.py | 217 | CODE | |
| LOW | pipelines/ideogram/ideogram4.py | 510 | CODE | |
| LOW | pipelines/ideogram/patch_qwen.py | 9 | CODE | |
| LOW | pipelines/zetachroma/model.py | 688 | CODE | |
| LOW | pipelines/zetachroma/model.py | 304 | CODE | |
| LOW | pipelines/zetachroma/pipeline.py | 59 | CODE | |
| LOW | pipelines/zetachroma/pipeline.py | 222 | CODE | |
| LOW | pipelines/lens/pipeline_image.py | 110 | CODE | |
| LOW | pipelines/lens/pipeline_image.py | 180 | CODE | |
| LOW | pipelines/lens/transformer.py | 386 | CODE | |
| LOW | pipelines/lens/pipeline.py | 210 | CODE | |
| LOW | pipelines/lens/pipeline.py | 435 | CODE | |
| LOW | pipelines/omnigen2/image_processor.py | 48 | CODE | |
| LOW | pipelines/omnigen2/pipeline_omnigen2.py | 337 | CODE | |
| LOW | pipelines/omnigen2/pipeline_omnigen2.py | 452 | CODE | |
| LOW | …s/omnigen2/models/transformers/transformer_omnigen2.py | 206 | CODE | |
| LOW | pipelines/step1x/transformer_step1x_edit.py | 159 | CODE | |
| LOW | pipelines/step1x/transformer_step1x_edit.py | 408 | CODE | |
| LOW | pipelines/step1x/transformer_step1x_edit.py | 944 | CODE | |
| LOW | pipelines/step1x/transformer_step1x_edit.py | 1010 | CODE | |
| LOW | pipelines/step1x/pipeline_step1x_edit.py | 567 | CODE | |
| LOW | pipelines/step1x/pipeline_step1x_edit.py | 704 | CODE | |
| LOW | pipelines/xomni/modeling_vit.py | 193 | CODE | |
| LOW | pipelines/xomni/modeling_vit.py | 251 | CODE | |
| LOW | pipelines/xomni/modeling_xomni.py | 246 | CODE | |
| LOW | pipelines/xomni/modeling_siglip_flux.py | 237 | CODE | |
| LOW | pipelines/xomni/modeling_siglip_flux.py | 29 | CODE | |
| LOW | pipelines/xomni/modeling_siglip_flux.py | 66 | CODE | |
| LOW | pipelines/xomni/modeling_siglip_flux.py | 502 | CODE | |
| LOW | pipelines/wan/wan_image.py | 11 | CODE | |
| LOW | pipelines/meissonic/pipeline_inpaint.py | 88 | CODE | |
| LOW | pipelines/meissonic/pipeline_img2img.py | 83 | CODE | |
| LOW | pipelines/meissonic/transformer.py | 805 | CODE | |
| LOW | pipelines/meissonic/transformer.py | 1004 | CODE | |
| LOW | pipelines/meissonic/pipeline.py | 88 | CODE | |
| LOW | pipelines/hidream/hidream_e1.py | 329 | CODE | |
| LOW | pipelines/hidream/hidream_e1.py | 557 | CODE | |
| LOW | pipelines/hidream/hidream_e1.py | 761 | CODE | |
| LOW | pipelines/hidream/scheduler_flowunipc.py | 73 | CODE | |
| LOW | pipelines/hidream/qwen3_vl_transformers.py | 826 | CODE | |
| LOW | pipelines/hidream/qwen3_vl_transformers.py | 1574 | CODE | |
| LOW | pipelines/hidream/qwen3_vl_transformers.py | 1811 | CODE | |
| 375 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webui.py | 21 | CODE | |
| LOW | installer.py | 1906 | CODE | |
| LOW | test/test-chroma-native-adapters.py | 77 | CODE | |
| LOW | test/test-chroma-native-adapters.py | 78 | CODE | |
| LOW | test/test-chroma-native-adapters.py | 81 | CODE | |
| LOW | test/test-anima-native-adapters.py | 80 | CODE | |
| LOW | test/test-anima-native-adapters.py | 84 | CODE | |
| LOW | test/test-zimage-native-adapters.py | 64 | CODE | |
| LOW | test/test-zimage-native-adapters.py | 68 | CODE | |
| LOW | test/test-ernie-native-adapters.py | 66 | CODE | |
| LOW | test/test-ernie-native-adapters.py | 70 | CODE | |
| LOW | pipelines/model_nextstep.py | 2 | CODE | |
| LOW | pipelines/model_nextstep.py | 2 | CODE | |
| LOW | pipelines/model_nextstep.py | 2 | CODE | |
| LOW | pipelines/model_nextstep.py | 4 | CODE | |
| LOW | pipelines/generic.py | 1 | CODE | |
| LOW | pipelines/generic.py | 2 | CODE | |
| LOW | pipelines/generic.py | 3 | CODE | |
| LOW | pipelines/generic.py | 4 | CODE | |
| LOW | pipelines/generic.py | 4 | CODE | |
| LOW | pipelines/generic.py | 5 | CODE | |
| LOW | pipelines/generic_test.py | 4 | CODE | |
| LOW | pipelines/segmoe/segmoe_model.py | 3 | CODE | |
| LOW | pipelines/segmoe/segmoe_model.py | 3 | CODE | |
| LOW | pipelines/qwen/__init__.py | 15 | CODE | |
| LOW | pipelines/qwen/__init__.py | 16 | CODE | |
| LOW | pipelines/zetachroma/__init__.py | 1 | CODE | |
| LOW | pipelines/zetachroma/__init__.py | 1 | CODE | |
| LOW | pipelines/zetachroma/__init__.py | 1 | CODE | |
| LOW | pipelines/zetachroma/__init__.py | 1 | CODE | |
| LOW | pipelines/zetachroma/__init__.py | 1 | CODE | |
| LOW | pipelines/zetachroma/__init__.py | 8 | CODE | |
| LOW | pipelines/zetachroma/__init__.py | 8 | CODE | |
| LOW | pipelines/lens/reasoner.py | 17 | CODE | |
| LOW | pipelines/lens/__init__.py | 6 | CODE | |
| LOW | pipelines/lens/__init__.py | 8 | CODE | |
| LOW | pipelines/lens/__init__.py | 9 | CODE | |
| LOW | pipelines/lens/__init__.py | 9 | CODE | |
| LOW | pipelines/lens/text_encoder.py | 15 | CODE | |
| LOW | pipelines/lens/pipeline_image.py | 8 | CODE | |
| LOW | pipelines/lens/transformer.py | 7 | CODE | |
| LOW | pipelines/lens/pipeline.py | 9 | CODE | |
| LOW | pipelines/lens/resolution.py | 8 | CODE | |
| LOW | pipelines/omnigen2/__init__.py | 1 | CODE | |
| LOW | pipelines/omnigen2/__init__.py | 2 | CODE | |
| LOW | pipelines/omnigen2/__init__.py | 3 | CODE | |
| LOW | pipelines/omnigen2/pipeline_omnigen2.py | 43 | CODE | |
| LOW | pipelines/omnigen2/models/attention_processor.py | 19 | CODE | |
| LOW | pipelines/omnigen2/models/attention_processor.py | 21 | CODE | |
| LOW | pipelines/omnigen2/models/attention_processor.py | 21 | CODE | |
| LOW | pipelines/omnigen2/models/attention_processor.py | 21 | CODE | |
| LOW | pipelines/omnigen2/models/attention_processor.py | 25 | CODE | |
| LOW | pipelines/omnigen2/models/embeddings.py | 14 | CODE | |
| LOW | pipelines/omnigen2/models/embeddings.py | 14 | CODE | |
| LOW | pipelines/omnigen2/models/embeddings.py | 17 | CODE | |
| LOW | pipelines/omnigen2/models/transformers/__init__.py | 1 | CODE | |
| LOW | pipelines/omnigen2/models/transformers/block_lumina2.py | 16 | CODE | |
| LOW | pipelines/omnigen2/models/transformers/block_lumina2.py | 20 | CODE | |
| LOW | …s/omnigen2/models/transformers/transformer_omnigen2.py | 141 | CODE | |
| LOW | pipelines/step1x/__init__.py | 2 | CODE | |
| 389 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pipelines/bria/bria_pipeline.py | 261 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | pipelines/ideogram/ideogram4.py | 531 | Run text-to-image generation. Args: prompt (`str` or `list[str]`): Prompt( | STRING |
| HIGH | pipelines/omnigen2/pipeline_omnigen2.py | 265 | Get prompt embeddings from the Qwen2 text encoder. Args: prompt: The prompt or list of pro | STRING |
| HIGH | pipelines/step1x/pipeline_step1x_edit.py | 734 | Function invoked when calling the pipeline for generation. Args: image (`torch.Tensor`, `P | STRING |
| HIGH | pipelines/xomni/modeling_siglip_flux.py | 534 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | pipelines/meissonic/pipeline_inpaint.py | 112 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | pipelines/meissonic/pipeline_img2img.py | 106 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | pipelines/meissonic/pipeline.py | 112 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | pipelines/hidream/hidream_e1.py | 795 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | pipelines/ultraflux/pipeline_flux.py | 518 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | pipelines/vibe/vibe_sana_editing.py | 464 | Execute the forward pass of the VIBE Sana Editing Model. Args: hidden_states (torch.Tensor): Noisy | STRING |
| HIGH | pipelines/flex2/__init__.py | 88 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | pipelines/boogu/pipeline_boogu.py | 570 | Get interleaved instruction embeddings from VLM (self.mllm), aligned with training: - Build VLM inputs | STRING |
| HIGH | pipelines/boogu/pipeline_boogu_turbo.py | 519 | Get interleaved instruction embeddings from VLM (self.mllm), aligned with training: - Build VLM inputs | STRING |
| HIGH | scripts/differential_diffusion.py | 680 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | scripts/differential_diffusion.py | 1664 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | scripts/demofusion.py | 540 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | scripts/softfill.py | 971 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | scripts/infiniteyou/pipeline_flux_infusenet.py | 152 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | scripts/consistory/consistory_pipeline.py | 96 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | scripts/freescale/freescale_pipeline_img2img.py | 712 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | scripts/freescale/freescale_pipeline.py | 684 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | scripts/instantir/sdxl_instantir.py | 1114 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | scripts/mod/__init__.py | 811 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | scripts/pixelsmith/pixelsmith_pipeline.py | 1134 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | modules/errorlimiter.py | 51 | Limiter for aborting execution after being triggered a specified number of times (default 5). >>> with limit_errors | STRING |
| HIGH | modules/cfgzero/cogview4_pipeline.py | 449 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | modules/cfgzero/hunyuan_t2v_pipeline.py | 517 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | modules/cfgzero/flux_pipeline.py | 671 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | modules/cfgzero/wan_t2v_pipeline.py | 401 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | modules/cfgzero/sd3_pipeline.py | 825 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | modules/face/instantid_model.py | 584 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | modules/apg/pipeline_stable_cascade_prior_apg.py | 391 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | modules/apg/pipeline_stable_diffision_xl_apg.py | 832 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | modules/apg/pipeline_stable_diffusion_apg.py | 778 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | modules/control/proc/openpose/util.py | 202 | Detect hands in the input body pose keypoints and calculate the bounding box for each hand. Args: body | STRING |
| HIGH | modules/control/proc/openpose/util.py | 300 | Detect the face in the input body pose keypoints and calculate the bounding box for the face. Args: bo | STRING |
| HIGH | modules/control/units/xs_pipe.py | 709 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | modules/control/units/xs_pipe.py | 1645 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | modules/pag/pipe_sdxl.py | 1122 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | modules/pag/pipe_sd.py | 1088 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opti | STRING |
| HIGH | modules/schedulers/scheduler_vdm.py | 33 | Calculates the logarithm of the signal-to-noise ratio (SNR) for given time steps `t` under a specified beta sch | STRING |
| HIGH | modules/schedulers/scheduler_vdm.py | 157 | Computes the logarithm of the signal-to-noise ratio for given timesteps using the configured beta schedule. | STRING |
| HIGH | modules/schedulers/scheduler_vdm.py | 177 | Generates timesteps in the range [0, 1] for the continuous formulation. Args: num_steps (i | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ui/css/amethyst-nightfall.css | 81 | .progressDiv { border-radius: var(--radius-sm) !important; position: fixed; top: 44px; right: 26px; max-width: 262px; he | COMMENT |
| LOW | ui/css/timeless-beige.css | 101 | /* gradio elements overrides */ | COMMENT |
| LOW | ui/css/emerald-paradise.css | 101 | /* gradio elements overrides */ | COMMENT |
| LOW | ui/css/light-teal.css | 101 | /* gradio elements overrides */ | COMMENT |
| LOW | ui/css/invoked.css | 101 | /* gradio elements overrides */ | COMMENT |
| LOW | ui/css/black-orange.css | 101 | .performance { color: #888; } | COMMENT |
| LOW | ui/css/black-teal.css | 141 | .image-buttons > button { max-width: 160px; } | COMMENT |
| LOW | ui/css/midnight-barbie.css | 101 | #save-animation { border-radius: var(--radius-sm) !important; margin-bottom: 16px; background-color: #111111; } | COMMENT |
| LOW | ui/css/orchid-dreams.css | 101 | /* gradio elements overrides */ | COMMENT |
| LOW | ui/css/black-gray.css | 101 | #system_row > button, #settings_row > button, #config_row > button { max-width: 10em; } | COMMENT |
| LOW | ui/js/sha256.ts | 1 | // @ts-nocheck | COMMENT |
| LOW | pipelines/bria/transformer_block.py | 1 | # Copyright 2025 Black Forest Labs, The HuggingFace Team and The InstantX Team. All rights reserved. | COMMENT |
| LOW | pipelines/ideogram/ideogram4.py | 1 | # Copyright 2026 Ideogram AI and The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | pipelines/omnigen2/image_processor.py | 1 | # Copyright 2024 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | pipelines/omnigen2/models/embeddings.py | 1 | # Copyright 2024 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | pipelines/omnigen2/models/transformers/block_lumina2.py | 1 | COMMENT | |
| LOW | pipelines/step1x/pipeline_step1x_edit.py | 1 | # Copyright 2025 Step1X-Edit Team and The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | pipelines/meissonic/pipeline_inpaint.py | 1 | # Copyright 2024 The HuggingFace Team and The MeissonFlow Team. All rights reserved. | COMMENT |
| LOW | pipelines/meissonic/pipeline_img2img.py | 1 | # Copyright 2024 The HuggingFace Team and The MeissonFlow Team. All rights reserved. | COMMENT |
| LOW | pipelines/meissonic/transformer.py | 1 | # Copyright 2024 Black Forest Labs, The HuggingFace Team, The InstantX Team and The MeissonFlow Team. All rights reserve | COMMENT |
| LOW | pipelines/meissonic/pipeline.py | 1 | # Copyright 2024 The HuggingFace Team and The MeissonFlow Team. All rights reserved. | COMMENT |
| LOW | pipelines/meissonic/scheduler.py | 1 | # Copyright 2024 The HuggingFace Team and The MeissonFlow Team. All rights reserved. | COMMENT |
| LOW | pipelines/hidream/scheduler_flashfloweuler.py | 1 | # Copyright 2024 Stability AI, Katherine Crowson and The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | pipelines/lumina_dimmo/lumina_dimoo.py | 1 | # Licensed under the Apache License, Version 2.0 (the "License"); | COMMENT |
| LOW | pipelines/ultraflux/transformer_flux.py | 1 | # Copyright 2025 Black Forest Labs, The HuggingFace Team and The InstantX Team. All rights reserved. | COMMENT |
| LOW | pipelines/boogu/image_processor.py | 1 | # Copyright (C) 2026 Boogu Team. | COMMENT |
| LOW | …/scheduling_flow_match_euler_discrete_time_shifting.py | 1 | # Copyright (C) 2026 Boogu Team. | COMMENT |
| LOW | cli/search-docs.py | 141 | # log.info('Top result:') | COMMENT |
| LOW | scripts/i2i_folder.py | 81 | # with gr.Row(): | COMMENT |
| LOW | scripts/i2i_folder.py | 101 | # value=_upscaler_choices[0], | COMMENT |
| LOW | scripts/i2i_folder.py | 221 | img = img.convert('RGB') | COMMENT |
| LOW | scripts/example.py | 41 | # is pipeline ok to run in pure latent mode without implicit conversions | COMMENT |
| LOW | scripts/infiniteyou/pipeline_flux_infusenet.py | 1 | # Copyright (c) 2025 Bytedance Ltd. and/or its affiliates. | COMMENT |
| LOW | scripts/consistory/attention_processor.py | 1 | # Copyright 2023 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | scripts/consistory/consistory_unet_sdxl.py | 1 | # Copyright 2023 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | scripts/consistory/consistory_unet_sdxl.py | 881 | # upsample size should be forwarded when sample is not a multiple of `default_overall_up_factor` | COMMENT |
| LOW | scripts/consistory/consistory_pipeline.py | 1 | # Copyright 2023 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | scripts/consistory/utils/ptp_utils.py | 1 | # Copyright 2022 Google LLC | COMMENT |
| LOW | scripts/consistory/utils/ptp_utils.py | 21 | # in the Software without restriction, including without limitation the rights | COMMENT |
| LOW | scripts/consistory/utils/ptp_utils.py | 41 | # You may obtain a copy of the License at | COMMENT |
| LOW | scripts/consistory/utils/ptp_utils.py | 141 | COMMENT | |
| LOW | scripts/pulid/eva_clip/transform.py | 41 | COMMENT | |
| LOW | scripts/freescale/freescale_pipeline_img2img.py | 1061 | # "up_blocks.0.resnets.0.conv1", | COMMENT |
| LOW | scripts/freescale/freescale_pipeline.py | 1001 | # "down_blocks.1.resnets.0.conv2", | COMMENT |
| LOW | scripts/rocm/rocm_mgr.py | 21 | # Not an environment variable - always skipped during env application but preserved in the | COMMENT |
| LOW | scripts/rocm/rocm_mgr.py | 41 | } | COMMENT |
| LOW | scripts/instantir/lcm_single_step_scheduler.py | 1 | # Copyright 2023 Stanford University Team and The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | scripts/instantir/sdxl_instantir.py | 1 | # Copyright 2024 The InstantX Team. All rights reserved. | COMMENT |
| LOW | scripts/style_aligned/inversion.py | 1 | # Copyright 2023 Google LLC | COMMENT |
| LOW | scripts/style_aligned/sa_handler.py | 1 | # Copyright 2023 Google LLC | COMMENT |
| LOW | scripts/mod/__init__.py | 1 | # Copyright 2025 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | scripts/pixelsmith/vae.py | 1 | # Copyright 2023 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | modules/sub_quadratic_attention.py | 1 | # original source: | COMMENT |
| LOW | modules/prompt_parser_xhinker.py | 1 | ## ----------------------------------------------------------------------------- | COMMENT |
| LOW | modules/prompt_parser_xhinker.py | 681 | COMMENT | |
| LOW | modules/prompt_parser_xhinker.py | 1201 | # add weight method 1: | COMMENT |
| LOW | modules/prompt_parser_xhinker.py | 1361 | pipe.tokenizer_2, prompt2 | COMMENT |
| LOW | modules/cfgzero/cogview4_pipeline.py | 1 | # Copyright 2024 The CogVideoX team, Tsinghua University & ZhipuAI and The HuggingFace Team. | COMMENT |
| LOW | modules/cfgzero/hunyuan_t2v_pipeline.py | 1 | # Copyright 2024 The HunyuanVideo Team and The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | modules/cfgzero/wan_t2v_pipeline.py | 1 | # Copyright 2025 The Wan Team and The HuggingFace Team. All rights reserved. | COMMENT |
| 123 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | installer.py | 175 | return True # check for not equal always return true | CODE |
| HIGH | pipelines/vibe/vibe_sana_editing.py | 433 | - `hid_null` (torch.Tensor): Editing embeddings for the unconditional (null) branch. | STRING |
| HIGH | modules/civitai/models_civitai.py | 86 | # /model-versions/{id} serializes availability as null, which failed | COMMENT |
| HIGH | modules/civitai/models_civitai.py | 100 | # Deleted/anonymous creators serialize username as null, which failed | COMMENT |
| HIGH | modules/video_models/video_save.py | 298 | stream.output_queue.push(('progress', (None, 'Saving video...'))) | CODE |
| HIGH⚡ | modules/video_models/video_save.py | 340 | stream.output_queue.push(('progress', (None, f'Video {os.path.basename(output_video)} | Codec {mp4_codec | CODE |
| HIGH⚡ | modules/video_models/video_save.py | 341 | stream.output_queue.push(('file', output_video)) | CODE |
| HIGH⚡ | modules/video_models/video_save.py | 344 | stream.output_queue.push(('progress', (None, ''))) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 55 | stream.output_queue.push(('end', None)) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 95 | stream.output_queue.push(('progress', (None, 'Text encoding...'))) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 117 | stream.output_queue.push(('progress', (None, 'VAE encoding...'))) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 142 | stream.output_queue.push(('progress', (None, 'Vision encoding...'))) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 165 | stream.output_queue.push(('progress', (None, 'Interrupted...'))) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 166 | stream.output_queue.push(('end', None)) | CODE |
| HIGH⚡ | modules/framepack/framepack_worker.py | 186 | stream.output_queue.push(('progress', (preview, desc))) | CODE |
| HIGH⚡ | modules/framepack/framepack_worker.py | 199 | stream.output_queue.push(('progress', (None, desc))) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 212 | stream.output_queue.push(('progress', (None, 'Start sampling...'))) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 236 | stream.output_queue.push(('end', None)) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 379 | stream.output_queue.push(('end', None)) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pipelines/generic.py | 8 | __all__ = [ | CODE |
| LOW | pipelines/zetachroma/__init__.py | 11 | __all__ = [ | CODE |
| LOW | pipelines/zetachroma/pipeline.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipelines/lens/__init__.py | 44 | __all__ = [ | CODE |
| LOW | pipelines/lens/text_encoder.py | 30 | def set_selected_layers(self, layer_indices: Sequence[int]) -> None: | CODE |
| LOW | pipelines/omnigen2/models/transformers/__init__.py | 3 | __all__ = ["OmniGen2Transformer2DModel"] | CODE |
| LOW | pipelines/step1x/__init__.py | 10 | __all__ = [ | CODE |
| LOW | pipelines/xomni/modeling_vit.py | 417 | def set_grad_checkpointing(self, enable: bool = True) -> None: | CODE |
| LOW | pipelines/hidream/hidream_o1_utils.py | 351 | __all__ = [ | CODE |
| LOW | pipelines/f_lite/__init__.py | 9 | __all__ = ["APGConfig", "DiT", "FLITE_SPEC", "FLitePipeline", "FLitePipelineOutput"] | CODE |
| LOW | pipelines/f_lite/pipeline.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipelines/vibe/__init__.py | 11 | __all__ = ["VIBE_SPEC", "VIBESanaEditingModel", "VIBESanaEditingPipeline", "VIBESanaImagePipeline"] | CODE |
| LOW | scripts/daam/heatmap.py | 17 | __all__ = ['GlobalHeatMap', 'RawHeatMapCollection', 'WordHeatMap', 'ParsedHeatMap', 'SyntacticHeatMapPair'] | CODE |
| LOW | scripts/daam/trace.py | 21 | __all__ = ['trace', 'DiffusionHeatMapHooker', 'GlobalHeatMap'] | CODE |
| LOW | scripts/daam/hook.py | 10 | __all__ = ['ObjectHooker', 'ModuleLocator', 'AggregateHooker', 'UNetCrossAttentionLocator'] | CODE |
| LOW | scripts/daam/experiment.py | 15 | __all__ = ['GenerationExperiment', 'COCO80_LABELS', 'COCOSTUFF27_LABELS', 'COCO80_INDICES', 'build_word_list_coco80'] | CODE |
| LOW | scripts/daam/utils.py | 15 | __all__ = ['set_seed', 'compute_token_merge_indices', 'plot_mask_heat_map', 'cached_nlp', 'cache_dir', 'auto_device', 'a | CODE |
| LOW | scripts/daam/evaluate.py | 10 | __all__ = ['compute_iou', 'MeanEvaluator', 'load_mask', 'compute_ioa'] | CODE |
| LOW | scripts/lbm/__init__.py | 6 | __all__ = ["evaluate", "get_model", "extract_object", "resize_and_center_crop"] | CODE |
| LOW | scripts/lbm/inference.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/lbm/unets/__init__.py | 12 | __all__ = [ | CODE |
| LOW | scripts/lbm/lbm/__init__.py | 5 | __all__ = ["LBMModel", "LBMConfig"] | CODE |
| LOW | scripts/lbm/embedders/__init__.py | 5 | __all__ = ["LatentsConcatEmbedder", "LatentsConcatEmbedderConfig", "ConditionerWrapper"] | CODE |
| LOW | scripts/lbm/embedders/latents_concat/__init__.py | 5 | __all__ = ["LatentsConcatEmbedder", "LatentsConcatEmbedderConfig"] | CODE |
| LOW | scripts/lbm/embedders/base/__init__.py | 5 | __all__ = ["BaseConditioner", "BaseConditionerConfig"] | CODE |
| LOW | scripts/lbm/base/__init__.py | 5 | __all__ = ["BaseModel", "ModelConfig"] | CODE |
| LOW | scripts/lbm/vae/__init__.py | 5 | __all__ = ["AutoencoderKLDiffusers", "AutoencoderKLDiffusersConfig"] | CODE |
| LOW | scripts/pulid/eva_clip/openai.py | 15 | __all__ = ["list_openai_models", "load_openai_model"] | CODE |
| LOW | scripts/instantir/aggregator.py | 657 | def set_attention_slice(self, slice_size: Union[str, int, List[int]]) -> None: | STRING |
| LOW | scripts/instantir/aggregator.py | 754 | def _set_gradient_checkpointing(self, module, value: bool = False) -> None: | STRING |
| LOW | modules/images.py | 8 | __all__ = [ | CODE |
| LOW | modules/sdnq/__init__.py | 7 | __all__ = [ | CODE |
| LOW | modules/sharpfin/transforms.py | 35 | __all__ = ["ResizeKernel", "SharpenKernel", "QuantHandling"] | CODE |
| LOW | modules/res4lyf/pec_scheduler.py | 97 | def set_begin_index(self, begin_index: int = 0) -> None: | CODE |
| LOW | modules/res4lyf/abnorsett_scheduler.py | 97 | def set_begin_index(self, begin_index: int = 0) -> None: | CODE |
| LOW | modules/res4lyf/res_multistep_scheduler.py | 112 | def set_begin_index(self, begin_index: int = 0) -> None: | CODE |
| LOW | modules/res4lyf/res_singlestep_sde_scheduler.py | 90 | def set_begin_index(self, begin_index: int = 0) -> None: | CODE |
| LOW | modules/res4lyf/riemannian_flow_scheduler.py | 95 | def set_begin_index(self, begin_index: int = 0) -> None: | CODE |
| LOW | modules/res4lyf/res_singlestep_scheduler.py | 88 | def set_begin_index(self, begin_index: int = 0) -> None: | CODE |
| LOW | modules/res4lyf/etdrk_scheduler.py | 97 | def set_begin_index(self, begin_index: int = 0) -> None: | CODE |
| LOW | modules/res4lyf/bong_tangent_scheduler.py | 96 | def set_begin_index(self, begin_index: int = 0) -> None: | CODE |
| LOW | modules/res4lyf/__init__.py | 91 | __all__ = [ | CODE |
| LOW | modules/res4lyf/lawson_scheduler.py | 95 | def set_begin_index(self, begin_index: int = 0) -> None: | CODE |
| LOW | modules/res4lyf/langevin_dynamics_scheduler.py | 96 | def set_begin_index(self, begin_index: int = 0) -> None: | CODE |
| LOW | modules/res4lyf/res_multistep_sde_scheduler.py | 102 | def set_begin_index(self, begin_index: int = 0) -> None: | CODE |
| LOW | modules/res4lyf/common_sigma_scheduler.py | 99 | def set_begin_index(self, begin_index: int = 0) -> None: | CODE |
| LOW | modules/res4lyf/simple_exponential_scheduler.py | 95 | def set_begin_index(self, begin_index: int = 0) -> None: | CODE |
| LOW | modules/res4lyf/res_unified_scheduler.py | 84 | def set_begin_index(self, begin_index: int = 0) -> None: | CODE |
| LOW | modules/video_models/video_vae.py | 10 | def set_vae_params(p, slicing:bool=True, tiling:bool=True, framewise:bool=True) -> None: | CODE |
| LOW | modules/merging/merge_methods.py | 6 | __all__ = [ | CODE |
| LOW | modules/seedvr/src/core/__init__.py | 29 | __all__ = [ | STRING |
| LOW | modules/seedvr/src/common/distributed/advanced.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | modules/seedvr/src/common/distributed/__init__.py | 28 | __all__ = [ | CODE |
| LOW | …dules/seedvr/src/common/distributed/meta_init_utils.py | 19 | __all__ = ["meta_non_persistent_buffer_init_fn"] | CODE |
| LOW | modules/seedvr/src/common/diffusion/__init__.py | 33 | __all__ = [ | CODE |
| LOW | modules/control/proc/leres/leres/Resnext_torch.py | 10 | __all__ = ['resnext101_32x8d'] | CODE |
| LOW | modules/control/proc/leres/leres/Resnet.py | 4 | __all__ = ['ResNet', 'resnet18', 'resnet34', 'resnet50', 'resnet101', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/test-schedulers.py | 127 | diffs = np.diff(sigmas) # Check if potentially monotonic decreasing (standard) OR increasing (some flow/ | CODE |
| LOW⚡ | test/test-tagger.py | 687 | # Check if the exact tag was removed by parsing the filtered list | COMMENT |
| LOW | test/test-tagger.py | 595 | # Check if underscores are converted to spaces | COMMENT |
| LOW⚡ | test/test-caption-api.py | 856 | # Check if we have OpenCLIP models | COMMENT |
| LOW⚡ | test/test-caption-api.py | 940 | # Check if we have OpenCLIP models | COMMENT |
| LOW⚡ | test/test-caption-api.py | 1986 | # Check if we have OpenCLIP models (needed for caption endpoint) | COMMENT |
| LOW⚡ | test/test-caption-api.py | 2379 | # Check if the tag was removed | COMMENT |
| LOW⚡ | test/test-caption-api.py | 2751 | # Check if we have OpenCLIP models | COMMENT |
| LOW | test/test-caption-api.py | 244 | # Check if answer is just an error keyword or starts with one | COMMENT |
| LOW | test/test-caption-api.py | 258 | # Check if it's just punctuation | COMMENT |
| LOW | test/test-caption-api.py | 564 | # Check if we have OpenCLIP models | COMMENT |
| LOW | test/test-caption-api.py | 619 | # Check if we have OpenCLIP models | COMMENT |
| LOW | test/test-caption-api.py | 725 | # Check if we have OpenCLIP models | COMMENT |
| LOW | test/test-caption-api.py | 796 | # Check if we have OpenCLIP models | COMMENT |
| LOW | test/test-caption-api.py | 1232 | # Check if answer contains detection results (bounding boxes) | COMMENT |
| LOW | test/test-caption-api.py | 2009 | # Check if it's a model not found error vs other error | COMMENT |
| LOW | test/test-caption-api.py | 2269 | # Check if underscores are converted to spaces | COMMENT |
| LOW | test/test-caption-api.py | 3338 | # Check if any tests failed (excluding skipped) | COMMENT |
| LOW | pipelines/f_lite/pipeline.py | 221 | # Check if guidance is needed | COMMENT |
| LOW | scripts/prompt_enhance.py | 599 | prompt = prompt or (self.prompt.value if self.prompt else "") # Check if self.prompt is None | STRING |
| LOW | scripts/prompt_enhance.py | 640 | # Check if vision was requested but no image is available | STRING |
| LOW | scripts/nudenet_ext.py | 84 | if len(nudes.censored) > 0: # Check if there are any censored areas | CODE |
| LOW | …edders/latents_concat/latents_concat_embedder_model.py | 34 | # Check if image are of the same size | COMMENT |
| LOW | scripts/instantir/ip_adapter/ip_adapter.py | 131 | # Verify if the weights have changed | COMMENT |
| LOW | scripts/instantir/ip_adapter/ip_adapter.py | 169 | # Check if 'latents' exists in both the saved state_dict and the current model's state_dict | COMMENT |
| LOW | scripts/instantir/ip_adapter/ip_adapter.py | 172 | # Check if the shapes are mismatched | COMMENT |
| LOW | scripts/instantir/ip_adapter/ip_adapter.py | 191 | # Verify if the weights loaded to unet | COMMENT |
| LOW | scripts/instantir/ip_adapter/ip_adapter.py | 201 | # Verify if the weights have changed | COMMENT |
| LOW | modules/prompt_parser_xhinker.py | 1330 | # Check if padding is needed | COMMENT |
| LOW | modules/generation_parameters_copypaste.py | 181 | # Check if param should be skipped | COMMENT |
| LOW | modules/civitai/download_civitai.py | 108 | # Check if in queue (not yet started) | COMMENT |
| LOW | modules/civitai/download_civitai.py | 117 | # Check if active | COMMENT |
| LOW | modules/civitai/download_civitai.py | 172 | # Check if already exists | COMMENT |
| LOW | modules/intel/openvino/__init__.py | 441 | # Check if the model was fully supported and already cached | COMMENT |
| LOW | modules/intel/openvino/__init__.py | 506 | # Check if the model is fully supported. | COMMENT |
| LOW | modules/caption/vqa.py | 113 | # Check if it's a Florence-specific friendly name (base or PromptGen) | COMMENT |
| LOW | modules/caption/vqa.py | 116 | # Check if it's an internal Florence-2 task token (for backwards compatibility) | COMMENT |
| LOW | modules/caption/vqa.py | 1481 | # Check if this is a mode that requires user input (Point/Detect) | COMMENT |
| LOW | modules/postprocess/aurasr_arch.py | 758 | # Check if model_id is a local file | COMMENT |
| LOW | modules/seedvr/src/optimization/performance.py | 61 | # Check if all 4D videos have the same shape for maximum optimization | COMMENT |
| LOW | modules/control/proc/leres/leres/depthmap.py | 233 | # Check if patching is beneficial by comparing the gradient density of the patch to | COMMENT |
| LOW | modules/control/proc/leres/leres/depthmap.py | 249 | # Check if we are still within the image | COMMENT |
| LOW | modules/control/proc/leres/leres/depthmap.py | 426 | # Check if Local boosting is beneficial. | COMMENT |
| LOW | modules/control/proc/segment_anything/utils/amg.py | 240 | # Check if boxes has a channel dimension | COMMENT |
| LOW | modules/control/proc/segment_anything/utils/amg.py | 249 | # Check if points has a channel dimension | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/scheduling_flow_match_euler_discrete_time_shifting.py | 3 | # This file is adapted by Boogu Team from prior open-source scheduler work. | COMMENT |
| MEDIUM | scripts/prompt_enhance.py | 646 | # Create a copy to avoid modifying the original image used by img2img | STRING |
| MEDIUM | scripts/lbm/embedders/base/base_conditioner.py | 29 | # Create the conditioner config | STRING |
| MEDIUM | scripts/lbm/embedders/base/base_conditioner.py | 35 | # Create the conditioner | STRING |
| MEDIUM | scripts/infiniteyou/pipeline_infu_flux.py | 132 | # Create a new image with white background | COMMENT |
| MEDIUM | modules/civitai/metadata_civitai.py | 140 | # Create a new dict for each append to avoid mutation bugs | STRING |
| MEDIUM | modules/intel/openvino/__init__.py | 435 | # Create a hash to be used for caching | COMMENT |
| MEDIUM | modules/caption/joytag.py | 437 | # The below method is a nice trick to generate a batch of random permutations. | COMMENT |
| MEDIUM | modules/caption/vqa_detection.py | 308 | # Create a copy to avoid modifying original | COMMENT |
| MEDIUM | modules/ben2/ben2_model.py | 1137 | # Define the image transformation | COMMENT |
| MEDIUM | modules/sharpfin/functional.py | 162 | # Create a grid of relative distances between each point on this axis. | COMMENT |
| MEDIUM | modules/ras/ras_scheduler.py | 1 | # This file is a modified version of the original file from the HuggingFace/diffusers library. | COMMENT |
| MEDIUM | modules/rembg/ben2_model.py | 1129 | # Define the image transformation | COMMENT |
| MEDIUM | modules/postprocess/aurasr_arch.py | 729 | # Create an empty tensor to hold the merged image | COMMENT |
| MEDIUM | modules/merging/merge_methods.py | 22 | EPSILON = 1e-10 # Define a small constant EPSILON to prevent division by zero | CODE |
| MEDIUM | modules/seedvr/src/models/dit/attention.py | 28 | # Create an empty tensor to store the output. | COMMENT |
| MEDIUM | modules/seedvr/src/models/dit_v2/attention.py | 28 | # Create an empty tensor to store the output. | COMMENT |
| MEDIUM | …proc/zoe/zoedepth/models/zoedepth_nk/zoedepth_nk_v1.py | 126 | # Create a map (ModuleDict) of 'name' -> seed_bin_regressor | COMMENT |
| MEDIUM | …proc/zoe/zoedepth/models/zoedepth_nk/zoedepth_nk_v1.py | 139 | # Create a map (ModuleDict) of 'name' -> attractors (ModuleList) | COMMENT |
| MEDIUM | modules/control/proc/leres/pix2pix/models/base_model.py | 13 | """This class is an abstract base class (ABC) for models. | STRING |
| MEDIUM | modules/schedulers/scheduler_dpm_flowmatch.py | 519 | # Create a noise sampler if it hasn't been created yet | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pipelines/hidream/hidream_o1_utils.py | 181 | z = (z - center) / torch.clamp(half_range * headroom, min=0.35) # Balanced robust remap: moderate compressio | CODE |
| LOW | pipelines/ultraflux/vae.py | 772 | inds[inds >= self.used.shape[0]] = 0 # simply set to zero | CODE |
| LOW | scripts/ultimate-upscale.py | 44 | # Its just return, don't need elif | COMMENT |
| MEDIUM | scripts/pulid/eva_clip/tokenizer.py | 197 | # adding lower (for case-sensitive tokenizers) will make it more robust but less sensitive to nuance | COMMENT |
| LOW | scripts/pixelsmith/vae.py | 709 | inds[inds >= self.used.shape[0]] = 0 # simply set to zero | CODE |
| LOW | modules/processing_helpers.py | 536 | return args[0] # just return image to skip re-processing it | CODE |
| LOW | modules/caption/waifudiffusion.py | 350 | # For now, just return the static list | COMMENT |
| LOW | modules/caption/vqa.py | 1296 | # When keep_thinking is False, just use the answer (reasoning is discarded) | COMMENT |
| MEDIUM | modules/res4lyf/rungekutta_44s_scheduler.py | 160 | # Use argmin for robust float matching | COMMENT |
| MEDIUM | modules/res4lyf/scheduler_utils.py | 114 | # Normalize inputs to numpy arrays for a robust, device-agnostic argmin | COMMENT |
| MEDIUM⚡ | modules/lora/lora_convert.py | 254 | # not utilize it yet. | COMMENT |
| LOW | modules/lora/extra_networks_lora.py | 18 | if len(steps[0]) == 1: # If we just got a single number, just return it | CODE |
| MEDIUM | modules/control/proc/leres/leres/depthmap.py | 540 | # We use a simple Gaussian mask to blend the merged patch region with the base estimate to ensure seamless | COMMENT |
| MEDIUM | modules/schedulers/perflow/scheduler_perflow.py | 39 | # robust to numerical error; e.g, (0.6+1/10000) belongs to [0.6, 0.3) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | modules/control/proc/segment_anything/utils/onnx.py | 72 | ) * self.model.prompt_encoder.no_mask_embed.weight.reshape(1, -1, 1, 1) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pipelines/boogu/transformer_boogu.py | 1071 | # Step 1: modulation for both streams. | COMMENT |
| LOW | pipelines/boogu/transformer_boogu.py | 1084 | # Step 2: joint attention on [instruct + img]. The module dispatches to its double-stream processor. | COMMENT |
| LOW⚡ | pipelines/boogu/transformer_boogu.py | 1101 | # Step 3: image self-attention. | COMMENT |
| LOW⚡ | pipelines/boogu/transformer_boogu.py | 1109 | # Step 4: residual updates. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pipelines/boogu/transformer_boogu.py | 1071 | # Step 1: modulation for both streams. | COMMENT |
| LOW | pipelines/boogu/transformer_boogu.py | 1084 | # Step 2: joint attention on [instruct + img]. The module dispatches to its double-stream processor. | COMMENT |
| LOW⚡ | pipelines/boogu/transformer_boogu.py | 1101 | # Step 3: image self-attention. | COMMENT |
| LOW⚡ | pipelines/boogu/transformer_boogu.py | 1109 | # Step 4: residual updates. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/api/models.py | 38 | dummy_value = None | CODE |
| LOW | modules/control/proc/leres/pix2pix/models/networks.py | 292 | def cal_gradient_penalty(netD, real_data, fake_data, device, type='mixed', constant=1.0, lambda_gp=10.0): | CODE |
| LOW | modules/control/proc/leres/pix2pix/models/networks.py | 298 | fake_data (tensor array) -- generated images from the generator | STRING |
| LOW | modules/control/proc/leres/pix2pix/models/networks.py | 310 | interpolatesv = fake_data | CODE |
| LOW | modules/control/proc/leres/pix2pix/models/networks.py | 314 | interpolatesv = alpha * real_data + ((1 - alpha) * fake_data) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | modules/errorlimiter.py | 57 | >>> elimit() # In this example, raises ErrorLimiterAbort on the 5th call | STRING |