Focus on prompting and generating
This report summarizes scanner evidence for lllyasviel/Fooocus, a Python project with 53,977 GitHub stars. SynthScan examined 193,544 lines of code across 281 source files, recording 599 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 4.8 (Low 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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-11-27.
Can maintainers explain intent, assumptions, and trade-offs? 407 finding(s).
Are imports declared and package/API names verified? 83 finding(s).
Are wrappers, guards, and repeated structures necessary? 332 finding(s).
Which changes need focused human review? 599 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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 599 distinct pattern matches across 16 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 |
|---|---|---|---|---|
| HIGH | ldm_patched/pfn/architecture/Swin2SR.py | 0 | args: x: (b, h, w, c) window_size (int): window size returns: windows: (num_windows*b, window_size, window_size, c) | STRING |
| HIGH | ldm_patched/pfn/architecture/HAT.py | 0 | args: x: (b, h, w, c) window_size (int): window size returns: windows: (num_windows*b, window_size, window_size, c) | STRING |
| HIGH | ldm_patched/pfn/architecture/SwinIR.py | 0 | args: x: (b, h, w, c) window_size (int): window size returns: windows: (num_windows*b, window_size, window_size, c) | STRING |
| HIGH | ldm_patched/pfn/architecture/Swin2SR.py | 0 | args: windows: (num_windows*b, window_size, window_size, c) window_size (int): window size h (int): height of image w (i | STRING |
| HIGH | ldm_patched/pfn/architecture/HAT.py | 0 | args: windows: (num_windows*b, window_size, window_size, c) window_size (int): window size h (int): height of image w (i | STRING |
| HIGH | ldm_patched/pfn/architecture/SwinIR.py | 0 | args: windows: (num_windows*b, window_size, window_size, c) window_size (int): window size h (int): height of image w (i | STRING |
| HIGH | ldm_patched/pfn/architecture/Swin2SR.py | 0 | args: x: input features with shape of (num_windows*b, n, c) mask: (0/-inf) mask with shape of (num_windows, wh*ww, wh*ww | STRING |
| HIGH | ldm_patched/pfn/architecture/HAT.py | 0 | args: x: input features with shape of (num_windows*b, n, c) mask: (0/-inf) mask with shape of (num_windows, wh*ww, wh*ww | STRING |
| HIGH | ldm_patched/pfn/architecture/SwinIR.py | 0 | args: x: input features with shape of (num_windows*b, n, c) mask: (0/-inf) mask with shape of (num_windows, wh*ww, wh*ww | STRING |
| HIGH | ldm_patched/pfn/architecture/Swin2SR.py | 0 | patch merging layer. args: input_resolution (tuple[int]): resolution of input feature. dim (int): number of input channe | STRING |
| HIGH | ldm_patched/pfn/architecture/HAT.py | 0 | patch merging layer. args: input_resolution (tuple[int]): resolution of input feature. dim (int): number of input channe | STRING |
| HIGH | ldm_patched/pfn/architecture/SwinIR.py | 0 | patch merging layer. args: input_resolution (tuple[int]): resolution of input feature. dim (int): number of input channe | STRING |
| HIGH | ldm_patched/pfn/architecture/Swin2SR.py | 0 | a basic swin transformer layer for one stage. args: dim (int): number of input channels. input_resolution (tuple[int]): | STRING |
| HIGH | ldm_patched/pfn/architecture/HAT.py | 0 | a basic swin transformer layer for one stage. args: dim (int): number of input channels. input_resolution (tuple[int]): | STRING |
| HIGH | ldm_patched/pfn/architecture/SwinIR.py | 0 | a basic swin transformer layer for one stage. args: dim (int): number of input channels. input_resolution (tuple[int]): | STRING |
| HIGH | ldm_patched/pfn/architecture/Swin2SR.py | 0 | image to patch unembedding args: img_size (int): image size. default: 224. patch_size (int): patch token size. default: | STRING |
| HIGH | ldm_patched/pfn/architecture/HAT.py | 0 | image to patch unembedding args: img_size (int): image size. default: 224. patch_size (int): patch token size. default: | STRING |
| HIGH | ldm_patched/pfn/architecture/SwinIR.py | 0 | image to patch unembedding args: img_size (int): image size. default: 224. patch_size (int): patch token size. default: | STRING |
| HIGH | ldm_patched/pfn/architecture/Swin2SR.py | 0 | residual swin transformer block (rstb). args: dim (int): number of input channels. input_resolution (tuple[int]): input | STRING |
| HIGH | ldm_patched/pfn/architecture/HAT.py | 0 | residual swin transformer block (rstb). args: dim (int): number of input channels. input_resolution (tuple[int]): input | STRING |
| HIGH | ldm_patched/pfn/architecture/SwinIR.py | 0 | residual swin transformer block (rstb). args: dim (int): number of input channels. input_resolution (tuple[int]): input | STRING |
| HIGH | ldm_patched/pfn/architecture/Swin2SR.py | 0 | upsample module. args: scale (int): scale factor. supported scales: 2^n and 3. num_feat (int): channel number of interme | STRING |
| HIGH | ldm_patched/pfn/architecture/DAT.py | 0 | upsample module. args: scale (int): scale factor. supported scales: 2^n and 3. num_feat (int): channel number of interme | STRING |
| HIGH | ldm_patched/pfn/architecture/HAT.py | 0 | upsample module. args: scale (int): scale factor. supported scales: 2^n and 3. num_feat (int): channel number of interme | STRING |
| HIGH | ldm_patched/pfn/architecture/SwinIR.py | 0 | upsample module. args: scale (int): scale factor. supported scales: 2^n and 3. num_feat (int): channel number of interme | STRING |
| HIGH | ldm_patched/pfn/architecture/Swin2SR.py | 0 | upsampleonestep module (the difference with upsample is that it always only has 1conv + 1pixelshuffle) used in lightweig | STRING |
| HIGH | ldm_patched/pfn/architecture/DAT.py | 0 | upsampleonestep module (the difference with upsample is that it always only has 1conv + 1pixelshuffle) used in lightweig | STRING |
| HIGH | ldm_patched/pfn/architecture/SwinIR.py | 0 | upsampleonestep module (the difference with upsample is that it always only has 1conv + 1pixelshuffle) used in lightweig | STRING |
| HIGH | …tched/pfn/architecture/face/stylegan2_bilinear_arch.py | 0 | normalize the style codes. args: x (tensor): style codes with shape (b, c). returns: tensor: normalized tensor. | STRING |
| HIGH | …_patched/pfn/architecture/face/stylegan2_clean_arch.py | 0 | normalize the style codes. args: x (tensor): style codes with shape (b, c). returns: tensor: normalized tensor. | STRING |
| HIGH | ldm_patched/pfn/architecture/face/stylegan2_arch.py | 0 | normalize the style codes. args: x (tensor): style codes with shape (b, c). returns: tensor: normalized tensor. | STRING |
| HIGH | …tched/pfn/architecture/face/stylegan2_bilinear_arch.py | 0 | forward function. args: x (tensor): tensor with shape (b, c, h, w). style (tensor): tensor with shape (b, num_style_feat | STRING |
| HIGH | …_patched/pfn/architecture/face/stylegan2_clean_arch.py | 0 | forward function. args: x (tensor): tensor with shape (b, c, h, w). style (tensor): tensor with shape (b, num_style_feat | STRING |
| HIGH | ldm_patched/pfn/architecture/face/stylegan2_arch.py | 0 | forward function. args: x (tensor): tensor with shape (b, c, h, w). style (tensor): tensor with shape (b, num_style_feat | STRING |
| HIGH | …tched/pfn/architecture/face/stylegan2_bilinear_arch.py | 0 | forward function. args: x (tensor): feature tensor with shape (b, c, h, w). style (tensor): tensor with shape (b, num_st | STRING |
| HIGH | …_patched/pfn/architecture/face/stylegan2_clean_arch.py | 0 | forward function. args: x (tensor): feature tensor with shape (b, c, h, w). style (tensor): tensor with shape (b, num_st | STRING |
| HIGH | ldm_patched/pfn/architecture/face/stylegan2_arch.py | 0 | forward function. args: x (tensor): feature tensor with shape (b, c, h, w). style (tensor): tensor with shape (b, num_st | STRING |
| HIGH | …tched/pfn/architecture/face/stylegan2_bilinear_arch.py | 0 | constant input. args: num_channel (int): channel number of constant input. size (int): spatial size of constant input. | STRING |
| HIGH | …_patched/pfn/architecture/face/stylegan2_clean_arch.py | 0 | constant input. args: num_channel (int): channel number of constant input. size (int): spatial size of constant input. | STRING |
| HIGH | ldm_patched/pfn/architecture/face/stylegan2_arch.py | 0 | constant input. args: num_channel (int): channel number of constant input. size (int): spatial size of constant input. | STRING |
| HIGH | …tched/pfn/architecture/face/stylegan2_bilinear_arch.py | 0 | forward function for stylegan2generatorbilinearsft. args: styles (list[tensor]): sample codes of styles. conditions (lis | STRING |
| HIGH | ldm_patched/pfn/architecture/face/stylegan2_arch.py | 0 | forward function for stylegan2generatorbilinearsft. args: styles (list[tensor]): sample codes of styles. conditions (lis | STRING |
| HIGH | …_patched/pfn/architecture/face/stylegan2_clean_arch.py | 0 | forward function for stylegan2generatorbilinearsft. args: styles (list[tensor]): sample codes of styles. conditions (lis | STRING |
| HIGH | ldm_patched/pfn/architecture/face/gfpganv1_arch.py | 0 | forward function for stylegan2generatorbilinearsft. args: styles (list[tensor]): sample codes of styles. conditions (lis | STRING |
| HIGH | …m_patched/pfn/architecture/face/gfpganv1_clean_arch.py | 0 | forward function for stylegan2generatorbilinearsft. args: styles (list[tensor]): sample codes of styles. conditions (lis | STRING |
| HIGH | …_patched/pfn/architecture/face/gfpgan_bilinear_arch.py | 0 | forward function for stylegan2generatorbilinearsft. args: styles (list[tensor]): sample codes of styles. conditions (lis | STRING |
| HIGH | ldm_patched/pfn/architecture/face/gfpganv1_arch.py | 0 | forward function for gfpganbilinear. args: x (tensor): input images. return_latents (bool): whether to return style late | STRING |
| HIGH | …m_patched/pfn/architecture/face/gfpganv1_clean_arch.py | 0 | forward function for gfpganbilinear. args: x (tensor): input images. return_latents (bool): whether to return style late | STRING |
| HIGH | …_patched/pfn/architecture/face/gfpgan_bilinear_arch.py | 0 | forward function for gfpganbilinear. args: x (tensor): input images. return_latents (bool): whether to return style late | STRING |
| HIGH | extras/BLIP/models/blip_vqa.py | 0 | args: med_config (str): path for the mixture of encoder-decoder model's configuration file image_size (int): input image | STRING |
| HIGH | extras/BLIP/models/blip.py | 0 | args: med_config (str): path for the mixture of encoder-decoder model's configuration file image_size (int): input image | STRING |
| HIGH | extras/BLIP/models/blip_retrieval.py | 0 | args: med_config (str): path for the mixture of encoder-decoder model's configuration file image_size (int): input image | STRING |
| HIGH | extras/BLIP/models/blip_itm.py | 0 | args: med_config (str): path for the mixture of encoder-decoder model's configuration file image_size (int): input image | STRING |
| HIGH | extras/BLIP/models/blip_nlvr.py | 0 | args: med_config (str): path for the mixture of encoder-decoder model's configuration file image_size (int): input image | STRING |
| HIGH | extras/BLIP/models/blip_pretrain.py | 0 | args: med_config (str): path for the mixture of encoder-decoder model's configuration file image_size (int): input image | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ldm_patched/k_diffusion/sampling.py | 479 | CODE | |
| LOW | ldm_patched/k_diffusion/sampling.py | 412 | CODE | |
| LOW | ldm_patched/controlnet/cldm.py | 23 | CODE | |
| LOW | ldm_patched/unipc/uni_pc.py | 181 | CODE | |
| LOW | ldm_patched/unipc/uni_pc.py | 712 | CODE | |
| LOW | ldm_patched/contrib/external_rebatch.py | 56 | CODE | |
| LOW | ldm_patched/contrib/external.py | 577 | CODE | |
| LOW | ldm_patched/contrib/external_compositing.py | 144 | CODE | |
| LOW | ldm_patched/contrib/external_compositing.py | 164 | CODE | |
| LOW | ldm_patched/contrib/external_compositing.py | 190 | CODE | |
| LOW | ldm_patched/pfn/architecture/Swin2SR.py | 273 | CODE | |
| LOW | ldm_patched/pfn/architecture/Swin2SR.py | 504 | CODE | |
| LOW | ldm_patched/pfn/architecture/Swin2SR.py | 660 | CODE | |
| LOW | ldm_patched/pfn/architecture/DAT.py | 309 | CODE | |
| LOW | ldm_patched/pfn/architecture/DAT.py | 683 | CODE | |
| LOW | ldm_patched/pfn/architecture/DAT.py | 773 | CODE | |
| LOW | ldm_patched/pfn/architecture/HAT.py | 28 | CODE | |
| LOW | ldm_patched/pfn/architecture/HAT.py | 252 | CODE | |
| LOW | ldm_patched/pfn/architecture/HAT.py | 558 | CODE | |
| LOW | ldm_patched/pfn/architecture/HAT.py | 665 | CODE | |
| LOW | ldm_patched/pfn/architecture/SwinIR.py | 231 | CODE | |
| LOW | ldm_patched/pfn/architecture/SwinIR.py | 465 | CODE | |
| LOW | ldm_patched/pfn/architecture/SwinIR.py | 564 | CODE | |
| LOW | ldm_patched/pfn/architecture/block.py | 157 | CODE | |
| LOW | ldm_patched/pfn/architecture/block.py | 519 | CODE | |
| LOW | ldm_patched/pfn/architecture/block.py | 83 | CODE | |
| LOW | ldm_patched/pfn/architecture/block.py | 100 | CODE | |
| LOW | ldm_patched/pfn/architecture/block.py | 224 | CODE | |
| LOW | ldm_patched/pfn/architecture/block.py | 292 | CODE | |
| LOW | ldm_patched/pfn/architecture/block.py | 378 | CODE | |
| LOW | ldm_patched/pfn/architecture/LaMa.py | 80 | CODE | |
| LOW | ldm_patched/pfn/architecture/LaMa.py | 84 | CODE | |
| LOW | ldm_patched/pfn/architecture/LaMa.py | 279 | CODE | |
| LOW | ldm_patched/pfn/architecture/LaMa.py | 283 | CODE | |
| LOW | ldm_patched/pfn/architecture/LaMa.py | 392 | CODE | |
| LOW | ldm_patched/pfn/architecture/LaMa.py | 520 | CODE | |
| LOW | ldm_patched/pfn/architecture/LaMa.py | 694 | CODE | |
| LOW | ldm_patched/pfn/architecture/OmniSR/OmniSR.py | 143 | CODE | |
| LOW | ldm_patched/pfn/architecture/OmniSR/esa.py | 216 | CODE | |
| LOW | ldm_patched/pfn/architecture/OmniSR/OSA.py | 374 | CODE | |
| LOW | ldm_patched/pfn/architecture/OmniSR/OSA.py | 434 | CODE | |
| LOW | ldm_patched/pfn/architecture/OmniSR/OSA.py | 494 | CODE | |
| LOW | ldm_patched/pfn/architecture/OmniSR/OSA.py | 577 | CODE | |
| LOW | …tched/pfn/architecture/face/stylegan2_bilinear_arch.py | 182 | CODE | |
| LOW | …tched/pfn/architecture/face/stylegan2_bilinear_arch.py | 238 | CODE | |
| LOW | …tched/pfn/architecture/face/stylegan2_bilinear_arch.py | 306 | CODE | |
| LOW | …tched/pfn/architecture/face/stylegan2_bilinear_arch.py | 601 | CODE | |
| LOW | …tched/pfn/architecture/face/stylegan2_bilinear_arch.py | 709 | CODE | |
| LOW | ldm_patched/pfn/architecture/face/arcface_arch.py | 55 | CODE | |
| LOW | ldm_patched/pfn/architecture/face/arcface_arch.py | 103 | CODE | |
| LOW | ldm_patched/pfn/architecture/face/arcface_arch.py | 154 | CODE | |
| LOW | …_patched/pfn/architecture/face/stylegan2_clean_arch.py | 136 | CODE | |
| LOW | …_patched/pfn/architecture/face/stylegan2_clean_arch.py | 190 | CODE | |
| LOW | …_patched/pfn/architecture/face/stylegan2_clean_arch.py | 247 | CODE | |
| LOW | ldm_patched/pfn/architecture/face/gfpganv1_arch.py | 246 | CODE | |
| LOW | ldm_patched/pfn/architecture/face/gfpganv1_arch.py | 268 | CODE | |
| LOW | ldm_patched/pfn/architecture/face/restoreformer_arch.py | 293 | CODE | |
| LOW | ldm_patched/pfn/architecture/face/restoreformer_arch.py | 418 | CODE | |
| LOW | ldm_patched/pfn/architecture/face/restoreformer_arch.py | 545 | CODE | |
| LOW | ldm_patched/pfn/architecture/face/upfirdn2d.py | 119 | CODE | |
| 63 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webui.py | 33 | CODE | |
| LOW | launch.py | 29 | CODE | |
| LOW | launch.py | 103 | CODE | |
| LOW | ldm_patched/k_diffusion/sampling.py | 596 | CODE | |
| LOW | ldm_patched/k_diffusion/sampling.py | 642 | CODE | |
| LOW | ldm_patched/k_diffusion/sampling.py | 842 | CODE | |
| LOW | ldm_patched/controlnet/cldm.py | 23 | CODE | |
| LOW | ldm_patched/unipc/uni_pc.py | 181 | CODE | |
| LOW | ldm_patched/unipc/uni_pc.py | 293 | CODE | |
| LOW | ldm_patched/unipc/uni_pc.py | 322 | CODE | |
| LOW | ldm_patched/unipc/uni_pc.py | 712 | CODE | |
| LOW | ldm_patched/contrib/external_hypernetwork.py | 7 | CODE | |
| LOW | ldm_patched/contrib/external_post_processing.py | 49 | CODE | |
| LOW | ldm_patched/contrib/external_post_processing.py | 168 | CODE | |
| LOW | ldm_patched/contrib/external.py | 1859 | CODE | |
| LOW | ldm_patched/contrib/external.py | 539 | CODE | |
| LOW | ldm_patched/contrib/external.py | 648 | CODE | |
| LOW | ldm_patched/contrib/external.py | 1415 | CODE | |
| LOW | ldm_patched/contrib/external.py | 1686 | CODE | |
| LOW | ldm_patched/contrib/external_compositing.py | 32 | CODE | |
| LOW | ldm_patched/contrib/external_model_advanced.py | 82 | CODE | |
| LOW | ldm_patched/contrib/external_mask.py | 238 | CODE | |
| LOW | ldm_patched/t2ia/adapter.py | 104 | CODE | |
| LOW | ldm_patched/pfn/model_loading.py | 24 | CODE | |
| LOW | ldm_patched/pfn/architecture/Swin2SR.py | 882 | CODE | |
| LOW | ldm_patched/pfn/architecture/Swin2SR.py | 1283 | CODE | |
| LOW | ldm_patched/pfn/architecture/SwinIR.py | 816 | CODE | |
| LOW | ldm_patched/pfn/architecture/SwinIR.py | 1162 | CODE | |
| LOW | ldm_patched/pfn/architecture/RRDB.py | 196 | CODE | |
| LOW | ldm_patched/pfn/architecture/SRVGG.py | 23 | CODE | |
| LOW | ldm_patched/pfn/architecture/face/arcface_arch.py | 195 | CODE | |
| LOW | …_patched/pfn/architecture/face/stylegan2_clean_arch.py | 13 | CODE | |
| LOW | ldm_patched/ldm/util.py | 119 | CODE | |
| LOW | ldm_patched/ldm/modules/attention.py | 185 | CODE | |
| LOW | ldm_patched/ldm/modules/diffusionmodules/util.py | 87 | CODE | |
| LOW | ldm_patched/ldm/modules/diffusionmodules/openaimodel.py | 32 | CODE | |
| LOW | ldm_patched/ldm/modules/diffusionmodules/openaimodel.py | 391 | CODE | |
| LOW | ldm_patched/modules/sd1_clip.py | 199 | CODE | |
| LOW | ldm_patched/modules/sd1_clip.py | 227 | CODE | |
| LOW | ldm_patched/modules/sd1_clip.py | 257 | CODE | |
| LOW | ldm_patched/modules/sd1_clip.py | 284 | CODE | |
| LOW | ldm_patched/modules/sd1_clip.py | 25 | CODE | |
| LOW | ldm_patched/modules/sd1_clip.py | 117 | CODE | |
| LOW | ldm_patched/modules/sd1_clip.py | 156 | CODE | |
| LOW | ldm_patched/modules/sd1_clip.py | 397 | CODE | |
| LOW | ldm_patched/modules/controlnet.py | 315 | CODE | |
| LOW | ldm_patched/modules/controlnet.py | 86 | CODE | |
| LOW | ldm_patched/modules/model_patcher.py | 118 | CODE | |
| LOW | ldm_patched/modules/model_patcher.py | 215 | CODE | |
| LOW | ldm_patched/modules/gligen.py | 301 | CODE | |
| LOW | ldm_patched/modules/model_base.py | 97 | CODE | |
| LOW | ldm_patched/modules/model_detection.py | 31 | CODE | |
| LOW | ldm_patched/modules/utils.py | 63 | CODE | |
| LOW | ldm_patched/modules/utils.py | 171 | CODE | |
| LOW | ldm_patched/modules/utils.py | 408 | CODE | |
| LOW | ldm_patched/modules/lora.py | 13 | CODE | |
| LOW | ldm_patched/modules/lora.py | 162 | CODE | |
| LOW | ldm_patched/modules/lora.py | 203 | CODE | |
| LOW | ldm_patched/modules/sd.py | 346 | CODE | |
| LOW | ldm_patched/modules/sd.py | 151 | CODE | |
| 53 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webui.py | 349 | def trigger_show_image_properties(image): | CODE |
| LOW | webui.py | 922 | def inpaint_engine_state_change(inpaint_engine_version, *args): | CODE |
| LOW | webui.py | 1113 | def dump_default_english_config(): | CODE |
| LOW | tests/test_utils.py | 9 | def test_can_parse_tokens_with_lora(self): | CODE |
| LOW | tests/test_utils.py | 86 | def test_can_parse_tokens_and_strip_performance_lora(self): | CODE |
| LOW | ldm_patched/k_diffusion/sampling.py | 31 | def get_sigmas_polyexponential(n, sigma_min, sigma_max, rho=1., device='cpu'): | CODE |
| LOW | ldm_patched/unipc/uni_pc.py | 442 | def get_orders_and_timesteps_for_singlestep_solver(self, steps, order, skip_type, t_T, t_0, device): | CODE |
| LOW | ldm_patched/unipc/uni_pc.py | 488 | def multistep_uni_pc_vary_update(self, x, model_prev_list, t_prev_list, t, order, use_corrector=True): | CODE |
| LOW | ldm_patched/unipc/uni_pc.py | 591 | def multistep_uni_pc_bh_update(self, x, model_prev_list, t_prev_list, t, order, x_t=None, use_corrector=True): | CODE |
| LOW | ldm_patched/utils/latent_visualization.py | 16 | def decode_latent_to_preview_image(self, preview_format, x0): | CODE |
| LOW | ldm_patched/utils/path_utils.py | 115 | def exists_annotated_filepath(name): | CODE |
| LOW | ldm_patched/contrib/external_model_advanced.py | 50 | def rescale_zero_terminal_snr_sigmas(sigmas): | CODE |
| LOW | ldm_patched/pfn/architecture/face/codeformer.py | 417 | def adaptive_instance_normalization(content_feat, style_feat): | CODE |
| LOW | ldm_patched/ldm/models/autoencoder.py | 88 | def instantiate_optimizer_from_config(self, params, lr, cfg): | CODE |
| LOW | ldm_patched/ldm/modules/attention.py | 350 | def optimized_attention_for_device(device, mask=False, small_input=False): | CODE |
| LOW | ldm_patched/ldm/modules/sub_quadratic_attention.py | 139 | def _get_attention_scores_no_kv_chunking( | CODE |
| LOW | ldm_patched/ldm/modules/sub_quadratic_attention.py | 187 | def efficient_dot_product_attention( | CODE |
| LOW | ldm_patched/ldm/modules/diffusionmodules/util.py | 136 | def make_ddim_sampling_parameters(alphacums, ddim_timesteps, eta, verbose=True): | CODE |
| LOW | ldm_patched/modules/sd1_clip.py | 117 | def set_up_textual_embeddings(self, tokens, current_embeds): | CODE |
| LOW | ldm_patched/modules/controlnet.py | 81 | def inference_memory_requirements(self, dtype): | CODE |
| LOW | ldm_patched/modules/controlnet.py | 312 | def inference_memory_requirements(self, dtype): | CODE |
| LOW⚡ | ldm_patched/modules/model_patcher.py | 54 | def set_model_sampler_cfg_function(self, sampler_cfg_function, disable_cfg1_optimization=False): | CODE |
| LOW⚡ | ldm_patched/modules/model_patcher.py | 62 | def set_model_sampler_post_cfg_function(self, post_cfg_function, disable_cfg1_optimization=False): | CODE |
| LOW⚡ | ldm_patched/modules/model_patcher.py | 67 | def set_model_unet_function_wrapper(self, unet_wrapper_function): | CODE |
| LOW⚡ | ldm_patched/modules/model_patcher.py | 106 | def set_model_input_block_patch(self, patch): | CODE |
| LOW⚡ | ldm_patched/modules/model_patcher.py | 109 | def set_model_input_block_patch_after_skip(self, patch): | CODE |
| LOW⚡ | ldm_patched/modules/model_patcher.py | 112 | def set_model_output_block_patch(self, patch): | CODE |
| LOW⚡ | ldm_patched/modules/supported_models_base.py | 64 | def process_clip_state_dict_for_saving(self, state_dict): | CODE |
| LOW⚡ | ldm_patched/modules/supported_models_base.py | 68 | def process_clip_vision_state_dict_for_saving(self, state_dict): | CODE |
| LOW⚡ | ldm_patched/modules/supported_models_base.py | 74 | def process_unet_state_dict_for_saving(self, state_dict): | CODE |
| LOW⚡ | ldm_patched/modules/supported_models_base.py | 78 | def process_vae_state_dict_for_saving(self, state_dict): | CODE |
| LOW | ldm_patched/modules/supported_models.py | 47 | def process_clip_state_dict_for_saving(self, state_dict): | CODE |
| LOW | ldm_patched/modules/supported_models.py | 81 | def process_clip_state_dict_for_saving(self, state_dict): | CODE |
| LOW | ldm_patched/modules/supported_models.py | 142 | def process_clip_state_dict_for_saving(self, state_dict): | CODE |
| LOW | ldm_patched/modules/supported_models.py | 192 | def process_clip_state_dict_for_saving(self, state_dict): | CODE |
| LOW | ldm_patched/modules/diffusers_convert.py | 258 | def convert_text_enc_state_dict(text_enc_dict): | CODE |
| LOW | ldm_patched/modules/ops.py | 19 | def forward_ldm_patched_cast_weights(self, input): | CODE |
| LOW | ldm_patched/modules/ops.py | 34 | def forward_ldm_patched_cast_weights(self, input): | CODE |
| LOW | ldm_patched/modules/ops.py | 49 | def forward_ldm_patched_cast_weights(self, input): | CODE |
| LOW | ldm_patched/modules/ops.py | 64 | def forward_ldm_patched_cast_weights(self, input): | CODE |
| LOW | ldm_patched/modules/ops.py | 80 | def forward_ldm_patched_cast_weights(self, input): | CODE |
| LOW | ldm_patched/modules/model_detection.py | 17 | def calculate_transformer_depth(prefix, state_dict_keys, state_dict): | CODE |
| LOW | ldm_patched/modules/model_detection.py | 154 | def model_config_from_unet_config(unet_config): | CODE |
| LOW | ldm_patched/modules/model_detection.py | 209 | def unet_config_from_diffusers_unet(state_dict, dtype): | CODE |
| LOW | ldm_patched/modules/model_detection.py | 316 | def model_config_from_diffusers_unet(state_dict, dtype): | CODE |
| LOW | ldm_patched/modules/utils.py | 50 | def state_dict_prefix_replace(state_dict, replace_prefix, filter_keys=False): | CODE |
| LOW | ldm_patched/modules/utils.py | 440 | def set_progress_bar_global_hook(function): | CODE |
| LOW | ldm_patched/modules/sample.py | 70 | def cleanup_additional_models(models): | CODE |
| LOW | ldm_patched/modules/sd.py | 430 | def load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, output_clipvision=False, embedding_direct | CODE |
| LOW | ldm_patched/modules/samplers.py | 347 | def resolve_areas_and_cond_masks(conditions, h, w, device): | CODE |
| LOW | ldm_patched/modules/samplers.py | 387 | def create_cond_with_same_area_if_none(conds, c): | CODE |
| LOW | ldm_patched/modules/samplers.py | 419 | def calculate_start_end_timesteps(model, conds): | CODE |
| LOW | ldm_patched/modules/samplers.py | 450 | def apply_empty_x_to_equal_area(conds, uncond, name, uncond_fill_func): | CODE |
| LOW | ldm_patched/modules/samplers.py | 624 | def calculate_sigmas_scheduler(model, scheduler_name, steps): | CODE |
| LOW | ldm_patched/modules/model_management.py | 520 | def text_encoder_offload_device(): | CODE |
| LOW | ldm_patched/modules/model_management.py | 594 | def device_supports_non_blocking(device): | CODE |
| LOW | ldm_patched/modules/model_management.py | 640 | def pytorch_attention_enabled(): | CODE |
| LOW | ldm_patched/modules/model_management.py | 644 | def pytorch_attention_flash_attention(): | CODE |
| LOW | ldm_patched/modules/model_management.py | 789 | def interrupt_current_processing(value=True): | CODE |
| LOW | ldm_patched/modules/model_management.py | 801 | def throw_exception_if_processing_interrupted(): | CODE |
| 40 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | entry_with_update.py | 46 | CODE | |
| LOW | launch.py | 152 | CODE | |
| LOW | tests/test_extra_utils.py | 2 | CODE | |
| LOW | tests/test_extra_utils.py | 5 | CODE | |
| LOW | ldm_patched/controlnet/cldm.py | 5 | CODE | |
| LOW | ldm_patched/controlnet/cldm.py | 8 | CODE | |
| LOW | ldm_patched/unipc/uni_pc.py | 4 | CODE | |
| LOW | ldm_patched/unipc/uni_pc.py | 7 | CODE | |
| LOW | ldm_patched/utils/latent_visualization.py | 3 | CODE | |
| LOW | ldm_patched/contrib/external_sag.py | 9 | CODE | |
| LOW | ldm_patched/contrib/external_clip_sdxl.py | 3 | CODE | |
| LOW | ldm_patched/contrib/external_upscale_model.py | 3 | CODE | |
| LOW | ldm_patched/contrib/external_model_downscale.py | 3 | CODE | |
| LOW | ldm_patched/contrib/external_compositing.py | 3 | CODE | |
| LOW | ldm_patched/pfn/architecture/block.py | 4 | CODE | |
| LOW | ldm_patched/pfn/architecture/LaMa.py | 10 | CODE | |
| LOW | ldm_patched/pfn/architecture/OmniSR/OSA.py | 15 | CODE | |
| LOW | ldm_patched/pfn/architecture/face/upfirdn2d.py | 5 | CODE | |
| LOW | ldm_patched/ldm/models/autoencoder.py | 3 | CODE | |
| LOW | ldm_patched/ldm/models/autoencoder.py | 5 | CODE | |
| LOW | ldm_patched/ldm/models/autoencoder.py | 5 | CODE | |
| LOW | ldm_patched/ldm/modules/attention.py | 6 | CODE | |
| LOW | ldm_patched/ldm/modules/temporal_ae.py | 2 | CODE | |
| LOW | ldm_patched/ldm/modules/diffusionmodules/util.py | 11 | CODE | |
| LOW | ldm_patched/ldm/modules/diffusionmodules/upscaling.py | 7 | CODE | |
| LOW | ldm_patched/ldm/modules/diffusionmodules/model.py | 6 | CODE | |
| LOW | ldm_patched/ldm/modules/diffusionmodules/model.py | 7 | CODE | |
| LOW | ldm_patched/ldm/modules/diffusionmodules/model.py | 7 | CODE | |
| LOW | ldm_patched/modules/supported_models_base.py | 1 | CODE | |
| LOW | ldm_patched/modules/sd2_clip.py | 2 | CODE | |
| LOW | ldm_patched/modules/sample.py | 6 | CODE | |
| LOW | ldm_patched/modules/model_management.py | 49 | CODE | |
| LOW | modules/sample_hijack.py | 5 | CODE | |
| LOW | modules/core.py | 19 | CODE | |
| LOW | modules/gradio_hijack.py | 3 | CODE | |
| LOW | extras/BLIP/models/blip_vqa.py | 7 | CODE | |
| LOW | extras/BLIP/models/med.py | 12 | CODE | |
| LOW | extras/BLIP/models/med.py | 13 | CODE | |
| LOW | extras/BLIP/models/med.py | 14 | CODE | |
| LOW | extras/BLIP/models/med.py | 15 | CODE | |
| LOW | extras/BLIP/models/med.py | 22 | CODE | |
| LOW | extras/BLIP/models/med.py | 25 | CODE | |
| LOW | extras/BLIP/models/med.py | 28 | CODE | |
| LOW | extras/BLIP/models/med.py | 28 | CODE | |
| LOW | extras/BLIP/models/med.py | 28 | CODE | |
| LOW | extras/BLIP/models/med.py | 28 | CODE | |
| LOW | extras/BLIP/models/med.py | 28 | CODE | |
| LOW | extras/BLIP/models/med.py | 28 | CODE | |
| LOW | extras/BLIP/models/blip.py | 17 | CODE | |
| LOW | extras/BLIP/models/nlvr_encoder.py | 2 | CODE | |
| LOW | extras/BLIP/models/nlvr_encoder.py | 3 | CODE | |
| LOW | extras/BLIP/models/nlvr_encoder.py | 4 | CODE | |
| LOW | extras/BLIP/models/nlvr_encoder.py | 5 | CODE | |
| LOW | extras/BLIP/models/nlvr_encoder.py | 11 | CODE | |
| LOW | extras/BLIP/models/nlvr_encoder.py | 12 | CODE | |
| LOW | extras/BLIP/models/nlvr_encoder.py | 15 | CODE | |
| LOW | extras/BLIP/models/nlvr_encoder.py | 18 | CODE | |
| LOW | extras/BLIP/models/nlvr_encoder.py | 18 | CODE | |
| LOW | extras/BLIP/models/nlvr_encoder.py | 18 | CODE | |
| LOW | extras/BLIP/models/nlvr_encoder.py | 18 | CODE | |
| 20 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | webui.py | 605 | except ValueError: | CODE |
| HIGH | ldm_patched/pfn/architecture/face/codeformer.py | 623 | except: | CODE |
| HIGH | ldm_patched/ldm/modules/attention.py | 282 | except: | CODE |
| HIGH | ldm_patched/modules/sd1_clip.py | 240 | except: | CODE |
| HIGH | ldm_patched/modules/controlnet.py | 291 | except: | CODE |
| HIGH | ldm_patched/modules/model_management.py | 52 | except: | CODE |
| HIGH | ldm_patched/modules/model_management.py | 59 | except: | CODE |
| HIGH | ldm_patched/modules/model_management.py | 186 | except: | CODE |
| HIGH | ldm_patched/modules/model_management.py | 145 | except: | CODE |
| HIGH | ldm_patched/modules/model_management.py | 156 | except: | CODE |
| HIGH | ldm_patched/modules/model_management.py | 465 | except: #Old pytorch doesn't have .itemsize | CODE |
| HIGH | modules/meta_parser.py | 422 | except ValueError | KeyError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ldm_patched/pfn/architecture/OmniSR/layernorm.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | ldm_patched/pfn/architecture/OmniSR/OmniSR.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | ldm_patched/pfn/architecture/OmniSR/pixelshuffle.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | ldm_patched/pfn/architecture/OmniSR/esa.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | ldm_patched/pfn/architecture/OmniSR/OSAG.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | ldm_patched/pfn/architecture/OmniSR/OSA.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | ldm_patched/pfn/architecture/face/restoreformer_arch.py | 61 | min_encodings = torch.zeros(min_encoding_indices.shape[0], self.n_e).to(z) | COMMENT |
| LOW | javascript/imageviewer.js | 201 | modalZoom.innerHTML = '⤡'; | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29601 | collarbone | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29621 | ##) | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29641 | ##{ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29661 | ##¶ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29681 | ##ɕ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29701 | ##ʌ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29721 | ##β | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29741 | ##б | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29761 | ##і | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29781 | ##պ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29801 | ##ם | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29821 | ##ح | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29841 | ##چ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29861 | ##थ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29881 | ##। | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29901 | ##দ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29921 | ##ட | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29941 | ##ය | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29961 | ##་ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 29981 | ##თ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30001 | ##ᄌ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30021 | ##ᆨ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30041 | ##ᵖ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30061 | ##„ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30081 | ##ⁿ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30101 | ##₤ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30121 | ##∂ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30141 | ##⊗ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30161 | ##⽥ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30181 | ##け | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30201 | ##ふ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30221 | ##ィ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30241 | ##ト | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30261 | ##レ | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30281 | ##井 | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30301 | ##出 | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30321 | ##同 | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30341 | ##奈 | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30361 | ##崎 | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30381 | ##成 | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30401 | ##朝 | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30421 | ##氵 | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30441 | ##発 | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30461 | ##糹 | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30481 | ##車 | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30501 | ##雄 | COMMENT |
| LOW | extras/BLIP/models/bert_tokenizer/vocab.txt | 30521 | ##? | COMMENT |
| LOW | extras/facexlib/detection/retinaface.py | 361 | # self.t['forward_pass'].toc(average=True) | COMMENT |
| LOW | extras/facexlib/detection/matlab_cp2tform.py | 241 | COMMENT | |
| LOW | extras/facexlib/detection/matlab_cp2tform.py | 261 | # xy_m = | COMMENT |
| LOW | extras/safety_checker/models/safety_checker.py | 1 | # from https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/safety_checker.py | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | entry_with_update.py | 41 | except Exception as e: | CODE |
| LOW | ldm_patched/contrib/external.py | 1891 | except Exception as e: | CODE |
| LOW | ldm_patched/modules/sd1_clip.py | 330 | except Exception as e: | CODE |
| LOW | ldm_patched/modules/model_patcher.py | 252 | except Exception as e: | CODE |
| LOW | ldm_patched/modules/model_patcher.py | 291 | except Exception as e: | CODE |
| LOW | ldm_patched/modules/model_patcher.py | 320 | except Exception as e: | CODE |
| LOW | ldm_patched/modules/model_management.py | 301 | except Exception as e: | CODE |
| LOW | modules/patch.py | 90 | except Exception as e: | CODE |
| LOW | modules/patch.py | 139 | except Exception as e: | CODE |
| LOW | modules/patch.py | 168 | except Exception as e: | CODE |
| LOW | modules/patch.py | 466 | except Exception as e: | CODE |
| LOW | modules/auth.py | 27 | except Exception as e: | CODE |
| LOW⚡ | modules/config.py | 34 | except Exception as e: | CODE |
| LOW⚡ | modules/config.py | 43 | except Exception as e: | CODE |
| LOW | modules/config.py | 93 | except Exception as e: | CODE |
| LOW | modules/config.py | 125 | except Exception as e: | CODE |
| LOW | modules/config.py | 247 | except Exception as e: | CODE |
| LOW | modules/style_sorter.py | 26 | except Exception as e: | CODE |
| LOW | modules/style_sorter.py | 43 | except Exception as e: | CODE |
| LOW | modules/util.py | 229 | except Exception: | CODE |
| MEDIUM | modules/util.py | 253 | print(f"Error: {e}") | CODE |
| LOW | modules/util.py | 514 | except Exception as e: | CODE |
| LOW | modules/meta_parser.py | 403 | except Exception: | CODE |
| MEDIUM | modules/meta_parser.py | 404 | print(f"Error parsing \"{k}: {v}\"") | CODE |
| LOW | modules/sdxl_styles.py | 46 | except Exception as e: | CODE |
| LOW | modules/hash_cache.py | 38 | except Exception as e: | CODE |
| LOW | modules/hash_cache.py | 57 | except Exception as e: | CODE |
| LOW | modules/localization.py | 22 | except Exception as e: | CODE |
| LOW | modules/launch_util.py | 72 | except Exception as e: | CODE |
| LOW⚡ | modules/launch_util.py | 96 | except Exception as e: | CODE |
| MEDIUM⚡ | modules/launch_util.py | 97 | print(f"Error checking version for {package}: {e}") | CODE |
| LOW | modules/launch_util.py | 113 | except Exception as e: | CODE |
| MEDIUM | modules/launch_util.py | 26 | def is_installed(package): | CODE |
| LOW | modules/async_worker.py | 213 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | models/prompt_expansion/fooocus_expansion/vocab.json | 1 | {"!":0,"\"":1,"#":2,"$":3,"%":4,"&":5,"'":6,"(":7,")":8,"*":9,"+":10,",":11,"-":12,".":13,"/":14,"0":15,"1":16,"2":17,"3 | CODE |
| MEDIUM⚡ | models/prompt_expansion/fooocus_expansion/vocab.json | 1 | {"!":0,"\"":1,"#":2,"$":3,"%":4,"&":5,"'":6,"(":7,")":8,"*":9,"+":10,",":11,"-":12,".":13,"/":14,"0":15,"1":16,"2":17,"3 | CODE |
| MEDIUM | ldm_patched/contrib/external.py | 346 | #grow mask by a few pixels to keep things seamless in latent space | COMMENT |
| MEDIUM⚡ | extras/BLIP/models/bert_tokenizer/tokenizer.json | 1 | {"version":"1.0","truncation":null,"padding":null,"added_tokens":[{"id":0,"special":true,"content":"[PAD]","single_word" | CODE |
| MEDIUM⚡ | extras/BLIP/models/bert_tokenizer/tokenizer.json | 1 | {"version":"1.0","truncation":null,"padding":null,"added_tokens":[{"id":0,"special":true,"content":"[PAD]","single_word" | CODE |
| MEDIUM⚡ | extras/BLIP/models/bert_tokenizer/tokenizer.json | 1 | {"version":"1.0","truncation":null,"padding":null,"added_tokens":[{"id":0,"special":true,"content":"[PAD]","single_word" | CODE |
| MEDIUM⚡ | extras/BLIP/models/bert_tokenizer/tokenizer.json | 1 | {"version":"1.0","truncation":null,"padding":null,"added_tokens":[{"id":0,"special":true,"content":"[PAD]","single_word" | CODE |
| MEDIUM⚡ | extras/BLIP/models/bert_tokenizer/tokenizer.json | 1 | {"version":"1.0","truncation":null,"padding":null,"added_tokens":[{"id":0,"special":true,"content":"[PAD]","single_word" | CODE |
| MEDIUM⚡ | extras/BLIP/models/bert_tokenizer/tokenizer.json | 1 | {"version":"1.0","truncation":null,"padding":null,"added_tokens":[{"id":0,"special":true,"content":"[PAD]","single_word" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ldm_patched/pfn/architecture/Swin2SR.py | 2 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | ldm_patched/pfn/architecture/Swin2SR.py | 6 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | ldm_patched/pfn/architecture/SwinIR.py | 2 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | ldm_patched/pfn/architecture/SwinIR.py | 5 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | ldm_patched/pfn/architecture/SCUNet.py | 2 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | ldm_patched/pfn/architecture/SCUNet.py | 5 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | ldm_patched/pfn/architecture/face/codeformer.py | 761 | # ------------ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | modules/patch.py | 340 | t_emb = ldm_patched.ldm.modules.diffusionmodules.openaimodel.timestep_embedding(timesteps, self.model_channels, repe | CODE |
| CRITICAL | modules/patch.py | 394 | t_emb = ldm_patched.ldm.modules.diffusionmodules.openaimodel.timestep_embedding(timesteps, self.model_channels, repe | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | models/prompt_expansion/fooocus_expansion/vocab.json | 1 | {"!":0,"\"":1,"#":2,"$":3,"%":4,"&":5,"'":6,"(":7,")":8,"*":9,"+":10,",":11,"-":12,".":13,"/":14,"0":15,"1":16,"2":17,"3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | modules/private_logger.py | 73 | if (navigator.clipboard && navigator.permissions) { | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | modules/launch_util.py | 92 | # Check if the installed version satisfies the requirement | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/ISSUE_TEMPLATE/bug_report.yml | 32 | > Please fill this form with as much information as possible. Don't forget to add information about "What browse | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | extras/facexlib/utils/__init__.py | 4 | __all__ = [ | CODE |