SD.Next: All-in-one WebUI for AI generative image and video creation, captioning and processing
This report summarizes scanner evidence for vladmandic/sdnext, a Python project with 7,350 GitHub stars. SynthScan examined 1,029,010 lines of code across 1526 source files, recording 6091 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 9.7 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 2973 finding(s).
Are imports declared and package/API names verified? 557 finding(s).
Are wrappers, guards, and repeated structures necessary? 4302 finding(s).
Which changes need focused human review? 6091 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 6091 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| 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-video-registry.py | 131 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-video-registry.py | 133 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-video-registry.py | 182 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-video-registry.py | 184 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-script-args.py | 109 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-script-args.py | 111 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-script-args.py | 159 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-script-args.py | 161 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-script-args.py | 201 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-script-args.py | 203 | # ============================================================ | COMMENT |
| MEDIUM | test/test-xyz-attention.py | 114 | # ============================================================ | COMMENT |
| MEDIUM | test/test-xyz-attention.py | 116 | # ============================================================ | 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-attention-sparse.py | 103 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-attention-sparse.py | 105 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-attention-sparse.py | 191 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-attention-sparse.py | 193 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-attention-sparse.py | 321 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/test-attention-sparse.py | 323 | # ============================================================ | COMMENT |
| MEDIUM | test/test-attention-sparse.py | 402 | # ============================================================ | COMMENT |
| MEDIUM | test/test-attention-sparse.py | 404 | # ============================================================ | 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 |
| 587 more matches not shown… | ||||
| 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 | context manager: writes a state dict to a temp safetensors file. | STRING |
| HIGH | test/test-minimax-native-adapters.py | 0 | context manager: writes a state dict to a temp safetensors file. | STRING |
| HIGH | test/test-krea2-native-adapters.py | 0 | context manager: writes a state dict to a temp safetensors file. | STRING |
| HIGH | test/test-ernie-native-adapters.py | 0 | context manager: writes a state dict to a temp safetensors file. | 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/krea2/pipeline_krea2_inpaint.py | 0 | set custom sigma schedule, return first sigma after scheduler shift. | STRING |
| HIGH | pipelines/anima/anima_image.py | 0 | set custom sigma schedule, return first sigma after scheduler shift. | STRING |
| HIGH | pipelines/ernie/ernie_image.py | 0 | set custom sigma schedule, return first sigma after scheduler shift. | 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/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/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 | 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 | 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/mageflow/pipeline_output.py | 0 | output class for flitepipeline pipeline. args: images (`list[pil.image.image]` or `np.ndarray`) list of denoised pil ima | STRING |
| HIGH | pipelines/step1x/pipeline_output.py | 0 | output class for flitepipeline pipeline. args: images (`list[pil.image.image]` or `np.ndarray`) list of denoised pil ima | STRING |
| HIGH | pipelines/f_lite/pipeline.py | 0 | output class for flitepipeline pipeline. args: images (`list[pil.image.image]` or `np.ndarray`) list of denoised pil ima | STRING |
| HIGH | pipelines/mageflow/pipeline_mage_flow.py | 0 | calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. handles custom t | 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 |
| 305 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webui.py | 114 | except Exception as e: | CODE |
| LOW | webui.py | 175 | except Exception: | CODE |
| LOW | webui.py | 275 | except Exception: | CODE |
| LOW | webui.py | 285 | except Exception: | CODE |
| LOW | webui.py | 307 | except Exception: | CODE |
| MEDIUM | installer.py | 151 | def package_version(package): | CODE |
| MEDIUM | installer.py | 158 | def package_spec(package): | CODE |
| MEDIUM | installer.py | 171 | def package_commit(spec): | CODE |
| MEDIUM | installer.py | 494 | def get_platform(): | CODE |
| MEDIUM | installer.py | 1632 | def try_relpath(p): | CODE |
| MEDIUM | installer.py | 1825 | def update_state(): | CODE |
| LOW⚡ | installer.py | 154 | except Exception: | CODE |
| LOW⚡ | installer.py | 161 | except Exception: | CODE |
| LOW⚡ | installer.py | 164 | except Exception: | CODE |
| LOW⚡ | installer.py | 167 | except Exception: | CODE |
| LOW⚡ | installer.py | 175 | except Exception: | CODE |
| LOW⚡ | installer.py | 1079 | except Exception as e: | CODE |
| LOW⚡ | installer.py | 1088 | except Exception as e: | CODE |
| LOW⚡ | installer.py | 1095 | except Exception as e: | CODE |
| LOW | installer.py | 101 | except Exception: | CODE |
| LOW | installer.py | 216 | except Exception as e: | CODE |
| LOW | installer.py | 300 | except Exception: | CODE |
| LOW | installer.py | 412 | except Exception: | CODE |
| LOW | installer.py | 447 | except Exception: | CODE |
| LOW | installer.py | 514 | except Exception as e: | CODE |
| LOW | installer.py | 706 | except Exception as e: | CODE |
| LOW | installer.py | 753 | except Exception as e: | CODE |
| LOW | installer.py | 758 | except Exception as e: | CODE |
| LOW | installer.py | 863 | except Exception as e: | CODE |
| LOW | installer.py | 1001 | except Exception: | CODE |
| LOW | installer.py | 1007 | except Exception: | CODE |
| LOW | installer.py | 1028 | except Exception as e: | CODE |
| LOW | installer.py | 1056 | except Exception as e: | CODE |
| LOW | installer.py | 1128 | except Exception: | CODE |
| LOW | installer.py | 1157 | except Exception as e: | CODE |
| LOW | installer.py | 1222 | except Exception: | CODE |
| LOW | installer.py | 1237 | except Exception as e: | CODE |
| LOW | installer.py | 1277 | except Exception: | CODE |
| LOW | installer.py | 1507 | except Exception: | CODE |
| LOW | installer.py | 1514 | except Exception as e: | CODE |
| LOW | installer.py | 1533 | except Exception as e: | CODE |
| LOW | installer.py | 1543 | except Exception as e: | CODE |
| LOW | installer.py | 1556 | except Exception as e: | CODE |
| LOW | installer.py | 1567 | except Exception as e: | CODE |
| LOW | installer.py | 1598 | except Exception as e: | CODE |
| LOW | installer.py | 1626 | except Exception as e: | CODE |
| LOW | installer.py | 1658 | except Exception as e: | CODE |
| LOW | installer.py | 1708 | except Exception as e: | CODE |
| LOW | installer.py | 1739 | except Exception: | CODE |
| LOW | installer.py | 1750 | except Exception as e: | CODE |
| LOW | installer.py | 1761 | except Exception: | CODE |
| LOW | installer.py | 1783 | except Exception: | CODE |
| LOW | installer.py | 1800 | except Exception: | CODE |
| LOW | installer.py | 1807 | except Exception: | CODE |
| LOW | installer.py | 1821 | except Exception: | CODE |
| LOW | installer.py | 1833 | except Exception as e: | CODE |
| LOW | installer.py | 1896 | except Exception: | CODE |
| LOW | installer.py | 1933 | except Exception as e: | CODE |
| LOW | installer.py | 1942 | except Exception as e: | CODE |
| LOW | launch.py | 34 | except Exception: | CODE |
| 1213 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ui/extraNetworks.ts | 202 | async function filterExtraNetworksForTab(searchTerm) { | CODE |
| LOW | ui/extraNetworks.ts | 310 | function tryToRemoveExtraNetworkFromPrompt(textarea, text) { | CODE |
| LOW | ui/extraNetworks.ts | 416 | function extraNetworksSearchButton(event) { | CODE |
| LOW | ui/extraNetworks.ts | 429 | 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 | 108 | function updateGallerySelectionClasses(files = gallerySelection.files, index = gallerySelection.index) { | CODE |
| LOW | ui/gallery.ts | 147 | function setGallerySelectionByElement(element, options) { | CODE |
| LOW | ui/script.ts | 131 | function scheduleAfterUiUpdateCallbacks() { | CODE |
| LOW | ui/ui.ts | 674 | function consumeDesiredCheckpointName(v) { | CODE |
| LOW | ui/ui.ts | 720 | function currentImageResolutioncontrol(_a, _b, scaleBy) { | CODE |
| LOW | ui/js/iframeResizer.js | 89 | function setupRequestAnimationFrame() { | CODE |
| LOW | test/test-krea2-transformer.py | 116 | def load_materialize_zero_init(): | CODE |
| LOW | test/test-krea2-transformer.py | 155 | def run_dense_prompt_compaction_test(): | CODE |
| LOW | test/test-krea2-transformer.py | 185 | def run_attention_mask_none_forward_test(port): | CODE |
| LOW | test/test-krea2-transformer.py | 255 | 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-video-registry.py | 135 | def test_registry_is_populated(): | CODE |
| LOW⚡ | test/test-video-registry.py | 140 | def test_sentinels_name_no_model(): | CODE |
| LOW⚡ | test/test-video-registry.py | 146 | def test_accessors_exclude_sentinels(): | CODE |
| LOW⚡ | test/test-video-registry.py | 155 | def test_find_rejects_sentinels(): | CODE |
| LOW⚡ | test/test-video-registry.py | 160 | def test_find_is_case_insensitive(): | CODE |
| LOW⚡ | test/test-video-registry.py | 167 | def test_find_rejects_unknown_names(): | CODE |
| LOW⚡ | test/test-video-registry.py | 174 | def test_rows_are_unique_within_an_engine(): | CODE |
| LOW⚡ | test/test-video-registry.py | 186 | def test_every_row_classifies(): | CODE |
| LOW⚡ | test/test-video-registry.py | 192 | def test_mode_matches_the_ladder_it_replaced(): | CODE |
| LOW⚡ | test/test-video-registry.py | 240 | def test_mode_resolves_from_a_class_object(): | CODE |
| LOW⚡ | test/test-video-registry.py | 248 | def test_mode_resolves_a_custom_pipeline(): | CODE |
| LOW⚡ | test/test-video-registry.py | 253 | def test_missing_row_is_unknown(): | CODE |
| LOW⚡ | test/test-video-registry.py | 258 | def test_class_table_has_no_stale_entries(): | CODE |
| LOW | test/test-video-registry.py | 203 | def test_the_ladder_blind_spot_is_the_condition_rows(): | CODE |
| LOW | test/test-video-registry.py | 210 | def test_named_modes_win_over_the_pipeline_class(): | CODE |
| LOW | test/test-video-registry.py | 226 | def test_workflow_rows_report_workflow(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 127 | def test_core_takes_only_model_positionally(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 134 | def test_core_parameter_names(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 141 | def test_core_returns_video_result(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 147 | def test_adapter_signature_is_frozen(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 154 | def test_adapter_still_absorbs_extra_arguments(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 162 | def test_adapter_is_a_generator(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 184 | def test_empty_model_rejected_before_load(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 191 | def test_separator_rejected_before_load(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 198 | def test_missing_av_rejected_before_load(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 268 | def test_adapter_yields_the_video_path_on_success(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 287 | def test_adapter_renames_into_the_core(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 309 | def test_adapter_reports_a_typed_failure_as_text(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 325 | def test_open_condition_does_not_read_paths(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 338 | def test_open_condition_passes_images_through(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 346 | def test_pixel_size_over_both_frame_shapes(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 355 | def test_pixel_size_falls_back_when_nothing_decoded(): | CODE |
| LOW⚡ | test/test-ltx-core.py | 362 | def test_phase_ends_its_job_when_the_body_raises(): | CODE |
| 1241 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | webui.py | 307 | except Exception: | CODE |
| HIGH | webui.py | 175 | except Exception: | CODE |
| HIGH | installer.py | 300 | except Exception: | CODE |
| HIGH | installer.py | 447 | except Exception: | CODE |
| HIGH | installer.py | 1128 | except Exception: | CODE |
| HIGH | installer.py | 1783 | except Exception: | CODE |
| HIGH | installer.py | 1807 | except Exception: | CODE |
| HIGH | installer.py | 1001 | except Exception: | CODE |
| HIGH | installer.py | 1007 | except Exception: | CODE |
| HIGH | installer.py | 1507 | except Exception: | CODE |
| HIGH | launch.py | 245 | except Exception: | CODE |
| HIGH | launch.py | 182 | except Exception: | CODE |
| HIGH | test/test-ltx-core.py | 224 | except RuntimeError: | CODE |
| HIGH | test/test-ltx-core.py | 368 | except RuntimeError: | CODE |
| HIGH | test/test-samplers-api.py | 279 | except (ValueError, TypeError): | CODE |
| HIGH | test/test-samplers-api.py | 292 | except ValueError: | CODE |
| HIGH | test/test-pdd.py | 501 | except AttributeError: | CODE |
| HIGH | test/test-attention-router.py | 523 | except RuntimeError: | CODE |
| HIGH | test/test-native-transformer.py | 1060 | except nt.OverrideArchMismatch: | CODE |
| HIGH | test/test-video-api.py | 74 | except Exception: | CODE |
| HIGH | test/test-video-api.py | 90 | except Exception: | CODE |
| HIGH | pipelines/generic_text_encoder.py | 217 | except Exception: | CODE |
| HIGH | pipelines/generic_transformer.py | 206 | except Exception: | CODE |
| HIGH | pipelines/segmoe/segmoe_model.py | 854 | except Exception: | CODE |
| HIGH | pipelines/flux/flux2_lora.py | 394 | except Exception: | CODE |
| HIGH | pipelines/z_image/zimage_lora.py | 76 | except Exception: | CODE |
| HIGH | pipelines/hidream/hidream_o1.py | 36 | except ImportError: | CODE |
| HIGH | pipelines/lumina_dimmo/lumina_dimoo.py | 682 | except ModuleNotFoundError: | CODE |
| HIGH | pipelines/ultraflux/pipeline_flux.py | 737 | except (ValueError, TypeError): | CODE |
| HIGH | pipelines/boogu/pipeline_boogu.py | 419 | except TypeError: | CODE |
| HIGH | pipelines/boogu/pipeline_boogu_turbo.py | 367 | except TypeError: | CODE |
| HIGH | cli/api-video.py | 44 | except Exception: | CODE |
| HIGH | cli/image-exif.py | 105 | except Exception: | CODE |
| HIGH | cli/image-exif.py | 40 | except Exception: | CODE |
| HIGH | cli/image-exif.py | 79 | except Exception: | CODE |
| HIGH | cli/util.py | 68 | except Exception: | CODE |
| HIGH | cli/api-control.py | 57 | except Exception: | CODE |
| HIGH | cli/model-keys.py | 22 | except Exception: | CODE |
| HIGH | cli/model-keys.py | 36 | except Exception: | CODE |
| HIGH | cli/model-metadata.py | 26 | except Exception: | CODE |
| HIGH | cli/sdnq-attention-benchmark.py | 480 | except Exception: | CODE |
| HIGH | cli/sdnq-attention-benchmark.py | 491 | except Exception: | CODE |
| HIGH | cli/sdnq-attention-benchmark.py | 439 | except OSError: | CODE |
| HIGH | cli/sdnq-attention-benchmark.py | 1163 | except Exception: | CODE |
| HIGH | cli/sdnq-attention-benchmark.py | 1862 | except Exception: | CODE |
| HIGH | cli/sdnq-attention-benchmark.py | 1664 | except Exception: | CODE |
| HIGH | cli/sdnq-attention-benchmark.py | 1642 | except Exception: | CODE |
| HIGH | cli/image-watermark.py | 29 | except Exception: | CODE |
| HIGH | cli/image-watermark.py | 35 | except Exception: | CODE |
| HIGH | cli/image-search.py | 185 | except Exception as _e: | CODE |
| HIGH | cli/image-search.py | 163 | except Exception: | CODE |
| HIGH | cli/sdapi.py | 167 | except Exception: | CODE |
| HIGH | cli/api-watermark.py | 54 | except Exception: | CODE |
| HIGH | cli/lora-quant-fidelity.py | 234 | except Exception: | CODE |
| HIGH | scripts/ultimate-upscale.py | 465 | except Exception: | CODE |
| HIGH | scripts/daam/heatmap.py | 140 | except ValueError: | CODE |
| HIGH | scripts/daam/heatmap.py | 151 | except ValueError: | CODE |
| HIGH | scripts/daam/experiment.py | 202 | except FileNotFoundError: | CODE |
| HIGH | scripts/daam/experiment.py | 254 | except Exception: | CODE |
| HIGH | scripts/daam/experiment.py | 331 | except Exception: | CODE |
| 148 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webui.py | 386 | CODE | |
| LOW | installer.py | 180 | CODE | |
| LOW | installer.py | 236 | CODE | |
| LOW | installer.py | 284 | CODE | |
| LOW | installer.py | 368 | CODE | |
| LOW | installer.py | 519 | CODE | |
| LOW | installer.py | 697 | CODE | |
| LOW | installer.py | 882 | CODE | |
| LOW | installer.py | 930 | CODE | |
| LOW | installer.py | 1174 | CODE | |
| LOW | installer.py | 1377 | CODE | |
| LOW | installer.py | 1473 | CODE | |
| LOW | installer.py | 1502 | CODE | |
| LOW | installer.py | 1575 | CODE | |
| LOW | installer.py | 1603 | CODE | |
| LOW | installer.py | 1631 | CODE | |
| LOW | installer.py | 1664 | CODE | |
| LOW | installer.py | 1767 | CODE | |
| LOW | installer.py | 1924 | CODE | |
| LOW | launch.py | 166 | CODE | |
| LOW | test/test-refiner-prompt-restore.py | 33 | CODE | |
| LOW | test/test-schedulers.py | 33 | CODE | |
| LOW | test/test-schedulers.py | 152 | CODE | |
| LOW | test/test-sdnq-lora-factors.py | 1223 | CODE | |
| LOW | test/test-sdnq-lora-factors.py | 1476 | CODE | |
| LOW | test/test-sdnq-lora-factors.py | 2216 | CODE | |
| LOW | test/test-sdnq-lora-factors.py | 2259 | CODE | |
| LOW | test/test-sdnq-lora-factors.py | 2750 | CODE | |
| LOW | test/test-tagger.py | 489 | CODE | |
| LOW | test/test-attention-router.py | 179 | 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-offload-roles.py | 617 | CODE | |
| LOW | test/test-video-references.py | 165 | 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 | 87 | CODE | |
| LOW | pipelines/model_google.py | 74 | CODE | |
| LOW | pipelines/generic_test.py | 8 | CODE | |
| LOW | pipelines/native_transformer.py | 709 | CODE | |
| LOW | pipelines/native_transformer.py | 807 | CODE | |
| 834 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | installer.py | 1990 | 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-pdd.py | 46 | CODE | |
| LOW | test/test-qwen21-native-adapters.py | 64 | CODE | |
| LOW | test/test-attention-sdnq-sparse.py | 104 | CODE | |
| LOW | test/test-video-references.py | 58 | CODE | |
| LOW | test/test-video-references.py | 193 | CODE | |
| LOW | test/test-krea2-native-adapters.py | 65 | 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 | 16 | CODE | |
| LOW | pipelines/qwen/__init__.py | 17 | CODE | |
| LOW | pipelines/sefi/__init__.py | 3 | 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 | |
| 463 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pipelines/generic_text_encoder.py | 87 | CODE | |
| LOW | pipelines/model_hyimage.py | 87 | CODE | |
| LOW | pipelines/native_transformer.py | 229 | CODE | |
| LOW | pipelines/model_stablecascade.py | 184 | CODE | |
| LOW | pipelines/generic_transformer.py | 12 | CODE | |
| LOW | pipelines/model_xomni.py | 53 | CODE | |
| LOW | pipelines/krea2/pipeline_krea2.py | 155 | CODE | |
| LOW | pipelines/krea2/pipeline_krea2_inpaint.py | 56 | 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 | 40 | CODE | |
| LOW | pipelines/anima/anima_image.py | 85 | 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/sefi/pipeline_sefi.py | 109 | CODE | |
| LOW | pipelines/sefi/pipeline_sefi.py | 447 | CODE | |
| LOW | pipelines/sefi/transformer_sefi.py | 117 | 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 | 184 | CODE | |
| LOW | pipelines/lens/transformer.py | 386 | CODE | |
| LOW | pipelines/lens/pipeline.py | 210 | CODE | |
| LOW | pipelines/lens/pipeline.py | 435 | CODE | |
| LOW | pipelines/mageflow/pipeline_mage_flow.py | 392 | CODE | |
| LOW | pipelines/mageflow/autoencoder_mage_vae.py | 424 | CODE | |
| LOW | pipelines/mageflow/autoencoder_mage_vae.py | 510 | CODE | |
| LOW | pipelines/mageflow/autoencoder_mage_vae.py | 635 | CODE | |
| LOW | pipelines/mageflow/transformer_mage_flow.py | 307 | CODE | |
| LOW | pipelines/mageflow/transformer_mage_flow.py | 517 | 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 | |
| 380 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/sefi/pipeline_sefi.py | 467 | Generates images from text prompts with SeFi-Image. Args: prompt (`str` or `list[str]`, *o | STRING |
| HIGH | pipelines/mageflow/pipeline_mage_flow.py | 415 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `list[st | 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 | pipelines/objectclear/pipeline_objectclear.py | 1280 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | 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 | 710 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | modules/control/units/xs_pipe.py | 1646 | 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/startup.ts | 141 | // onOptionsChanged(() => log('evt onOptionsChanged')); | COMMENT |
| 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 | test/test-anima-native-adapters.py | 1241 | # | 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/sefi/pipeline_sefi.py | 1 | # Copyright 2026 SeFi-Image Authors and The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | pipelines/sefi/transformer_sefi.py | 1 | # Copyright 2026 SeFi-Image Authors and The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | pipelines/sefi/convert_sefi_to_diffusers.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | pipelines/mageflow/pipeline_mage_flow.py | 1 | # Copyright 2025 Microsoft and The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | pipelines/mageflow/autoencoder_mage_vae.py | 1 | # Copyright 2025 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | pipelines/mageflow/transformer_mage_flow.py | 1 | # Copyright 2025 The Mage Team 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/llada/pipeline_llada_image.py | 1 | # Copyright 2026 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | pipelines/llada/modeling_llada2uni_moe.py | 1 | # coding=utf-8 | COMMENT |
| LOW | pipelines/llada/pipeline_output.py | 1 | # Copyright 2026 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | pipelines/llada/fused_moe_ops.py | 1 | # Copyright 2025 Bytedance Ltd. and/or its affiliates | COMMENT |
| LOW | pipelines/llada/transformer_llada_image.py | 1 | # Copyright 2026 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | pipelines/llada/configuration_llada2uni_moe.py | 1 | # Copyright 2025 Antgroup and The HuggingFace Inc. 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 | pipelines/objectclear/pipeline_objectclear.py | 1 | # Copyright 2024 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | cli/sdnq-attention-benchmark.py | 401 | COMMENT | |
| LOW | cli/sdnq-attention-benchmark.py | 2061 | # The linear layers bind their scaled-mm function at import | 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 |
| 142 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | installer.py | 192 | 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 | cli/lora-quant-fidelity.py | 413 | if float(nD) == 0.0: # an all-zero delta (some full-rank extractions carry empty .diff): retention is undefined, not | CODE |
| HIGH | modules/civitai/models_civitai.py | 55 | # counts CivitAI does not report arrive as null, not zero | COMMENT |
| HIGH | modules/civitai/models_civitai.py | 97 | # /model-versions/{id} serializes availability as null, which failed | COMMENT |
| HIGH | modules/civitai/models_civitai.py | 141 | # Deleted/anonymous creators serialize username as null, which failed | COMMENT |
| HIGH | modules/lora/lora_sdnq.py | 64 | NULL_TAIL_EPS = 1e-6 # spectrum tail below this fraction of the capture is numerically null; dropping it keeps stored ra | CODE |
| HIGH | modules/video_models/video_save.py | 368 | stream.output_queue.push(('progress', (None, 'Saving video...'))) | CODE |
| HIGH⚡ | modules/video_models/video_save.py | 405 | stream.output_queue.push(('progress', (None, f'Video {os.path.basename(output_video)} | Codec {mp4_codec | CODE |
| HIGH⚡ | modules/video_models/video_save.py | 406 | stream.output_queue.push(('file', output_video)) | CODE |
| HIGH⚡ | modules/video_models/video_save.py | 409 | stream.output_queue.push(('progress', (None, ''))) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 56 | stream.output_queue.push(('end', None)) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 96 | stream.output_queue.push(('progress', (None, 'Text encoding...'))) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 118 | stream.output_queue.push(('progress', (None, 'VAE encoding...'))) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 144 | stream.output_queue.push(('progress', (None, 'Vision encoding...'))) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 167 | stream.output_queue.push(('progress', (None, 'Interrupted...'))) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 168 | stream.output_queue.push(('end', None)) | CODE |
| HIGH⚡ | modules/framepack/framepack_worker.py | 188 | stream.output_queue.push(('progress', (preview, desc))) | CODE |
| HIGH⚡ | modules/framepack/framepack_worker.py | 201 | stream.output_queue.push(('progress', (None, desc))) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 214 | stream.output_queue.push(('progress', (None, 'Start sampling...'))) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 238 | stream.output_queue.push(('end', None)) | CODE |
| HIGH | modules/framepack/framepack_worker.py | 385 | 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 | pipelines/llada/modeling_llada2uni_moe.py | 1288 | __all__ = ["LLaDA2MoeModelLM", "LLaDA2MoeModel", "LLaDA2MoePreTrainedModel"] | CODE |
| LOW | pipelines/llada/__init__.py | 8 | __all__ = ['LLaDAImagePipeline', 'LLaDAImagePipelineOutput', 'LLaDAImageQueryFormerModel', 'LLaDAImageSigVQModel', 'LLaD | CODE |
| LOW | pipelines/llada/fused_moe_ops.py | 375 | __all__ = ["fused_moe_forward"] | CODE |
| LOW | pipelines/llada/configuration_llada2uni_moe.py | 133 | __all__ = ["LLaDA2MoeConfig"] | STRING |
| 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/rocm/rocm_mgr.py | 195 | def _set_miopen_logging(config: Dict[str, str], enabled: bool) -> None: | CODE |
| LOW | scripts/rocm/rocm_mgr.py | 306 | def set_miopen_logging(enabled: bool) -> None: | 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/attention/__init__.py | 7 | __all__ = [ | CODE |
| LOW | modules/attention/context.py | 73 | def set_step(step: int) -> None: | CODE |
| LOW | modules/attention/context.py | 85 | def set_layout(layout) -> None: | CODE |
| LOW | modules/attention/context.py | 100 | def set_role(name: str | None) -> None: | CODE |
| LOW | modules/attention/sparse/__init__.py | 5 | __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 |
| 8 more matches not shown… | ||||
| 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_ext.py | 333 | prompt = prompt or (self.prompt.value if self.prompt else "") # Check if self.prompt is None | CODE |
| LOW | scripts/prompt_enhance_ext.py | 375 | # Check if vision was requested but no image is available | COMMENT |
| 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 | 117 | # Check if it's a Florence-specific friendly name (base or PromptGen) | COMMENT |
| LOW | modules/caption/vqa.py | 120 | # Check if it's an internal Florence-2 task token (for backwards compatibility) | COMMENT |
| LOW | modules/caption/vqa.py | 1504 | # 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_ext.py | 381 | # Create a copy to avoid modifying the original image used by img2img | COMMENT |
| 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/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/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 |
| MEDIUM | cli/sdnq-attention-benchmark.py | 857 | # standard error of a median: 1.2533 * sigma / sqrt(n), robust sigma from IQR / 1.349 | COMMENT |
| 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 | 547 | return args[0] # just return image to skip re-processing it | CODE |
| LOW | modules/caption/waifudiffusion.py | 351 | # For now, just return the static list | COMMENT |
| LOW | modules/caption/vqa.py | 1322 | # When keep_thinking is False, just use the answer (reasoning is discarded) | COMMENT |
| LOW | modules/attention/context.py | 32 | # publication from one would clear the layout the denoiser just set | COMMENT |
| MEDIUM | modules/res4lyf/rungekutta_44s_scheduler.py | 162 | # 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 | 255 | # 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 | test/test-pdd.py | 464 | original = pipe.transformer.block.norm_q.weight.detach().clone() | CODE |
| CRITICAL | pipelines/sefi/pipeline_sefi.py | 315 | self.text_encoder.model.language_model.rotary_emb.to(device=device, dtype=text_encoder_dtype) | STRING |
| 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 | modules/ui_definitions.py | 379 | "ls_indices": OptionInfo('', "Layer Skip indices", gr.Textbox, {"placeholder": "e.g. 0,1,2-5"}), | CODE |
| LOW | modules/ui_definitions.py | 380 | "ls_fqn": OptionInfo("auto", "Layer Skip FQN", gr.Textbox, {"placeholder": "e.g. model.diffusion_model.input_blo | CODE |
| LOW | modules/ui_definitions.py | 398 | "ts_skip_predict_identifiers": OptionInfo("", "TaylorSeer skip predict identifiers", gr.Textbox, {"placeholder": | CODE |
| LOW | modules/ui_definitions.py | 399 | "ts_cache_identifiers": OptionInfo("", "TaylorSeer cache identifiers", gr.Textbox, {"placeholder": "e.g. model.d | CODE |
| LOW | modules/api/models.py | 39 | 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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| HIGH | modules/errorlimiter.py | 57 | >>> elimit() # In this example, raises ErrorLimiterAbort on the 5th call | STRING |