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,324 GitHub stars. SynthScan v2.0 examined 994,596 lines of code across 1441 source files, recording 5280 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 8.3 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 5280 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 | 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/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/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 |
| 331 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-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-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 |
| 483 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webui.py | 117 | except Exception as e: | CODE |
| LOW | webui.py | 178 | except Exception: | CODE |
| LOW | webui.py | 276 | except Exception: | CODE |
| LOW | webui.py | 286 | except Exception: | CODE |
| LOW | webui.py | 308 | except Exception: | CODE |
| MEDIUM | installer.py | 141 | def package_version(package): | CODE |
| MEDIUM | installer.py | 148 | def package_spec(package): | CODE |
| MEDIUM | installer.py | 161 | def package_commit(spec): | CODE |
| MEDIUM | installer.py | 475 | def get_platform(): | CODE |
| MEDIUM | installer.py | 1588 | def try_relpath(p): | CODE |
| MEDIUM | installer.py | 1781 | def update_state(): | CODE |
| LOW⚡ | installer.py | 144 | except Exception: | CODE |
| LOW⚡ | installer.py | 151 | except Exception: | CODE |
| LOW⚡ | installer.py | 154 | except Exception: | CODE |
| LOW⚡ | installer.py | 157 | except Exception: | CODE |
| LOW⚡ | installer.py | 165 | except Exception: | CODE |
| LOW⚡ | installer.py | 1046 | except Exception as e: | CODE |
| LOW⚡ | installer.py | 1054 | except Exception as e: | CODE |
| LOW⚡ | installer.py | 1061 | except Exception as e: | CODE |
| LOW | installer.py | 91 | except Exception: | CODE |
| LOW | installer.py | 206 | except Exception as e: | CODE |
| LOW | installer.py | 290 | except Exception: | CODE |
| LOW | installer.py | 402 | except Exception: | CODE |
| LOW | installer.py | 428 | except Exception: | CODE |
| LOW | installer.py | 495 | except Exception as e: | CODE |
| LOW | installer.py | 677 | except Exception as e: | CODE |
| LOW | installer.py | 728 | except Exception as e: | CODE |
| LOW | installer.py | 733 | except Exception as e: | CODE |
| LOW | installer.py | 841 | except Exception as e: | CODE |
| LOW | installer.py | 977 | except Exception: | CODE |
| LOW | installer.py | 983 | except Exception: | CODE |
| LOW | installer.py | 1004 | except Exception as e: | CODE |
| LOW | installer.py | 1023 | except Exception as e: | CODE |
| LOW | installer.py | 1094 | except Exception: | CODE |
| LOW | installer.py | 1123 | except Exception as e: | CODE |
| LOW | installer.py | 1188 | except Exception: | CODE |
| LOW | installer.py | 1203 | except Exception as e: | CODE |
| LOW | installer.py | 1243 | except Exception: | CODE |
| LOW | installer.py | 1478 | except Exception: | CODE |
| LOW | installer.py | 1485 | except Exception as e: | CODE |
| LOW | installer.py | 1504 | except Exception as e: | CODE |
| LOW | installer.py | 1513 | except Exception as e: | CODE |
| LOW | installer.py | 1525 | except Exception as e: | CODE |
| LOW | installer.py | 1555 | except Exception as e: | CODE |
| LOW | installer.py | 1582 | except Exception as e: | CODE |
| LOW | installer.py | 1614 | except Exception as e: | CODE |
| LOW | installer.py | 1664 | except Exception as e: | CODE |
| LOW | installer.py | 1695 | except Exception: | CODE |
| LOW | installer.py | 1706 | except Exception as e: | CODE |
| LOW | installer.py | 1717 | except Exception: | CODE |
| LOW | installer.py | 1739 | except Exception: | CODE |
| LOW | installer.py | 1756 | except Exception: | CODE |
| LOW | installer.py | 1763 | except Exception: | CODE |
| LOW | installer.py | 1777 | except Exception: | CODE |
| LOW | installer.py | 1789 | except Exception as e: | CODE |
| LOW | installer.py | 1852 | except Exception: | CODE |
| LOW | installer.py | 1889 | except Exception as e: | CODE |
| LOW | installer.py | 1898 | except Exception as e: | CODE |
| LOW | launch.py | 34 | except Exception: | CODE |
| LOW | launch.py | 87 | except Exception: | CODE |
| 1160 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ui/extraNetworks.ts | 141 | async function filterExtraNetworksForTab(searchTerm) { | CODE |
| LOW | ui/extraNetworks.ts | 249 | function tryToRemoveExtraNetworkFromPrompt(textarea, text) { | CODE |
| LOW | ui/extraNetworks.ts | 354 | function extraNetworksSearchButton(event) { | CODE |
| LOW | ui/extraNetworks.ts | 367 | 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 |
| 933 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webui.py | 363 | CODE | |
| LOW | installer.py | 170 | CODE | |
| LOW | installer.py | 226 | CODE | |
| LOW | installer.py | 274 | CODE | |
| LOW | installer.py | 358 | CODE | |
| LOW | installer.py | 500 | CODE | |
| LOW | installer.py | 667 | CODE | |
| LOW | installer.py | 860 | CODE | |
| LOW | installer.py | 908 | CODE | |
| LOW | installer.py | 1140 | CODE | |
| LOW | installer.py | 1348 | CODE | |
| LOW | installer.py | 1444 | CODE | |
| LOW | installer.py | 1473 | CODE | |
| LOW | installer.py | 1533 | CODE | |
| LOW | installer.py | 1560 | CODE | |
| LOW | installer.py | 1587 | CODE | |
| LOW | installer.py | 1620 | CODE | |
| LOW | installer.py | 1723 | CODE | |
| LOW | installer.py | 1880 | CODE | |
| LOW | launch.py | 166 | 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-offload-roles.py | 542 | 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 | 83 | 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 | 155 | CODE | |
| LOW | pipelines/krea2/pipeline_krea2_inpaint.py | 28 | CODE | |
| LOW | pipelines/segmoe/segmoe_model.py | 144 | CODE | |
| 795 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | installer.py | 1946 | 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-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 | 15 | CODE | |
| LOW | pipelines/qwen/__init__.py | 16 | 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 | |
| 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 | |
| 384 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pipelines/generic_text_encoder.py | 83 | 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 | 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 | 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/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 | |
| 366 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 | 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/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/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/sdnq-attention-benchmark.py | 1861 | live.update(panel) | 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 |
| 130 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | installer.py | 182 | 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 | 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 | 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 | 327 | prompt = prompt or (self.prompt.value if self.prompt else "") # Check if self.prompt is None | CODE |
| LOW | scripts/prompt_enhance_ext.py | 368 | # 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 | 1501 | # 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 |
|---|---|---|---|---|
| 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/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 |
|---|---|---|---|---|
| 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 | 374 | # 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/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 |
| MEDIUM | cli/sdnq-attention-benchmark.py | 694 | # 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 | 536 | 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 | 1316 | # 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 | 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 | 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 |