🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.
This report presents the forensic synthetic code analysis of huggingface/diffusers, a Python project with 34,059 GitHub stars. SynthScan v2.0 examined 1,094,968 lines of code across 2715 source files, recording 14441 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 22.1 places this repository in the Moderate 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 14441 distinct pattern matches across 24 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 | CONTRIBUTING.md | 0 | output class for stable diffusion pipelines. args: rgb (`list[pil.image.image]` or `np.ndarray`) list of denoised pil im | STRING |
| HIGH | docs/source/zh/conceptual/contribution.md | 0 | output class for stable diffusion pipelines. args: rgb (`list[pil.image.image]` or `np.ndarray`) list of denoised pil im | STRING |
| HIGH | docs/source/ko/conceptual/contribution.md | 0 | output class for stable diffusion pipelines. args: rgb (`list[pil.image.image]` or `np.ndarray`) list of denoised pil im | STRING |
| HIGH | docs/source/en/conceptual/contribution.md | 0 | output class for stable diffusion pipelines. args: rgb (`list[pil.image.image]` or `np.ndarray`) list of denoised pil im | STRING |
| HIGH | …/pipelines/deprecated/alt_diffusion/pipeline_output.py | 0 | output class for stable diffusion pipelines. args: rgb (`list[pil.image.image]` or `np.ndarray`) list of denoised pil im | STRING |
| HIGH | src/diffusers/pipelines/ledits_pp/pipeline_output.py | 0 | output class for stable diffusion pipelines. args: rgb (`list[pil.image.image]` or `np.ndarray`) list of denoised pil im | STRING |
| HIGH | …iffusers/pipelines/stable_diffusion/pipeline_output.py | 0 | output class for stable diffusion pipelines. args: rgb (`list[pil.image.image]` or `np.ndarray`) list of denoised pil im | STRING |
| HIGH | …eprecated/semantic_stable_diffusion/pipeline_output.py | 0 | output class for stable diffusion pipelines. args: rgb (`list[pil.image.image]` or `np.ndarray`) list of denoised pil im | STRING |
| HIGH | …ble_diffusion_ldm3d/pipeline_stable_diffusion_ldm3d.py | 0 | output class for stable diffusion pipelines. args: rgb (`list[pil.image.image]` or `np.ndarray`) list of denoised pil im | STRING |
| HIGH | tests/testing_utils.py | 0 | helper function for reproducible behavior during distributed training. see - https://pytorch.org/docs/stable/notes/rando | STRING |
| HIGH | src/diffusers/utils/testing_utils.py | 0 | helper function for reproducible behavior during distributed training. see - https://pytorch.org/docs/stable/notes/rando | STRING |
| HIGH | src/diffusers/utils/torch_utils.py | 0 | helper function for reproducible behavior during distributed training. see - https://pytorch.org/docs/stable/notes/rando | STRING |
| HIGH | …sts/models/transformers/test_models_transformer_wan.py | 0 | bitsandbytes quantization tests for wan animate transformer 3d. | STRING |
| HIGH | …odels/transformers/test_models_transformer_wan_vace.py | 0 | bitsandbytes quantization tests for wan animate transformer 3d. | STRING |
| HIGH | …ls/transformers/test_models_transformer_wan_animate.py | 0 | bitsandbytes quantization tests for wan animate transformer 3d. | STRING |
| HIGH | …sts/models/transformers/test_models_transformer_wan.py | 0 | override to provide inputs matching the tiny wan animate model dimensions. | STRING |
| HIGH | …odels/transformers/test_models_transformer_wan_vace.py | 0 | override to provide inputs matching the tiny wan animate model dimensions. | STRING |
| HIGH | …ls/transformers/test_models_transformer_wan_animate.py | 0 | override to provide inputs matching the tiny wan animate model dimensions. | STRING |
| HIGH | tests/quantization/gguf/test_gguf.py | 0 | a simple tests to check if the modules under `_keep_in_fp32_modules` are kept in fp32. also ensures if inference works. | STRING |
| HIGH | tests/quantization/bnb/test_mixed_int8.py | 0 | a simple tests to check if the modules under `_keep_in_fp32_modules` are kept in fp32. also ensures if inference works. | STRING |
| HIGH | tests/quantization/bnb/test_4bit.py | 0 | a simple tests to check if the modules under `_keep_in_fp32_modules` are kept in fp32. also ensures if inference works. | STRING |
| HIGH | tests/quantization/quanto/test_quanto.py | 0 | a simple tests to check if the modules under `_keep_in_fp32_modules` are kept in fp32. also ensures if inference works. | STRING |
| HIGH | tests/quantization/bnb/test_mixed_int8.py | 0 | a simple test to check if the model conversion has been done correctly by checking on the memory footprint of the conver | STRING |
| HIGH | tests/quantization/bnb/test_4bit.py | 0 | a simple test to check if the model conversion has been done correctly by checking on the memory footprint of the conver | STRING |
| HIGH | tests/quantization/torchao/test_torchao.py | 0 | a simple test to check if the model conversion has been done correctly by checking on the memory footprint of the conver | STRING |
| HIGH | docs/source/pt/stable_diffusion.md | 0 | cinematic film still of a cat sipping a margarita in a pool in palm springs, california highly detailed, high budget hol | STRING |
| HIGH | docs/source/zh/optimization/speed-memory-optims.md | 0 | cinematic film still of a cat sipping a margarita in a pool in palm springs, california highly detailed, high budget hol | STRING |
| HIGH | docs/source/en/stable_diffusion.md | 0 | cinematic film still of a cat sipping a margarita in a pool in palm springs, california highly detailed, high budget hol | STRING |
| HIGH | docs/source/en/quicktour.md | 0 | cinematic film still of a cat sipping a margarita in a pool in palm springs, california highly detailed, high budget hol | STRING |
| HIGH | docs/source/en/optimization/attention_backends.md | 0 | cinematic film still of a cat sipping a margarita in a pool in palm springs, california highly detailed, high budget hol | STRING |
| HIGH | docs/source/en/optimization/speed-memory-optims.md | 0 | cinematic film still of a cat sipping a margarita in a pool in palm springs, california highly detailed, high budget hol | STRING |
| HIGH | docs/source/en/training/distributed_inference.md | 0 | cinematic film still of a cat sipping a margarita in a pool in palm springs, california highly detailed, high budget hol | STRING |
| HIGH | docs/source/en/using-diffusers/loading.md | 0 | cinematic film still of a cat sipping a margarita in a pool in palm springs, california highly detailed, high budget hol | STRING |
| HIGH | docs/source/zh/optimization/speed-memory-optims.md | 0 | steamboat willie style, golden era animation, the camera rushes from far to near in a low-angle shot, revealing a white | STRING |
| HIGH | docs/source/en/optimization/speed-memory-optims.md | 0 | steamboat willie style, golden era animation, the camera rushes from far to near in a low-angle shot, revealing a white | STRING |
| HIGH | docs/source/en/using-diffusers/text-img2vid.md | 0 | steamboat willie style, golden era animation, the camera rushes from far to near in a low-angle shot, revealing a white | STRING |
| HIGH | docs/source/en/api/pipelines/wan.md | 0 | steamboat willie style, golden era animation, the camera rushes from far to near in a low-angle shot, revealing a white | STRING |
| HIGH | docs/source/zh/optimization/speed-memory-optims.md | 0 | bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, wo | STRING |
| HIGH | docs/source/en/optimization/speed-memory-optims.md | 0 | bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, wo | STRING |
| HIGH | docs/source/en/using-diffusers/text-img2vid.md | 0 | bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, wo | STRING |
| HIGH | docs/source/en/api/pipelines/wan.md | 0 | bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, wo | STRING |
| HIGH | docs/source/en/api/pipelines/helios.md | 0 | bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, wo | STRING |
| HIGH | …/unconditional_image_generation/train_unconditional.py | 0 | extract values from a 1-d numpy array for a batch of indices. :param arr: the 1-d numpy array. :param timesteps: a tenso | STRING |
| HIGH | …/unconditional_image_generation/train_unconditional.py | 0 | extract values from a 1-d numpy array for a batch of indices. :param arr: the 1-d numpy array. :param timesteps: a tenso | STRING |
| HIGH | …ects/consistency_training/train_cm_ct_unconditional.py | 0 | extract values from a 1-d numpy array for a batch of indices. :param arr: the 1-d numpy array. :param timesteps: a tenso | STRING |
| HIGH | examples/controlnet/train_controlnet_flux.py | 0 | # cogview4-control-{repo_id} these are control weights trained on {base_model} with new type of conditioning. {img_str} | STRING |
| HIGH | examples/flux-control/train_control_lora_flux.py | 0 | # cogview4-control-{repo_id} these are control weights trained on {base_model} with new type of conditioning. {img_str} | STRING |
| HIGH | examples/flux-control/train_control_flux.py | 0 | # cogview4-control-{repo_id} these are control weights trained on {base_model} with new type of conditioning. {img_str} | STRING |
| HIGH | examples/cogview4-control/train_control_cogview4.py | 0 | # cogview4-control-{repo_id} these are control weights trained on {base_model} with new type of conditioning. {img_str} | STRING |
| HIGH | examples/controlnet/train_controlnet_sdxl.py | 0 | # controlnet-{repo_id} these are controlnet weights trained on {base_model} with new type of conditioning. {img_str} | STRING |
| HIGH | examples/controlnet/train_controlnet.py | 0 | # controlnet-{repo_id} these are controlnet weights trained on {base_model} with new type of conditioning. {img_str} | STRING |
| HIGH | …rch_projects/controlnet/train_controlnet_webdataset.py | 0 | # controlnet-{repo_id} these are controlnet weights trained on {base_model} with new type of conditioning. {img_str} | STRING |
| HIGH | …research_projects/pixart/train_pixart_controlnet_hf.py | 0 | # controlnet-{repo_id} these are controlnet weights trained on {base_model} with new type of conditioning. {img_str} | STRING |
| HIGH | …andinsky2_2/text_to_image/train_text_to_image_prior.py | 0 | more information on all the cli arguments and the environment are available on your [`wandb` run page]({wandb_run_url}). | STRING |
| HIGH | …dinsky2_2/text_to_image/train_text_to_image_decoder.py | 0 | more information on all the cli arguments and the environment are available on your [`wandb` run page]({wandb_run_url}). | STRING |
| HIGH | …/wuerstchen/text_to_image/train_text_to_image_prior.py | 0 | more information on all the cli arguments and the environment are available on your [`wandb` run page]({wandb_run_url}). | STRING |
| HIGH | …stchen/text_to_image/train_text_to_image_lora_prior.py | 0 | more information on all the cli arguments and the environment are available on your [`wandb` run page]({wandb_run_url}). | STRING |
| HIGH | …ber_loss_training/text_to_image/train_text_to_image.py | 0 | more information on all the cli arguments and the environment are available on your [`wandb` run page]({wandb_run_url}). | STRING |
| HIGH | examples/text_to_image/train_text_to_image.py | 0 | more information on all the cli arguments and the environment are available on your [`wandb` run page]({wandb_run_url}). | STRING |
| HIGH | …andinsky2_2/text_to_image/train_text_to_image_prior.py | 0 | returns either a context list that includes one that will disable zero.init or an empty context list | STRING |
| 2096 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/testing_utils.py | 1566 | def backend_reset_peak_memory_stats(device: str): | CODE |
| LOW⚡ | tests/testing_utils.py | 1570 | def backend_reset_max_memory_allocated(device: str): | CODE |
| LOW⚡ | tests/testing_utils.py | 1574 | def backend_max_memory_allocated(device: str): | CODE |
| LOW⚡ | tests/testing_utils.py | 1580 | def backend_supports_training(device: str): | CODE |
| LOW | tests/testing_utils.py | 203 | def numpy_cosine_similarity_distance(a, b): | CODE |
| LOW | tests/testing_utils.py | 513 | def require_torch_version_greater_equal(torch_version): | CODE |
| LOW | tests/testing_utils.py | 526 | def require_torch_version_greater(torch_version): | CODE |
| LOW | tests/testing_utils.py | 543 | def require_torch_cuda_compatibility(expected_compute_capability): | CODE |
| LOW | tests/testing_utils.py | 557 | def require_torch_accelerator(test_case): | CODE |
| LOW | tests/testing_utils.py | 584 | def require_torch_multi_accelerator(test_case): | CODE |
| LOW | tests/testing_utils.py | 614 | def require_big_gpu_with_torch_cuda(test_case): | CODE |
| LOW | tests/testing_utils.py | 663 | def require_torch_accelerator_with_training(test_case): | CODE |
| LOW | tests/testing_utils.py | 763 | def require_peft_version_greater(peft_version): | CODE |
| LOW | tests/testing_utils.py | 780 | def require_transformers_version_greater(transformers_version): | CODE |
| LOW | tests/testing_utils.py | 798 | def require_accelerate_version_greater(accelerate_version): | CODE |
| LOW | tests/testing_utils.py | 811 | def require_bitsandbytes_version_greater(bnb_version): | CODE |
| LOW | tests/testing_utils.py | 823 | def require_hf_hub_version_greater(hf_hub_version): | CODE |
| LOW | tests/testing_utils.py | 836 | def require_gguf_version_greater_or_equal(gguf_version): | CODE |
| LOW | tests/testing_utils.py | 848 | def require_torchao_version_greater_or_equal(torchao_version): | CODE |
| LOW | tests/testing_utils.py | 860 | def require_auto_round_version_greater_or_equal(auto_round_version): | CODE |
| LOW | tests/testing_utils.py | 873 | def require_kernels_version_greater_or_equal(kernels_version): | CODE |
| LOW | tests/testing_utils.py | 885 | def require_modelopt_version_greater_or_equal(modelopt_version): | CODE |
| LOW | tests/testing_utils.py | 895 | def deprecate_after_peft_backend(test_case): | CODE |
| LOW | tests/testing_utils.py | 1127 | def pytest_terminal_summary_main(tr, id): | CODE |
| LOW | tests/testing_utils.py | 1538 | def _device_agnostic_dispatch(device: str, dispatch_table: dict[str, Callable], *args, **kwargs): | CODE |
| LOW | tests/testing_utils.py | 1685 | def _get_expected_safetensors_files( | CODE |
| LOW | tests/testing_utils.py | 1768 | def _check_safetensors_serialization( | CODE |
| LOW | …e_file/test_stable_diffusion_controlnet_single_file.py | 63 | def test_single_file_format_inference_is_same_as_pretrained(self): | CODE |
| LOW | …e_file/test_stable_diffusion_controlnet_single_file.py | 85 | def test_single_file_components(self): | CODE |
| LOW | …e_file/test_stable_diffusion_controlnet_single_file.py | 98 | def test_single_file_components_local_files_only(self): | CODE |
| LOW | …e_file/test_stable_diffusion_controlnet_single_file.py | 112 | def test_single_file_components_with_original_config(self): | CODE |
| LOW | …e_file/test_stable_diffusion_controlnet_single_file.py | 121 | def test_single_file_components_with_original_config_local_files_only(self): | CODE |
| LOW | …e_file/test_stable_diffusion_controlnet_single_file.py | 142 | def test_single_file_components_with_diffusers_config(self): | CODE |
| LOW | …e_file/test_stable_diffusion_controlnet_single_file.py | 151 | def test_single_file_components_with_diffusers_config_local_files_only(self): | CODE |
| LOW | …ts/single_file/test_stable_diffusion_xl_single_file.py | 52 | def test_single_file_format_inference_is_same_as_pretrained(self): | CODE |
| LOW | tests/single_file/test_model_vae_single_file.py | 52 | def test_single_file_inference_same_as_pretrained(self): | CODE |
| LOW | tests/single_file/test_model_vae_single_file.py | 71 | def test_single_file_arguments(self): | CODE |
| LOW | …ngle_file/test_stable_diffusion_upscale_single_file.py | 41 | def test_single_file_format_inference_is_same_as_pretrained(self): | CODE |
| LOW | …ngle_file/test_stable_diffusion_upscale_single_file.py | 75 | def test_single_file_components_with_original_config(self): | CODE |
| LOW | …ngle_file/test_stable_diffusion_upscale_single_file.py | 83 | def test_single_file_components_with_original_config_local_files_only(self): | CODE |
| LOW | …ile/test_stable_diffusion_xl_controlnet_single_file.py | 63 | def test_single_file_format_inference_is_same_as_pretrained(self): | CODE |
| LOW | …ile/test_stable_diffusion_xl_controlnet_single_file.py | 88 | def test_single_file_components(self): | CODE |
| LOW | …ile/test_stable_diffusion_xl_controlnet_single_file.py | 102 | def test_single_file_components_local_files_only(self): | CODE |
| LOW | …ile/test_stable_diffusion_xl_controlnet_single_file.py | 123 | def test_single_file_components_with_original_config(self): | CODE |
| LOW | …ile/test_stable_diffusion_xl_controlnet_single_file.py | 141 | def test_single_file_components_with_original_config_local_files_only(self): | CODE |
| LOW | …ile/test_stable_diffusion_xl_controlnet_single_file.py | 164 | def test_single_file_components_with_diffusers_config(self): | CODE |
| LOW | …ile/test_stable_diffusion_xl_controlnet_single_file.py | 175 | def test_single_file_components_with_diffusers_config_local_files_only(self): | CODE |
| LOW | …ngle_file/test_stable_diffusion_inpaint_single_file.py | 61 | def test_single_file_format_inference_is_same_as_pretrained(self): | CODE |
| LOW | …ngle_file/test_stable_diffusion_inpaint_single_file.py | 72 | def test_single_file_components_with_original_config(self): | CODE |
| LOW | …ngle_file/test_stable_diffusion_inpaint_single_file.py | 76 | def test_single_file_components_with_original_config_local_files_only(self): | CODE |
| LOW | …ngle_file/test_stable_diffusion_inpaint_single_file.py | 119 | def test_single_file_format_inference_is_same_as_pretrained(self): | CODE |
| LOW | …e_file/test_stable_diffusion_xl_img2img_single_file.py | 60 | def test_single_file_format_inference_is_same_as_pretrained(self): | CODE |
| LOW | …e_file/test_stable_diffusion_xl_img2img_single_file.py | 76 | def test_single_file_format_inference_is_same_as_pretrained(self): | CODE |
| LOW | …s/single_file/test_model_autoencoder_dc_single_file.py | 50 | def test_single_file_inference_same_as_pretrained(self): | CODE |
| LOW | …s/single_file/test_model_autoencoder_dc_single_file.py | 67 | def test_single_file_in_type_variant_components(self): | CODE |
| LOW | …s/single_file/test_model_autoencoder_dc_single_file.py | 86 | def test_single_file_mix_type_variant_components(self): | CODE |
| LOW | …est_stable_diffusion_controlnet_inpaint_single_file.py | 70 | def test_single_file_format_inference_is_same_as_pretrained(self): | CODE |
| LOW | …est_stable_diffusion_controlnet_inpaint_single_file.py | 89 | def test_single_file_components(self): | CODE |
| LOW | …est_stable_diffusion_controlnet_inpaint_single_file.py | 102 | def test_single_file_components_local_files_only(self): | CODE |
| LOW | …est_stable_diffusion_controlnet_inpaint_single_file.py | 117 | def test_single_file_components_with_original_config(self): | CODE |
| 4286 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | utils/check_forward_call_docstrings.py | 15 | Check that arguments of ``forward()`` (for models) and ``__call__()`` (for pipelines) match the method's docstring exac | STRING |
| HIGH | examples/research_projects/anytext/anytext.py | 1970 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | …_projects/promptdiffusion/pipeline_prompt_diffusion.py | 938 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | …ch_projects/pixart/pipeline_pixart_alpha_controlnet.py | 820 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | examples/community/pipeline_zero1to3.py | 624 | Function invoked when calling the pipeline for generation. Args: input_imgs (`PIL` or `Lis | STRING |
| HIGH | examples/community/mod_controlnet_tile_sr_sdxl.py | 1084 | Calculates the number of tiles needed to cover an image, choosing the appropriate formula based on the | STRING |
| HIGH | examples/community/mod_controlnet_tile_sr_sdxl.py | 1292 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | …mmunity/stable_diffusion_controlnet_inpaint_img2img.py | 755 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | …les/community/pipeline_flux_kontext_multiple_images.py | 851 | Function invoked when calling the pipeline for generation. Args: image (`torch.Tensor`, `P | STRING |
| HIGH | …munity/pipeline_stable_diffusion_3_instruct_pix2pix.py | 896 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | …/community/stable_diffusion_xl_controlnet_reference.py | 375 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | examples/community/mixture_tiling.py | 184 | Function to run the diffusion pipeline with tiling support. Args: prompt: either a single | STRING |
| HIGH | examples/community/pipeline_stg_hunyuan_video.py | 586 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | examples/community/pipeline_flux_with_cfg.py | 632 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | examples/community/pipeline_stable_diffusion_xl_ipex.py | 759 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | examples/community/stable_diffusion_repaint.py | 43 | Prepares a pair (image, mask) to be consumed by the Stable Diffusion pipeline. This means that those inputs will be | STRING |
| HIGH | examples/community/stable_diffusion_repaint.py | 633 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str | STRING |
| HIGH | …/community/pipeline_hunyuandit_differential_img2img.py | 770 | The call function to the pipeline for generation with HunyuanDiT. Args: prompt (`str` or ` | STRING |
| HIGH | examples/community/pipeline_stable_diffusion_boxdiff.py | 1353 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | examples/community/adaptive_mask_inpainting.py | 206 | Prepares a pair (image, mask) to be consumed by the Stable Diffusion pipeline. This means that those inputs will be | STRING |
| HIGH | examples/community/adaptive_mask_inpainting.py | 884 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | examples/community/fresco_v2v.py | 2082 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | …line_stable_diffusion_xl_controlnet_adapter_inpaint.py | 175 | Prepares a pair (image, mask) to be consumed by the Stable Diffusion pipeline. This means that those inputs will be | STRING |
| HIGH | …line_stable_diffusion_xl_controlnet_adapter_inpaint.py | 1240 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | …ty/pipeline_stable_diffusion_3_differential_img2img.py | 699 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | examples/community/pipeline_demofusion_sdxl.py | 662 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | examples/community/run_tensorrt_controlnet.py | 651 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | examples/community/pipeline_stg_ltx.py | 589 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | examples/community/pipeline_animatediff_ipex.py | 598 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | …es/community/pipeline_faithdiff_stable_diffusion_xl.py | 1838 | Function invoked when calling the pipeline for generation. Args: lr_img (PipelineImageInpu | STRING |
| HIGH | examples/community/pipeline_stable_diffusion_pag.py | 1126 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opti | STRING |
| HIGH | examples/community/stable_diffusion_reference.py | 286 | Check the validity of the input arguments for the diffusion model. Args: prompt (Optional[ | STRING |
| HIGH | examples/community/stable_diffusion_reference.py | 849 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | …unity/pipeline_stable_diffusion_xl_attentive_eraser.py | 326 | Prepares a pair (image, mask) to be consumed by the Stable Diffusion pipeline. This means that those inputs will be | STRING |
| HIGH | …unity/pipeline_stable_diffusion_xl_attentive_eraser.py | 1660 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | …les/community/stable_diffusion_controlnet_reference.py | 135 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | examples/community/stable_diffusion_xl_reference.py | 317 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | …les/community/pipeline_controlnet_xl_kolors_img2img.py | 995 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | examples/community/pipeline_controlnet_xl_kolors.py | 821 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | …y/pipeline_stable_diffusion_xl_differential_img2img.py | 978 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | examples/community/matryoshka.py | 4278 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | …les/community/pipeline_z_image_differential_img2img.py | 477 | Function invoked when calling the pipeline for image-to-image generation. Args: prompt (`s | STRING |
| HIGH | examples/community/pipeline_stg_mochi.py | 592 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | …s/community/pipeline_stable_diffusion_upscale_ldm3d.py | 533 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | examples/community/rerender_a_video.py | 627 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | …es/community/pipeline_stable_diffusion_xl_instantid.py | 586 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | examples/community/lpw_stable_diffusion_xl.py | 1437 | Function invoked when calling the pipeline for generation. Args: prompt (`str`): | STRING |
| HIGH | examples/community/pipeline_kolors_inpainting.py | 123 | Prepares a pair (image, mask) to be consumed by the Stable Diffusion pipeline. This means that those inputs will be | STRING |
| HIGH | examples/community/pipeline_kolors_inpainting.py | 1121 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | examples/community/stable_diffusion_ipex.py | 583 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | examples/community/mixture_tiling_sdxl.py | 803 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | examples/community/gluegen.py | 607 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | examples/community/instaflow_one_step.py | 522 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | …mples/community/stable_diffusion_controlnet_inpaint.py | 767 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | …ples/community/pipeline_kolors_differential_img2img.py | 819 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | examples/community/pipeline_fabric.py | 521 | The call function to the pipeline for generation. Generate a trajectory of images with binary feedback. The | STRING |
| HIGH | examples/community/pipeline_animatediff_controlnet.py | 777 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | examples/community/pipeline_flux_semantic_guidance.py | 825 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| HIGH | …nity/pipeline_stable_diffusion_xl_instandid_img2img.py | 590 | The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *opt | STRING |
| HIGH | …ples/community/pipline_flux_fill_controlnet_Inpaint.py | 865 | Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[st | STRING |
| 320 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/models/unets/test_unet_2d_blocks.py | 17 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 1 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 1 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 2 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 2 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 2 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 2 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 2 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 2 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 2 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 2 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 2 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 2 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 2 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 15 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 15 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 16 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 17 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 18 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 18 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 19 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 19 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 19 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 19 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 20 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 20 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 21 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 46 | CODE | |
| LOW | tests/models/testing_utils/__init__.py | 47 | CODE | |
| LOW | utils/check_forward_call_docstrings.py | 45 | CODE | |
| LOW | …ples/reinforcement_learning/run_diffuser_locomotion.py | 1 | CODE | |
| LOW | examples/server-async/utils/__init__.py | 1 | CODE | |
| LOW | examples/server-async/utils/__init__.py | 2 | CODE | |
| LOW | examples/inference/inpainting.py | 3 | CODE | |
| LOW | examples/inference/image_to_image.py | 3 | CODE | |
| LOW | examples/dreambooth/train_dreambooth_lora_ideogram4.py | 1163 | CODE | |
| LOW | examples/community/pipeline_prompt2prompt.py | 15 | CODE | |
| LOW | scripts/convert_sana_to_diffusers.py | 2 | CODE | |
| 2364 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 1 | # Copyright 2026 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | setup.py | 161 | deps = {b: a for a, b in (re.findall(r"^(([^!=<>~]+)(?:[!=<>~].*)?$)", x)[0] for x in _deps)} | COMMENT |
| LOW | tests/conftest.py | 1 | # Copyright 2026 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | …/single_file/test_model_wan_autoencoder_single_file.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/single_file/test_lumina2_transformer.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …single_file/test_model_flux_transformer_single_file.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/single_file/test_model_vae_single_file.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …s/single_file/test_model_autoencoder_dc_single_file.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/single_file/test_model_controlnet_single_file.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …ingle_file/test_model_wan_transformer3d_single_file.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …/single_file/test_model_sd_cascade_unet_single_file.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …s/single_file/test_model_motion_adapter_single_file.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …/modular_pipelines/test_conditional_pipeline_blocks.py | 1 | # Copyright 2026 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | …ular_pipelines/test_modular_pipelines_custom_blocks.py | 1 | # Copyright 2026 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | …dular_pipelines/helios/test_modular_pipeline_helios.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …sts/modular_pipelines/ltx/test_modular_pipeline_ltx.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …s/modular_pipelines/flux/test_modular_pipeline_flux.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …modular_pipelines/flux2/test_modular_pipeline_flux2.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …r_pipelines/flux2/test_modular_pipeline_flux2_klein.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …elines/flux2/test_modular_pipeline_flux2_klein_base.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …modular_pipelines/anima/test_modular_pipeline_anima.py | 1 | # Copyright 2026 The HuggingFace Team. | COMMENT |
| LOW | …ular_pipelines/cosmos/test_modular_pipeline_cosmos3.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …ular_pipelines/qwen/test_modular_pipeline_qwenimage.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …sts/modular_pipelines/wan/test_modular_pipeline_wan.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …lar_pipelines/z_image/test_modular_pipeline_z_image.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …iffusion_3/test_modular_pipeline_stable_diffusion_3.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …fusion_xl/test_modular_pipeline_stable_diffusion_xl.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …uan_video1_5/test_modular_pipeline_hunyuan_video1_5.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …lines/ernie_image/test_modular_pipeline_ernie_image.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/others/test_utils.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/others/test_ema.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/others/test_hub_utils.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/others/test_dependencies.py | 1 | # Copyright 2026 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | tests/others/test_check_copies.py | 1 | # Copyright 2026 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | tests/others/test_check_dummies.py | 1 | # Copyright 2026 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | tests/others/test_flashpack.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/others/test_training.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/others/test_image_processor.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/others/test_config.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/others/test_video_processor.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/pipelines/test_pipelines.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/pipelines/test_pipelines_combined.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/pipelines/test_pipelines_auto.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …ble_diffusion_adapter/test_stable_diffusion_adapter.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/pipelines/qwenimage/test_qwenimage_controlnet.py | 1 | # Copyright 2025 The HuggingFace Team. | COMMENT |
| LOW | tests/pipelines/qwenimage/test_qwenimage_edit.py | 1 | # Copyright 2025 The HuggingFace Team. | COMMENT |
| LOW | tests/pipelines/qwenimage/test_qwenimage_inpaint.py | 1 | # Copyright 2025 The HuggingFace Team. | COMMENT |
| LOW | tests/pipelines/qwenimage/test_qwenimage_edit_plus.py | 1 | # Copyright 2025 The HuggingFace Team. | COMMENT |
| LOW | tests/pipelines/qwenimage/test_qwenimage.py | 1 | # Copyright 2025 The HuggingFace Team. | COMMENT |
| LOW | tests/pipelines/mochi/test_mochi.py | 1 | # Copyright 2025 The HuggingFace Team. | COMMENT |
| LOW | tests/pipelines/helios/test_helios.py | 1 | # Copyright 2025 The HuggingFace Team. | COMMENT |
| LOW | tests/pipelines/kolors/test_kolors.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/pipelines/kolors/test_kolors_img2img.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/pipelines/kandinsky/test_kandinsky_img2img.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/pipelines/kandinsky/test_kandinsky.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/pipelines/kandinsky/test_kandinsky_combined.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/pipelines/kandinsky/test_kandinsky_prior.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/pipelines/kandinsky/test_kandinsky_inpaint.py | 1 | # coding=utf-8 | COMMENT |
| LOW | tests/pipelines/motif_video/test_motif_video.py | 1 | # Copyright 2026 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | …/pipelines/motif_video/test_motif_video_image2video.py | 1 | # Copyright 2026 The HuggingFace Team. All rights reserved. | COMMENT |
| 1334 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/testing_utils.py | 908 | CODE | |
| LOW | tests/testing_utils.py | 1127 | CODE | |
| LOW | tests/testing_utils.py | 1685 | CODE | |
| LOW | …sts/modular_pipelines/test_modular_pipelines_common.py | 328 | CODE | |
| LOW | …sts/modular_pipelines/test_modular_pipelines_common.py | 418 | CODE | |
| LOW | tests/others/test_dependencies.py | 25 | CODE | |
| LOW | tests/others/test_video_processor.py | 31 | CODE | |
| LOW | tests/others/test_video_processor.py | 76 | CODE | |
| LOW | tests/pipelines/test_pipelines_common.py | 1433 | CODE | |
| LOW | tests/pipelines/test_pipelines_common.py | 1627 | CODE | |
| LOW | tests/pipelines/test_pipelines_common.py | 1802 | CODE | |
| LOW | tests/pipelines/test_pipelines_common.py | 1904 | CODE | |
| LOW | tests/pipelines/test_pipelines_common.py | 2072 | CODE | |
| LOW | tests/pipelines/test_pipelines_common.py | 2129 | CODE | |
| LOW | …ble_diffusion_adapter/test_stable_diffusion_adapter.py | 432 | CODE | |
| LOW | …ble_diffusion_adapter/test_stable_diffusion_adapter.py | 496 | CODE | |
| LOW | …ble_diffusion_adapter/test_stable_diffusion_adapter.py | 525 | CODE | |
| LOW | tests/pipelines/ltx2/test_ltx2_hdr.py | 287 | CODE | |
| LOW | …elines/ip_adapters/test_ip_adapter_stable_diffusion.py | 104 | CODE | |
| LOW | tests/pipelines/z_image/test_z_image_img2img.py | 204 | CODE | |
| LOW | tests/pipelines/z_image/test_z_image_inpaint.py | 213 | CODE | |
| LOW | tests/pipelines/z_image/test_z_image.py | 197 | CODE | |
| LOW | …table_diffusion_xl/test_stable_diffusion_xl_adapter.py | 458 | CODE | |
| LOW | …table_diffusion_xl/test_stable_diffusion_xl_adapter.py | 520 | CODE | |
| LOW | …table_diffusion_xl/test_stable_diffusion_xl_adapter.py | 549 | CODE | |
| LOW | …ts/pipelines/nucleusmoe_image/test_nucleusmoe_image.py | 238 | CODE | |
| LOW | tests/models/test_modeling_common.py | 228 | CODE | |
| LOW | tests/models/unets/test_models_unet_2d_condition.py | 73 | CODE | |
| LOW | tests/models/unets/test_models_unet_2d_condition.py | 128 | CODE | |
| LOW | tests/models/unets/test_models_unet_2d_condition.py | 228 | CODE | |
| LOW | tests/models/unets/test_models_unet_2d_condition.py | 286 | CODE | |
| LOW | tests/models/testing_utils/memory.py | 306 | CODE | |
| LOW | tests/models/testing_utils/quantization.py | 255 | CODE | |
| LOW | tests/models/testing_utils/quantization.py | 286 | CODE | |
| LOW | tests/models/testing_utils/cache.py | 130 | CODE | |
| LOW | tests/models/testing_utils/common.py | 64 | CODE | |
| LOW | tests/quantization/bnb/test_4bit.py | 777 | CODE | |
| LOW | tests/lora/utils.py | 1486 | CODE | |
| LOW | tests/lora/utils.py | 1891 | CODE | |
| LOW | tests/schedulers/test_scheduler_dpm_single.py | 179 | CODE | |
| LOW | tests/schedulers/test_scheduler_dpm_single.py | 198 | CODE | |
| LOW | tests/schedulers/test_schedulers.py | 672 | CODE | |
| LOW | tests/schedulers/test_scheduler_dpm_multi_inverse.py | 146 | CODE | |
| LOW | tests/schedulers/test_scheduler_dpm_multi_inverse.py | 165 | CODE | |
| LOW | …s/schedulers/test_scheduler_edm_dpmsolver_multistep.py | 149 | CODE | |
| LOW | …s/schedulers/test_scheduler_edm_dpmsolver_multistep.py | 170 | CODE | |
| LOW | tests/schedulers/test_scheduler_deis.py | 168 | CODE | |
| LOW | tests/schedulers/test_scheduler_deis.py | 187 | CODE | |
| LOW | tests/schedulers/test_scheduler_dpm_multi.py | 180 | CODE | |
| LOW | tests/schedulers/test_scheduler_dpm_multi.py | 199 | CODE | |
| LOW | tests/schedulers/test_scheduler_unipc.py | 165 | CODE | |
| LOW | tests/schedulers/test_scheduler_unipc.py | 235 | CODE | |
| LOW | utils/label_issues.py | 72 | CODE | |
| LOW | utils/remind_link_issue.py | 125 | CODE | |
| LOW | utils/log_reports.py | 17 | CODE | |
| LOW | utils/consolidated_test_report.py | 24 | CODE | |
| LOW | utils/consolidated_test_report.py | 92 | CODE | |
| LOW | utils/consolidated_test_report.py | 136 | CODE | |
| LOW | utils/consolidated_test_report.py | 240 | CODE | |
| LOW | utils/consolidated_test_report.py | 350 | CODE | |
| 1364 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …sts/modular_pipelines/test_modular_pipelines_common.py | 505 | CODE | |
| LOW | tests/quantization/test_pipeline_level_quantization.py | 301 | CODE | |
| LOW | …amples/cogvideo/train_cogvideox_image_to_video_lora.py | 433 | CODE | |
| LOW | examples/cogvideo/train_cogvideox_lora.py | 417 | CODE | |
| LOW | …amples/research_projects/anytext/anytext_controlnet.py | 176 | CODE | |
| LOW | …amples/research_projects/anytext/anytext_controlnet.py | 258 | CODE | |
| LOW | examples/research_projects/anytext/anytext.py | 321 | CODE | |
| LOW | examples/research_projects/anytext/anytext.py | 1658 | CODE | |
| LOW | examples/research_projects/anytext/anytext.py | 1935 | CODE | |
| LOW | examples/research_projects/anytext/ocr_recog/RecSVTR.py | 20 | CODE | |
| LOW | examples/research_projects/anytext/ocr_recog/RecSVTR.py | 53 | CODE | |
| LOW | examples/research_projects/anytext/ocr_recog/RecSVTR.py | 128 | CODE | |
| LOW | examples/research_projects/anytext/ocr_recog/RecSVTR.py | 191 | CODE | |
| LOW | examples/research_projects/anytext/ocr_recog/RecSVTR.py | 362 | CODE | |
| LOW | examples/research_projects/anytext/ocr_recog/RNN.py | 102 | CODE | |
| LOW | examples/research_projects/anytext/ocr_recog/RNN.py | 106 | CODE | |
| LOW | …rch_projects/controlnet/train_controlnet_webdataset.py | 194 | CODE | |
| LOW | …cts/onnxruntime/textual_inversion/textual_inversion.py | 480 | CODE | |
| LOW | …usion/convert_original_promptdiffusion_to_diffusers.py | 1258 | CODE | |
| LOW | …usion/convert_original_promptdiffusion_to_diffusers.py | 1927 | CODE | |
| LOW | …usion/convert_original_promptdiffusion_to_diffusers.py | 1980 | CODE | |
| LOW | …_projects/promptdiffusion/pipeline_prompt_diffusion.py | 908 | CODE | |
| LOW | …_projects/promptdiffusion/promptdiffusioncontrolnet.py | 102 | CODE | |
| LOW | …_projects/promptdiffusion/promptdiffusioncontrolnet.py | 182 | CODE | |
| LOW | …led_huber_loss_training/dreambooth/train_dreambooth.py | 637 | CODE | |
| LOW | …uber_loss_training/dreambooth/train_dreambooth_lora.py | 577 | CODE | |
| LOW | examples/research_projects/rdm/retriever.py | 41 | CODE | |
| LOW | examples/research_projects/rdm/pipeline_rdm.py | 155 | CODE | |
| LOW | …es/research_projects/pixart/controlnet_pixart_alpha.py | 14 | CODE | |
| LOW | …es/research_projects/pixart/controlnet_pixart_alpha.py | 153 | CODE | |
| LOW | …ch_projects/pixart/pipeline_pixart_alpha_controlnet.py | 318 | CODE | |
| LOW | …ch_projects/pixart/pipeline_pixart_alpha_controlnet.py | 789 | CODE | |
| LOW | …/intel_opts/textual_inversion_dfq/textual_inversion.py | 331 | CODE | |
| LOW | …intel_opts/textual_inversion/textual_inversion_bf16.py | 273 | CODE | |
| LOW | …cts/multi_token_textual_inversion/textual_inversion.py | 458 | CODE | |
| LOW | …ulti_token_textual_inversion/textual_inversion_flax.py | 243 | CODE | |
| LOW | …fusion_training/train_dreambooth_lora_sd15_advanced.py | 96 | CODE | |
| LOW | …fusion_training/train_dreambooth_lora_flux_advanced.py | 102 | CODE | |
| LOW | …fusion_training/train_dreambooth_lora_sdxl_advanced.py | 117 | CODE | |
| LOW | examples/server-async/serverasync.py | 125 | CODE | |
| LOW | examples/textual_inversion/textual_inversion.py | 508 | CODE | |
| LOW | examples/textual_inversion/textual_inversion_sdxl.py | 494 | CODE | |
| LOW | examples/textual_inversion/textual_inversion_flax.py | 256 | CODE | |
| LOW | examples/dreambooth/train_dreambooth.py | 617 | CODE | |
| LOW | examples/dreambooth/train_dreambooth_lora.py | 578 | CODE | |
| LOW | examples/community/pipeline_zero1to3.py | 600 | CODE | |
| LOW | examples/community/mod_controlnet_tile_sr_sdxl.py | 395 | CODE | |
| LOW | examples/community/mod_controlnet_tile_sr_sdxl.py | 1253 | CODE | |
| LOW | examples/community/pipeline_null_text_inversion.py | 194 | CODE | |
| LOW | …mmunity/stable_diffusion_controlnet_inpaint_img2img.py | 728 | CODE | |
| LOW | examples/community/stable_diffusion_comparison.py | 88 | CODE | |
| LOW | examples/community/stable_diffusion_comparison.py | 125 | CODE | |
| LOW | examples/community/stable_diffusion_comparison.py | 162 | CODE | |
| LOW | examples/community/stable_diffusion_comparison.py | 199 | CODE | |
| LOW | examples/community/stable_diffusion_comparison.py | 236 | CODE | |
| LOW | examples/community/sd_text2img_k_diffusion.py | 278 | CODE | |
| LOW | examples/community/multilingual_stable_diffusion.py | 139 | CODE | |
| LOW | …les/community/pipeline_flux_kontext_multiple_images.py | 500 | CODE | |
| LOW | …les/community/pipeline_flux_kontext_multiple_images.py | 817 | CODE | |
| LOW | examples/community/unclip_image_interpolation.py | 38 | CODE | |
| 1221 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/pipelines/marigold/test_marigold_depth.py | 15 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/pipelines/marigold/test_marigold_depth.py | 18 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/pipelines/marigold/test_marigold_intrinsics.py | 15 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/pipelines/marigold/test_marigold_intrinsics.py | 18 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/pipelines/marigold/test_marigold_normals.py | 15 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/pipelines/marigold/test_marigold_normals.py | 18 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/models/autoencoders/test_models_autoencoder_rae.py | 45 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/models/autoencoders/test_models_autoencoder_rae.py | 47 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/models/autoencoders/test_models_autoencoder_rae.py | 86 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/models/autoencoders/test_models_autoencoder_rae.py | 88 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/models/testing_utils/attention.py | 34 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/models/testing_utils/attention.py | 36 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | docs/source/en/training/nemo_automodel.md | 144 | # ── Experiment tracking (optional) ────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | docs/source/en/training/nemo_automodel.md | 152 | # ── Model ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | docs/source/en/training/nemo_automodel.md | 159 | # ── Training schedule ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | docs/source/en/training/nemo_automodel.md | 169 | # ── Data ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | docs/source/en/training/nemo_automodel.md | 186 | # ── Optimizer ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | docs/source/en/training/nemo_automodel.md | 195 | # ── Learning rate scheduler ───────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | docs/source/en/training/nemo_automodel.md | 202 | # ── Flow matching ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | docs/source/en/training/nemo_automodel.md | 219 | # ── FSDP2 distributed training ────────────────────────────────────────────── | COMMENT |
| MEDIUM | docs/source/en/training/nemo_automodel.md | 230 | # ── Checkpointing ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | docs/source/en/api/pipelines/control_flux_inpaint.md | 47 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/source/en/api/pipelines/control_flux_inpaint.md | 57 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | …cts/onnxruntime/textual_inversion/textual_inversion.py | 79 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …/intel_opts/textual_inversion_dfq/textual_inversion.py | 46 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …intel_opts/textual_inversion/textual_inversion_bf16.py | 49 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …cts/multi_token_textual_inversion/textual_inversion.py | 74 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …ulti_token_textual_inversion/textual_inversion_flax.py | 56 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/textual_inversion/textual_inversion.py | 81 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/textual_inversion/textual_inversion_sdxl.py | 76 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/textual_inversion/textual_inversion_flax.py | 56 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/community/lpw_stable_diffusion.py | 31 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/community/lpw_stable_diffusion_onnx.py | 54 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …line_stable_diffusion_xl_controlnet_adapter_inpaint.py | 1642 | # ---------------------------------------------------------------- | STRING |
| MEDIUM | examples/community/imagic_stable_diffusion.py | 46 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/community/README.md | 499 | # ------------------------------------------------ | COMMENT |
| MEDIUM | examples/community/README.md | 504 | # ------------------------------------------------- | COMMENT |
| MEDIUM | examples/community/lpw_stable_diffusion_xl.py | 1 | ## ---------------------------------------------------------- | COMMENT |
| MEDIUM | examples/community/lpw_stable_diffusion_xl.py | 7 | ## ----------------------------------------------------------- | COMMENT |
| MEDIUM | examples/community/lpw_stable_diffusion_xl.py | 467 | # ---------------------------------------------------------------------------------------------------------------------- | STRING |
| MEDIUM | examples/community/lpw_stable_diffusion_xl.py | 469 | # ---------------------------------------------------------------------------------------------------------------------- | STRING |
| MEDIUM | examples/community/marigold_depth_estimation.py | 14 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/community/marigold_depth_estimation.py | 18 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/community/pipeline_stable_diffusion_xl_t5.py | 144 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/community/pipeline_stable_diffusion_xl_t5.py | 147 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | scripts/convert_prx_to_diffusers.py | 99 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/convert_prx_to_diffusers.py | 101 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/convert_prx_to_diffusers.py | 151 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/convert_prx_to_diffusers.py | 153 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/convert_prx_to_diffusers.py | 209 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/convert_prx_to_diffusers.py | 211 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/convert_ace_step_to_diffusers.py | 129 | # ========================================================================= | COMMENT |
| MEDIUM | scripts/convert_ace_step_to_diffusers.py | 131 | # ========================================================================= | COMMENT |
| MEDIUM | scripts/convert_ace_step_to_diffusers.py | 196 | # ========================================================================= | COMMENT |
| MEDIUM | scripts/convert_ace_step_to_diffusers.py | 198 | # ========================================================================= | COMMENT |
| MEDIUM | scripts/convert_ace_step_to_diffusers.py | 304 | # ========================================================================= | COMMENT |
| MEDIUM | scripts/convert_ace_step_to_diffusers.py | 323 | # ========================================================================= | COMMENT |
| MEDIUM | scripts/convert_ace_step_to_diffusers.py | 329 | # ========================================================================= | COMMENT |
| MEDIUM | src/diffusers/modular_pipelines/mellon_node_utils.py | 298 | # ========================================================================= | COMMENT |
| MEDIUM | src/diffusers/modular_pipelines/mellon_node_utils.py | 300 | # ========================================================================= | COMMENT |
| 224 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/others/test_check_dummies.py | 96 | expected_dummy_pytorch_file = """# This file is autogenerated by the command `make fix-copies`, do not edit. | STRING |
| MEDIUM | tests/pipelines/ace_step/test_ace_step.py | 160 | # Create a tiny Qwen3Model for testing (matching the real Qwen3-Embedding-0.6B architecture) | COMMENT |
| MEDIUM | tests/pipelines/sana_video/test_sana_video_i2v.py | 131 | # Create a dummy image input (PIL Image) | COMMENT |
| MEDIUM | …ines/visualcloze/test_pipeline_visualcloze_combined.py | 127 | # Create an image list that conforms to the VisualCloze input format | COMMENT |
| MEDIUM | …es/visualcloze/test_pipeline_visualcloze_generation.py | 129 | # Create an image list that conforms to the VisualCloze input format | COMMENT |
| MEDIUM | tests/models/testing_utils/attention.py | 243 | # Create a dict of new processors | COMMENT |
| MEDIUM | tests/models/testing_utils/attention.py | 265 | # Create a dict with wrong number of processors | COMMENT |
| MEDIUM | utils/consolidated_test_report.py | 503 | # Create a list of failing tests for each module | COMMENT |
| MEDIUM | utils/consolidated_test_report.py | 581 | # Create a more compact summary section | COMMENT |
| MEDIUM | utils/consolidated_test_report.py | 587 | # Create the test suites table in markdown format | COMMENT |
| MEDIUM | utils/consolidated_test_report.py | 621 | # Create the Slack payload with character limit enforcement | COMMENT |
| MEDIUM | utils/check_support_list.py | 68 | # Define the checks we need to perform | COMMENT |
| MEDIUM | utils/tests_fetcher.py | 938 | # Create the map that will give us all impacted modules. | COMMENT |
| MEDIUM | utils/tests_fetcher.py | 980 | # Create a map that maps test categories to test files, i.e. `models/bert` -> [...test_modeling_bert.py, ...] | COMMENT |
| MEDIUM | utils/check_dummies.py | 124 | dummy_file = "# This file is autogenerated by the command `make fix-copies`, do not edit.\n" | CODE |
| MEDIUM | examples/instruct_pix2pix/train_instruct_pix2pix.py | 1008 | # Create the pipeline using the trained modules and save it. | COMMENT |
| MEDIUM | …amples/instruct_pix2pix/train_instruct_pix2pix_sdxl.py | 1219 | # Create the pipeline using the trained modules and save it. | COMMENT |
| MEDIUM | examples/controlnet/train_controlnet_flux.py | 1399 | # Create the pipeline using using the trained modules and save it. | STRING |
| MEDIUM | examples/controlnet/train_controlnet_sdxl.py | 1343 | # Create the pipeline using using the trained modules and save it. | STRING |
| MEDIUM | examples/controlnet/train_controlnet.py | 1156 | # Create the pipeline using the trained modules and save it. | STRING |
| MEDIUM | examples/controlnet/train_controlnet_sd3.py | 1434 | # Create the pipeline using using the trained modules and save it. | STRING |
| MEDIUM | examples/flux-control/train_control_lora_flux.py | 1111 | # Create a pipeline for text encoding. We will move this pipeline to GPU/CPU as needed. | STRING |
| MEDIUM | examples/flux-control/train_control_lora_flux.py | 1352 | # Create the pipeline using using the trained modules and save it. | STRING |
| MEDIUM | examples/flux-control/train_control_flux.py | 966 | # Create a pipeline for text encoding. We will move this pipeline to GPU/CPU as needed. | STRING |
| MEDIUM | examples/flux-control/train_control_flux.py | 1206 | # Create the pipeline using using the trained modules and save it. | STRING |
| MEDIUM | …andinsky2_2/text_to_image/train_text_to_image_prior.py | 913 | # Create the pipeline using the trained modules and save it. | STRING |
| MEDIUM | …dinsky2_2/text_to_image/train_text_to_image_decoder.py | 882 | # Create the pipeline using the trained modules and save it. | STRING |
| MEDIUM | examples/t2i_adapter/train_t2i_adapter_sdxl.py | 1301 | # Create the pipeline using using the trained modules and save it. | STRING |
| MEDIUM | examples/research_projects/gligen/train_gligen_text.py | 674 | # Create the pipeline using using the trained modules and save it. | COMMENT |
| MEDIUM | …rch_projects/controlnet/train_controlnet_webdataset.py | 1445 | # Create the pipeline using using the trained modules and save it. | STRING |
| MEDIUM | …rojects/dreambooth_inpaint/train_dreambooth_inpaint.py | 791 | # Create the pipeline using using the trained modules and save it. | COMMENT |
| MEDIUM | …cts/onnxruntime/textual_inversion/textual_inversion.py | 920 | # Create the pipeline using the trained modules and save it. | STRING |
| MEDIUM | …jects/onnxruntime/text_to_image/train_text_to_image.py | 927 | # Create the pipeline using the trained modules and save it. | COMMENT |
| MEDIUM | …ts/instructpix2pix_lora/train_instruct_pix2pix_lora.py | 1116 | # Create the pipeline using the trained modules and save it. | STRING |
| MEDIUM | …/wuerstchen/text_to_image/train_text_to_image_prior.py | 886 | # Create the pipeline using the trained modules and save it. | STRING |
| MEDIUM | …stchen/text_to_image/train_text_to_image_lora_prior.py | 892 | # Create the pipeline using the trained modules and save it. | STRING |
| MEDIUM | …research_projects/autoencoderkl/train_autoencoderkl.py | 1023 | # Create the pipeline using using the trained modules and save it. | STRING |
| MEDIUM | …ber_loss_training/text_to_image/train_text_to_image.py | 1111 | # Create the pipeline using the trained modules and save it. | STRING |
| MEDIUM | …led_huber_loss_training/dreambooth/train_dreambooth.py | 1463 | # Create the pipeline using the trained modules and save it. | COMMENT |
| MEDIUM | …i_subject_dreambooth/train_multi_subject_dreambooth.py | 1171 | # Create the pipeline using the trained modules and save it. | COMMENT |
| MEDIUM | …/intel_opts/textual_inversion_dfq/textual_inversion.py | 935 | # Create the pipeline using using the trained modules and save it. | STRING |
| MEDIUM | …intel_opts/textual_inversion/textual_inversion_bf16.py | 612 | # Create the pipeline using using the trained modules and save it. | COMMENT |
| MEDIUM | …cts/multi_token_textual_inversion/textual_inversion.py | 905 | # Create the pipeline using using the trained modules and save it. | COMMENT |
| MEDIUM | …ulti_token_textual_inversion/textual_inversion_flax.py | 609 | # Create the pipeline using using the trained modules and save it. | COMMENT |
| MEDIUM | …research_projects/sd3_lora_colab/compute_embeddings.py | 87 | # Create a DataFrame | COMMENT |
| MEDIUM | …_projects/flux_lora_quantization/compute_embeddings.py | 82 | # Create a DataFrame | COMMENT |
| MEDIUM | examples/cogview4-control/train_control_cogview4.py | 976 | # Create a pipeline for text encoding. We will move this pipeline to GPU/CPU as needed. | STRING |
| MEDIUM | examples/cogview4-control/train_control_cogview4.py | 1199 | # Create the pipeline using using the trained modules and save it. | STRING |
| MEDIUM | …s/consistency_distillation/train_lcm_distill_sd_wds.py | 1412 | # Create the pipeline using using the trained modules and save it. | COMMENT |
| MEDIUM | …onsistency_distillation/train_lcm_distill_lora_sdxl.py | 1441 | # Create the pipeline using using the trained modules and save it. | COMMENT |
| MEDIUM | …sistency_distillation/train_lcm_distill_lora_sd_wds.py | 1447 | # Create the pipeline using using the trained modules and save it. | COMMENT |
| MEDIUM | …stency_distillation/train_lcm_distill_lora_sdxl_wds.py | 1510 | # Create the pipeline using using the trained modules and save it. | COMMENT |
| MEDIUM | …consistency_distillation/train_lcm_distill_sdxl_wds.py | 1515 | # Create the pipeline using using the trained modules and save it. | COMMENT |
| MEDIUM | examples/model_search/pipeline_easy.py | 785 | # Initialize additional variables with default values | STRING |
| MEDIUM | examples/textual_inversion/textual_inversion.py | 977 | # Create the pipeline using the trained modules and save it. | STRING |
| MEDIUM | examples/textual_inversion/textual_inversion_sdxl.py | 1066 | # Create the pipeline using the trained modules and save it. | STRING |
| MEDIUM | examples/textual_inversion/textual_inversion_flax.py | 636 | # Create the pipeline using using the trained modules and save it. | COMMENT |
| MEDIUM | examples/text_to_image/train_text_to_image.py | 1118 | # Create the pipeline using the trained modules and save it. | STRING |
| MEDIUM | examples/text_to_image/train_text_to_image_flax.py | 582 | # Create the pipeline using using the trained modules and save it. | COMMENT |
| MEDIUM | examples/dreambooth/train_dreambooth_flax.py | 630 | # Create the pipeline using the trained modules and save it. | COMMENT |
| 69 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/testing_utils.py | 296 | def parse_flag_from_env(key, default=False): | CODE |
| LOW | tests/testing_utils.py | 1287 | except Exception as err: | CODE |
| LOW | tests/testing_utils.py | 1339 | except Exception as e: | CODE |
| LOW | tests/testing_utils.py | 1430 | except Exception as e: | CODE |
| LOW | tests/testing_utils.py | 1452 | except Exception as e: | CODE |
| LOW | …sts/modular_pipelines/test_modular_pipelines_common.py | 40 | except Exception: | CODE |
| LOW | tests/others/test_dependencies.py | 81 | except Exception: | CODE |
| LOW | tests/pipelines/test_pipelines.py | 135 | except Exception: | CODE |
| LOW | tests/pipelines/diffusion_gemma/test_diffusion_gemma.py | 70 | except Exception as e: # noqa: BLE001 - offline / hub errors should skip, not fail | CODE |
| MEDIUM | tests/pipelines/diffusion_gemma/test_diffusion_gemma.py | 62 | def _load_pipeline(test): | CODE |
| LOW | tests/pipelines/prx/test_pipeline_prx.py | 32 | except Exception: | CODE |
| LOW | tests/pipelines/prx/test_pipeline_prx.py | 130 | except Exception: | CODE |
| LOW | tests/pipelines/prx/test_pipeline_prx.py | 149 | except Exception: | CODE |
| LOW | tests/models/testing_utils/attention.py | 373 | except Exception as e: | CODE |
| LOW | tests/models/testing_utils/attention.py | 443 | except Exception as e: | CODE |
| LOW | tests/models/testing_utils/parallelism.py | 118 | except Exception as e: | CODE |
| LOW | tests/models/testing_utils/parallelism.py | 176 | except Exception as e: | CODE |
| LOW | tests/models/testing_utils/parallelism.py | 235 | except Exception as e: | CODE |
| LOW | utils/label_issues.py | 118 | except Exception: | CODE |
| MEDIUM | utils/label_issues.py | 86 | def main(): | CODE |
| LOW | utils/remind_link_issue.py | 106 | except Exception as e: | CODE |
| LOW | utils/remind_link_issue.py | 162 | except Exception as e: | CODE |
| LOW | utils/remind_link_issue.py | 165 | except Exception as e: | CODE |
| MEDIUM | utils/consolidated_test_report.py | 88 | print(f"Error parsing {file_path}: {e}") | CODE |
| MEDIUM | utils/consolidated_test_report.py | 131 | print(f"Error parsing durations file {file_path.replace('_stats.txt', '_durations.txt')}: {e}") | CODE |
| MEDIUM | utils/consolidated_test_report.py | 235 | print(f"Error parsing failures in {file_path}: {e}") | CODE |
| MEDIUM | utils/consolidated_test_report.py | 301 | print(f"Error parsing summary file: {e}") | CODE |
| MEDIUM | utils/consolidated_test_report.py | 727 | print(f"Error: Reports directory '{args.reports_dir}' does not exist.") | CODE |
| MEDIUM | utils/consolidated_test_report.py | 784 | print(f"Error sending report to Slack: {e}") | CODE |
| LOW | utils/consolidated_test_report.py | 87 | except Exception as e: | CODE |
| LOW | utils/consolidated_test_report.py | 130 | except Exception as e: | CODE |
| LOW | utils/consolidated_test_report.py | 170 | except Exception: | CODE |
| LOW | utils/consolidated_test_report.py | 234 | except Exception as e: | CODE |
| LOW | utils/consolidated_test_report.py | 300 | except Exception as e: | CODE |
| LOW | utils/consolidated_test_report.py | 783 | except Exception as e: | CODE |
| LOW | utils/tests_fetcher.py | 1115 | except Exception as e: | CODE |
| LOW | utils/modular_auto_docstring.py | 92 | except Exception as e: | CODE |
| LOW | utils/modular_auto_docstring.py | 110 | except Exception as e: | CODE |
| LOW | utils/modular_auto_docstring.py | 230 | except Exception as e: | CODE |
| MEDIUM⚡ | utils/generate_model_tests.py | 560 | print(f"Error: File not found: {args.model_filepath}", file=sys.stderr) | CODE |
| MEDIUM⚡ | utils/generate_model_tests.py | 566 | print(f"Error: No model classes found in {args.model_filepath}", file=sys.stderr) | CODE |
| MEDIUM⚡ | utils/generate_model_tests.py | 573 | print(f"Error: Class '{args.class_name}' not found. Available: {available}", file=sys.stderr) | CODE |
| LOW | utils/fetch_torch_cuda_pipeline_test_matrix.py | 69 | except Exception as e: | CODE |
| MEDIUM | utils/fetch_torch_cuda_pipeline_test_matrix.py | 66 | def fetch_pipeline_modules_to_test(): | CODE |
| LOW | docs/source/en/optimization/attention_backends.md | 112 | except Exception as e: | STRING |
| LOW | docs/source/en/using-diffusers/create_a_server.md | 48 | except Exception as e: | CODE |
| LOW | …rch_projects/controlnet/train_controlnet_webdataset.py | 189 | except Exception: | CODE |
| MEDIUM | …rch_projects/controlnet/train_controlnet_webdataset.py | 178 | def __call__(self, x): | CODE |
| LOW | …usion/convert_original_promptdiffusion_to_diffusers.py | 867 | except Exception: | CODE |
| LOW | …usion/convert_original_promptdiffusion_to_diffusers.py | 1007 | except Exception: | CODE |
| LOW | …usion/convert_original_promptdiffusion_to_diffusers.py | 1636 | except Exception: | CODE |
| LOW | …usion/convert_original_promptdiffusion_to_diffusers.py | 1722 | except Exception: | CODE |
| LOW | …usion/convert_original_promptdiffusion_to_diffusers.py | 1762 | except Exception: | CODE |
| LOW | …usion/convert_original_promptdiffusion_to_diffusers.py | 1770 | except Exception: | CODE |
| LOW | …usion/convert_original_promptdiffusion_to_diffusers.py | 1792 | except Exception: | CODE |
| LOW | …usion/convert_original_promptdiffusion_to_diffusers.py | 1837 | except Exception: | CODE |
| LOW | …usion/convert_original_promptdiffusion_to_diffusers.py | 1850 | except Exception: | CODE |
| LOW | …_xla/training/text_to_image/train_text_to_image_xla.py | 150 | except Exception as e: | STRING |
| LOW | examples/research_projects/rdm/retriever.py | 88 | except Exception as e: | CODE |
| LOW | examples/research_projects/intel_opts/inference_bf16.py | 38 | except Exception: | CODE |
| 104 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …sts/modular_pipelines/test_modular_pipelines_common.py | 290 | # Check if cosine similarity is NaN (which can happen if vectors are zero or very small) | COMMENT |
| LOW⚡ | tests/pipelines/test_pipelines_common.py | 2802 | # Check if warning is raise when no attention_weight_callback is provided | COMMENT |
| LOW⚡ | tests/pipelines/test_pipelines_common.py | 2809 | # Check if error raised when unsupported tensor format used | COMMENT |
| LOW | tests/pipelines/test_pipelines_common.py | 2885 | # Check if faster_cache denoiser hook is attached | COMMENT |
| LOW | tests/pipelines/test_pipelines_common.py | 2893 | # Check if all blocks have faster_cache block hook attached | COMMENT |
| LOW | tests/models/unets/test_models_unet_2d_condition.py | 559 | # Check if input and output shapes are the same | COMMENT |
| LOW | tests/models/testing_utils/attention.py | 211 | # Check if model has attention processors | COMMENT |
| LOW | tests/models/testing_utils/quantization.py | 304 | # Check if this module is in the exclusion list | COMMENT |
| LOW | tests/models/testing_utils/quantization.py | 318 | # Check if this module is NOT in the exclusion list | COMMENT |
| LOW | tests/models/testing_utils/common.py | 599 | # Check if the right number of shards exists | COMMENT |
| LOW | tests/models/testing_utils/common.py | 635 | # Check if the right number of shards exists | COMMENT |
| LOW | tests/models/testing_utils/common.py | 676 | # Check if the right number of shards exists | COMMENT |
| LOW | tests/quantization/bnb/test_mixed_int8.py | 552 | # Check if inference works. | STRING |
| LOW | tests/quantization/bnb/test_4bit.py | 577 | # Check if inference works. | STRING |
| LOW | utils/consolidated_test_report.py | 145 | # Check if it's a short stack format | COMMENT |
| LOW | utils/consolidated_test_report.py | 733 | # Check if we found any test results | COMMENT |
| LOW | utils/check_inits.py | 100 | # Check if the backend declaration is inside a try block: | COMMENT |
| LOW | utils/check_inits.py | 159 | # Check if the backend declaration is inside a try block: | COMMENT |
| LOW | utils/custom_init_isort.py | 257 | # Check if the block contains some `_import_structure`s thingy to sort. | COMMENT |
| LOW | …amples/instruct_pix2pix/train_instruct_pix2pix_sdxl.py | 813 | # Set UNet to trainable. | COMMENT |
| LOW | examples/controlnet/train_controlnet_flux.py | 1339 | # Check if the gradient of each model parameter contains NaN | STRING |
| LOW | …andinsky2_2/text_to_image/train_text_to_image_prior.py | 533 | # Set prior to trainable. | STRING |
| LOW | …dinsky2_2/text_to_image/train_text_to_image_decoder.py | 528 | # Set unet to trainable. | STRING |
| LOW | …cts/onnxruntime/textual_inversion/textual_inversion.py | 658 | # Check if initializer_token is a single token or a sequence of tokens | STRING |
| LOW | …usion/convert_original_promptdiffusion_to_diffusers.py | 1463 | # Check if we have a SDXL or SD model and initialize default pipeline | COMMENT |
| LOW | …es/research_projects/ip_adapter/tutorial_train_plus.py | 135 | # Check if 'latents' exists in both the saved state_dict and the current model's state_dict | COMMENT |
| LOW | …es/research_projects/ip_adapter/tutorial_train_plus.py | 138 | # Check if the shapes are mismatched | COMMENT |
| LOW | …es/research_projects/ip_adapter/tutorial_train_plus.py | 153 | # Verify if the weights have changed | COMMENT |
| LOW | …earch_projects/ip_adapter/tutorial_train_ip-adapter.py | 143 | # Verify if the weights have changed | COMMENT |
| LOW | …/research_projects/ip_adapter/tutorial_train_faceid.py | 141 | # Verify if the weights have changed | COMMENT |
| LOW | …es/research_projects/ip_adapter/tutorial_train_sdxl.py | 203 | # Verify if the weights have changed | COMMENT |
| LOW | …/intel_opts/textual_inversion_dfq/textual_inversion.py | 500 | # Check if initializer_token is a single token or a sequence of tokens | STRING |
| LOW | …intel_opts/textual_inversion/textual_inversion_bf16.py | 415 | # Check if initializer_token is a single token or a sequence of tokens | COMMENT |
| LOW | …ulti_token_textual_inversion/textual_inversion_flax.py | 396 | # Check if initializer_token is a single token or a sequence of tokens | COMMENT |
| LOW | …ffusion_training/test_dreambooth_lora_flux_advanced.py | 316 | # Check if the metadata was properly serialized. | STRING |
| LOW | examples/server-async/Pipelines.py | 73 | # Check if model exists in PresetModels | COMMENT |
| LOW | examples/custom_diffusion/train_custom_diffusion.py | 861 | # Check if initializer_token is a single token or a sequence of tokens | COMMENT |
| LOW⚡ | examples/model_search/pipeline_easy.py | 434 | # Check if the keyword is an HTTP or HTTPS URL | STRING |
| LOW⚡ | examples/model_search/pipeline_easy.py | 437 | # Check if the keyword is a file | STRING |
| LOW⚡ | examples/model_search/pipeline_easy.py | 443 | # Check if the keyword is a directory | STRING |
| LOW⚡ | examples/model_search/pipeline_easy.py | 451 | # Check if the keyword is a Civitai URL | STRING |
| LOW⚡ | examples/model_search/pipeline_easy.py | 457 | # Check if the keyword starts with any valid URL prefixes | STRING |
| LOW | examples/model_search/pipeline_easy.py | 469 | # Check if the keyword matches a Hugging Face repository format | STRING |
| LOW | examples/model_search/pipeline_easy.py | 527 | # Check if the file already exists at the save path | STRING |
| LOW | examples/model_search/pipeline_easy.py | 538 | # Open the file in the appropriate mode (write or append) | STRING |
| LOW | examples/model_search/pipeline_easy.py | 850 | # Check if the file passes security scans and has a valid extension | STRING |
| LOW | examples/model_search/pipeline_easy.py | 1030 | # Check if tokenizer and text encoder are provided | STRING |
| LOW | examples/model_search/pipeline_easy.py | 1047 | # Check if token is already in tokenizer vocabulary | STRING |
| LOW | examples/textual_inversion/textual_inversion.py | 685 | # Check if initializer_token is a single token or a sequence of tokens | STRING |
| LOW | examples/textual_inversion/textual_inversion_sdxl.py | 693 | # Check if initializer_token is a single token or a sequence of tokens | STRING |
| LOW | examples/textual_inversion/textual_inversion_flax.py | 409 | # Check if initializer_token is a single token or a sequence of tokens | COMMENT |
| LOW | examples/dreambooth/test_dreambooth_lora_qwenimage.py | 236 | # Check if the metadata was properly serialized. | STRING |
| LOW | examples/dreambooth/test_dreambooth_lora_flux2_klein.py | 250 | # Check if the metadata was properly serialized. | STRING |
| LOW | examples/dreambooth/test_dreambooth_lora_flux2.py | 250 | # Check if the metadata was properly serialized. | STRING |
| LOW | examples/dreambooth/test_dreambooth_lora_sana.py | 236 | # Check if the metadata was properly serialized. | STRING |
| LOW | examples/dreambooth/test_dreambooth_lora_flux.py | 269 | # Check if the metadata was properly serialized. | STRING |
| LOW | …amples/dreambooth/test_dreambooth_lora_flux_kontext.py | 269 | # Check if the metadata was properly serialized. | STRING |
| LOW | …unity/pipeline_stable_diffusion_xl_attentive_eraser.py | 116 | >>> prompt = "" # Set prompt to null | CODE |
| LOW | examples/community/dps_pipeline.py | 345 | # Assign weight to each pixel in the field of view. A matrix whose horizontal dim is the output pixe | STRING |
| LOW | examples/community/marigold_depth_estimation.py | 184 | # Check if denoising step is reasonable | COMMENT |
| 31 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/pipelines/test_pipelines_auto.py | 304 | # make sure you can use pag with inpaint-specific pipeline | COMMENT |
| LOW⚡ | tests/pipelines/test_pipelines_auto.py | 304 | # make sure you can use pag with inpaint-specific pipeline | COMMENT |
| LOW | utils/release.py | 128 | # print("Cleaning main README, don't forget to run `make fix-copies`.") | COMMENT |
| LOW | utils/release.py | 128 | # print("Cleaning main README, don't forget to run `make fix-copies`.") | COMMENT |
| LOW | utils/release.py | 148 | # print("Cleaning main README, don't forget to run `make fix-copies`.") | COMMENT |
| LOW | utils/release.py | 148 | # print("Cleaning main README, don't forget to run `make fix-copies`.") | COMMENT |
| LOW | …/unconditional_image_generation/train_unconditional.py | 331 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | examples/instruct_pix2pix/train_instruct_pix2pix.py | 560 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …amples/instruct_pix2pix/train_instruct_pix2pix_sdxl.py | 616 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …amples/cogvideo/train_cogvideox_image_to_video_lora.py | 1119 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | examples/cogvideo/train_cogvideox_lora.py | 1140 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | examples/flux-control/train_control_lora_flux.py | 912 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | examples/flux-control/train_control_flux.py | 836 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …andinsky2_2/text_to_image/train_text_to_image_prior.py | 552 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …dinsky2_2/text_to_image/train_text_to_image_decoder.py | 559 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …/unconditional_image_generation/train_unconditional.py | 322 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …jects/onnxruntime/text_to_image/train_text_to_image.py | 549 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …usion/convert_original_promptdiffusion_to_diffusers.py | 1020 | # make sure to remove all keys > 22 | COMMENT |
| LOW | examples/research_projects/realfill/train_realfill.py | 654 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …ts/instructpix2pix_lora/train_instruct_pix2pix_lora.py | 651 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …/wuerstchen/text_to_image/train_text_to_image_prior.py | 551 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …stchen/text_to_image/train_text_to_image_lora_prior.py | 565 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …/research_projects/sana/train_sana_sprint_diffusers.py | 1151 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …s/diffusion_orpo/train_diffusion_orpo_sdxl_lora_wds.py | 771 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …jects/diffusion_orpo/train_diffusion_orpo_sdxl_lora.py | 664 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …ber_loss_training/text_to_image/train_text_to_image.py | 676 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …oss_training/text_to_image/train_text_to_image_sdxl.py | 780 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …raining/text_to_image/train_text_to_image_lora_sdxl.py | 724 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …led_huber_loss_training/dreambooth/train_dreambooth.py | 1003 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …uber_loss_training/dreambooth/train_dreambooth_lora.py | 1000 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …loss_training/dreambooth/train_dreambooth_lora_sdxl.py | 1311 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …research_projects/pixart/train_pixart_controlnet_hf.py | 679 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | examples/research_projects/lpl/train_sdxl_lpl.py | 882 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …ects/consistency_training/train_cm_ct_unconditional.py | 963 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …npainting/train_multi_subject_dreambooth_inpainting.py | 498 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …rch_projects/diffusion_dpo/train_diffusion_dpo_sdxl.py | 703 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …research_projects/diffusion_dpo/train_diffusion_dpo.py | 605 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …/sd3_lora_colab/train_dreambooth_lora_sd3_miniature.py | 746 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …a_quantization/train_dreambooth_lora_flux_miniature.py | 737 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | examples/cogview4-control/train_control_cogview4.py | 846 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …fusion_training/train_dreambooth_lora_sd15_advanced.py | 1350 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …fusion_training/train_dreambooth_lora_flux_advanced.py | 1626 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …fusion_training/train_dreambooth_lora_sdxl_advanced.py | 1670 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | examples/amused/train_amused.py | 531 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …s/consistency_distillation/train_lcm_distill_sd_wds.py | 1003 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …onsistency_distillation/train_lcm_distill_lora_sdxl.py | 897 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …sistency_distillation/train_lcm_distill_lora_sd_wds.py | 1055 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …stency_distillation/train_lcm_distill_lora_sdxl_wds.py | 1070 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | …consistency_distillation/train_lcm_distill_sdxl_wds.py | 1063 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | examples/text_to_image/train_text_to_image_lora.py | 726 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | examples/text_to_image/train_text_to_image.py | 669 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | examples/text_to_image/train_text_to_image_sdxl.py | 766 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | examples/text_to_image/train_text_to_image_lora_sdxl.py | 750 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | examples/dreambooth/train_dreambooth_lora_flux2.py | 1329 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …ples/dreambooth/train_dreambooth_lora_flux2_img2img.py | 1280 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …reambooth/train_dreambooth_lora_flux2_klein_img2img.py | 1274 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | …mples/dreambooth/train_dreambooth_lora_flux_kontext.py | 1474 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | examples/dreambooth/train_dreambooth_lora_hidream.py | 1192 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| LOW | examples/dreambooth/train_dreambooth.py | 960 | # make sure to pop weight so that corresponding model is not saved again | COMMENT |
| LOW | examples/dreambooth/train_dreambooth_flux.py | 1236 | # make sure to pop weight so that corresponding model is not saved again | STRING |
| 32 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ular_pipelines/test_modular_pipelines_custom_blocks.py | 256 | # Step 1: Create an external model repo with custom code (requires trust_remote_code) | COMMENT |
| LOW | …ular_pipelines/test_modular_pipelines_custom_blocks.py | 271 | # Step 2: Create a custom block that references the external repo. | COMMENT |
| LOW | …ular_pipelines/test_modular_pipelines_custom_blocks.py | 357 | # Step 3: Load the pipeline from the saved directory. | COMMENT |
| LOW⚡ | tests/pipelines/glm_image/test_glm_image.py | 299 | # Step 1: Run with prompt only to get prior_token_ids from AR model | COMMENT |
| LOW⚡ | tests/pipelines/glm_image/test_glm_image.py | 309 | # Step 2: Run with both prompt and prior_token_ids — should not raise | COMMENT |
| LOW⚡ | tests/models/testing_utils/quantization.py | 395 | # Step 1: freeze all parameters | COMMENT |
| LOW⚡ | tests/models/testing_utils/quantization.py | 402 | # Step 2: add adapters to attention layers | COMMENT |
| LOW⚡ | tests/models/testing_utils/quantization.py | 419 | # Step 3: run forward and backward pass | COMMENT |
| LOW⚡ | tests/models/testing_utils/quantization.py | 428 | # Step 4: verify gradients are computed | COMMENT |
| LOW⚡ | tests/quantization/bnb/test_mixed_int8.py | 390 | # Step 1: freeze all parameters | STRING |
| LOW⚡ | tests/quantization/bnb/test_mixed_int8.py | 397 | # Step 2: add adapters | STRING |
| LOW⚡ | tests/quantization/bnb/test_mixed_int8.py | 404 | # Step 3: dummy batch | STRING |
| LOW⚡ | tests/quantization/bnb/test_mixed_int8.py | 411 | # Step 4: Check if the gradient is not None | STRING |
| LOW⚡ | tests/quantization/bnb/test_4bit.py | 419 | # Step 1: freeze all parameters | STRING |
| LOW⚡ | tests/quantization/bnb/test_4bit.py | 426 | # Step 2: add adapters | STRING |
| LOW⚡ | tests/quantization/bnb/test_4bit.py | 433 | # Step 3: dummy batch | STRING |
| LOW⚡ | tests/quantization/bnb/test_4bit.py | 440 | # Step 4: Check if the gradient is not None | STRING |
| LOW⚡ | tests/hooks/test_mag_cache.py | 128 | # Step 0: Input 10.0 -> Output 40.0 (2 blocks * 2x each) | COMMENT |
| LOW⚡ | tests/hooks/test_mag_cache.py | 134 | # Step 1: Input 11.0. | COMMENT |
| LOW⚡ | tests/hooks/test_mag_cache.py | 162 | # Step 1: Should COMPUTE (44.0) not SKIP (41.0) because of retention | COMMENT |
| LOW⚡ | tests/hooks/test_mag_cache.py | 181 | # Step 0: Compute. Input 10.0 -> Output 20.0 (1 block * 2x) | COMMENT |
| LOW⚡ | tests/hooks/test_mag_cache.py | 188 | # Step 1: Skip. Input 11.0. | COMMENT |
| LOW | examples/research_projects/ip_adapter/README.md | 194 | # Step 1: Project the image features | COMMENT |
| LOW | examples/research_projects/ip_adapter/README.md | 197 | # Step 2: Pass the projected features through the IP Adapter | COMMENT |
| LOW | examples/profiling/README.md | 124 | ### Step 3: Known Sync Issues to Validate | COMMENT |
| LOW⚡ | examples/community/README.md | 1341 | # Step 1: Resize input image for CLIPSeg (224x224) | STRING |
| LOW⚡ | examples/community/README.md | 1344 | # Step 2: Generate segmentation mask | STRING |
| LOW⚡ | examples/community/README.md | 1354 | # Step 3: Resize input image for Stable Diffusion | STRING |
| LOW⚡ | examples/community/README.md | 1357 | # Step 4: Run inpainting with Stable Diffusion | STRING |
| LOW | examples/community/checkpoint_merger.py | 124 | # Step 1: Load the model config and compare the checkpoints. We'll compare the model_index.json first while igno | COMMENT |
| LOW | examples/community/checkpoint_merger.py | 144 | # Step 2: Basic Validation has succeeded. Let's download the models and save them into our local files. | COMMENT |
| LOW | scripts/convert_dcae_to_diffusers.py | 31 | # NOTE: The below two lines work because scales in the available configs only have a tuple length of 1 | COMMENT |
| LOW⚡ | …iffusers/modular_pipelines/hunyuan_video1_5/denoise.py | 137 | # Step 1: Collect model inputs | COMMENT |
| LOW⚡ | …iffusers/modular_pipelines/hunyuan_video1_5/denoise.py | 145 | # Step 2: Update guider state | COMMENT |
| LOW⚡ | …iffusers/modular_pipelines/hunyuan_video1_5/denoise.py | 148 | # Step 3: Prepare batched inputs | COMMENT |
| LOW⚡ | …iffusers/modular_pipelines/hunyuan_video1_5/denoise.py | 151 | # Step 4: Run denoiser for each batch | COMMENT |
| LOW | …iffusers/modular_pipelines/hunyuan_video1_5/denoise.py | 170 | # Step 5: Combine predictions | COMMENT |
| LOW | …c/diffusers/pipelines/flux2/pipeline_flux2_klein_kv.py | 794 | # Step 0: include ref tokens, extract KV cache | STRING |
| LOW⚡ | …ipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py | 741 | # Step 1: Collect model inputs needed for the guidance method | STRING |
| LOW⚡ | …ipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py | 750 | # Step 2: Update guider's internal state for this denoising step | STRING |
| LOW⚡ | …ipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py | 753 | # Step 3: Prepare batched model inputs based on the guidance method | STRING |
| LOW⚡ | …ipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py | 763 | # Step 4: Run the denoiser for each batch | STRING |
| LOW | …ipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py | 790 | # Step 5: Combine predictions using the guidance method | STRING |
| LOW⚡ | …yuan_video1_5/pipeline_hunyuan_video1_5_image2video.py | 864 | # Step 1: Collect model inputs needed for the guidance method | STRING |
| LOW⚡ | …yuan_video1_5/pipeline_hunyuan_video1_5_image2video.py | 873 | # Step 2: Update guider's internal state for this denoising step | STRING |
| LOW⚡ | …yuan_video1_5/pipeline_hunyuan_video1_5_image2video.py | 876 | # Step 3: Prepare batched model inputs based on the guidance method | STRING |
| LOW⚡ | …yuan_video1_5/pipeline_hunyuan_video1_5_image2video.py | 886 | # Step 4: Run the denoiser for each batch | STRING |
| LOW | …yuan_video1_5/pipeline_hunyuan_video1_5_image2video.py | 914 | # Step 5: Combine predictions using the guidance method | STRING |
| LOW⚡ | …pelines/hunyuan_image/pipeline_hunyuanimage_refiner.py | 656 | # Step 1: Collect model inputs needed for the guidance method | STRING |
| LOW⚡ | …pelines/hunyuan_image/pipeline_hunyuanimage_refiner.py | 663 | # Step 2: Update guider's internal state for this denoising step | STRING |
| LOW⚡ | …pelines/hunyuan_image/pipeline_hunyuanimage_refiner.py | 666 | # Step 3: Prepare batched model inputs based on the guidance method | STRING |
| LOW | …pelines/hunyuan_image/pipeline_hunyuanimage_refiner.py | 677 | # Step 4: Run the denoiser for each batch | STRING |
| LOW | …pelines/hunyuan_image/pipeline_hunyuanimage_refiner.py | 704 | # Step 5: Combine predictions using the guidance method | STRING |
| LOW⚡ | …users/pipelines/hunyuan_image/pipeline_hunyuanimage.py | 764 | # Step 1: Collect model inputs needed for the guidance method | STRING |
| LOW⚡ | …users/pipelines/hunyuan_image/pipeline_hunyuanimage.py | 773 | # Step 2: Update guider's internal state for this denoising step | STRING |
| LOW⚡ | …users/pipelines/hunyuan_image/pipeline_hunyuanimage.py | 776 | # Step 3: Prepare batched model inputs based on the guidance method | STRING |
| LOW⚡ | …users/pipelines/hunyuan_image/pipeline_hunyuanimage.py | 786 | # Step 4: Run the denoiser for each batch | STRING |
| LOW | …users/pipelines/hunyuan_image/pipeline_hunyuanimage.py | 814 | # Step 5: Combine predictions using the guidance method | STRING |
| LOW⚡ | src/diffusers/models/modeling_flax_utils.py | 412 | # Step 1: Get the pytorch file | STRING |
| LOW⚡ | src/diffusers/models/modeling_flax_utils.py | 415 | # Step 2: Convert the weights | STRING |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/models/testing_utils/attention.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/models/testing_utils/__init__.py | 50 | __all__ = [ | CODE |
| LOW | utils/remind_link_issue.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | utils/fetch_torch_cuda_pipeline_test_matrix.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/controlnet/train_controlnet_flax.py | 66 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ulti_token_textual_inversion/textual_inversion_flax.py | 61 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/cosmos/train_cosmos_predict25_lora.py | 316 | def _setup_caption_format(self) -> None: | CODE |
| LOW | examples/server/server.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/server-async/Pipelines.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/server-async/utils/utils.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/profiling/profiling_utils.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/profiling/profiling_pipelines.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/textual_inversion/textual_inversion_flax.py | 61 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/text_to_image/train_text_to_image_flax.py | 54 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/dreambooth/train_dreambooth_flax.py | 43 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarks/benchmarking_utils.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarks/run_all.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/convert_ltx2_to_diffusers.py | 134 | def update_state_dict_inplace(state_dict: dict[str, Any], old_key: str, new_key: str) -> None: | CODE |
| LOW | scripts/convert_hunyuan_image_to_diffusers.py | 10 | logger = logging.getLogger(__name__) # pylint: disable=invalid-name | CODE |
| LOW | scripts/convert_anyflow_to_diffusers.py | 51 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/convert_flux2_to_diffusers.py | 383 | def update_state_dict(state_dict: Dict[str, Any], old_key: str, new_key: str) -> None: | CODE |
| LOW | src/diffusers/modular_pipelines/mellon_node_utils.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/diffusers/quantizers/nunchaku/utils.py | 323 | def _set_submodule(model: nn.Module, path: str, module: nn.Module) -> None: | CODE |
| LOW | src/diffusers/guiders/guider_utils.py | 100 | def set_state(self, step: int, num_inference_steps: int, timestep: torch.LongTensor) -> None: | CODE |
| LOW⚡ | src/diffusers/pipelines/pipeline_utils.py | 2028 | def set_use_memory_efficient_attention_xformers(self, valid: bool, attention_op: Callable | None = None) -> None: | STRING |
| LOW | src/diffusers/pipelines/ddim/pipeline_ddim.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/diffusers/pipelines/llada2/pipeline_llada2.py | 563 | __all__ = ["LLaDA2Pipeline", "LLaDA2PipelineOutput"] | CODE |
| LOW | …/pipelines/diffusion_gemma/pipeline_diffusion_gemma.py | 460 | __all__ = ["DiffusionGemmaPipeline", "DiffusionGemmaPipelineOutput"] | CODE |
| LOW | src/diffusers/utils/logging.py | 167 | def set_verbosity(verbosity: int) -> None: | CODE |
| LOW⚡ | src/diffusers/utils/logging.py | 186 | def set_verbosity_info() -> None: | CODE |
| LOW⚡ | src/diffusers/utils/logging.py | 191 | def set_verbosity_warning() -> None: | CODE |
| LOW⚡ | src/diffusers/utils/logging.py | 196 | def set_verbosity_debug() -> None: | CODE |
| LOW⚡ | src/diffusers/utils/logging.py | 201 | def set_verbosity_error() -> None: | CODE |
| LOW | src/diffusers/models/attention.py | 127 | def set_processor(self, processor: AttentionProcessor) -> None: | STRING |
| LOW | src/diffusers/models/attention.py | 171 | def set_use_npu_flash_attention(self, use_npu_flash_attention: bool) -> None: | STRING |
| LOW | src/diffusers/models/attention.py | 340 | def set_attention_slice(self, slice_size: int) -> None: | STRING |
| LOW | src/diffusers/models/attention.py | 1551 | def set_chunk_feed_forward(self, chunk_size: int | None, dim: int = 0) -> None: | STRING |
| LOW | src/diffusers/models/attention_processor.py | 344 | def set_use_npu_flash_attention(self, use_npu_flash_attention: bool) -> None: | STRING |
| LOW | src/diffusers/models/attention_processor.py | 507 | def set_attention_slice(self, slice_size: int) -> None: | STRING |
| LOW | src/diffusers/models/attention_processor.py | 535 | def set_processor(self, processor: "AttnProcessor") -> None: | STRING |
| LOW⚡ | src/diffusers/models/modeling_utils.py | 323 | def set_use_npu_flash_attention(self, valid: bool) -> None: | STRING |
| LOW⚡ | src/diffusers/models/modeling_utils.py | 382 | def set_use_memory_efficient_attention_xformers(self, valid: bool, attention_op: Callable | None = None) -> None: | STRING |
| LOW | src/diffusers/models/modeling_utils.py | 588 | def set_attention_backend(self, backend: str) -> None: | STRING |
| LOW | src/diffusers/models/unets/unet_motion_model.py | 1801 | def set_default_attn_processor(self) -> None: | STRING |
| LOW | src/diffusers/models/unets/unet_3d_condition.py | 290 | def set_attention_slice(self, slice_size: str | int | list[int]) -> None: | STRING |
| LOW | src/diffusers/models/unets/unet_dreamlite.py | 2032 | __all__ = [ | STRING |
| LOW | src/diffusers/models/controlnets/controlnet.py | 537 | def set_attention_slice(self, slice_size: str | int | list[int]) -> None: | STRING |
| LOW | …/diffusers/models/controlnets/controlnet_sparsectrl.py | 469 | def set_attention_slice(self, slice_size: str | int | list[int]) -> None: | STRING |
| LOW | src/diffusers/models/controlnets/controlnet_union.py | 476 | def set_attention_slice(self, slice_size: str | int | list[int]) -> None: | STRING |
| LOW | src/diffusers/hooks/hooks.py | 49 | def set_context(self, name: str) -> None: | CODE |
| LOW | src/diffusers/hooks/hooks.py | 135 | def _set_context(self, module: torch.nn.Module, name: str) -> None: | STRING |
| LOW | src/diffusers/hooks/hooks.py | 268 | def _set_context(self, name: str | None = None) -> None: | STRING |
| LOW | src/diffusers/loaders/peft.py | 546 | def set_adapter(self, adapter_name: str | list[str]) -> None: | STRING |
| LOW | src/diffusers/loaders/lora_base.py | 938 | def set_lora_device(self, adapter_names: list[str], device: torch.device | str | int) -> None: | STRING |
| LOW | src/diffusers/loaders/single_file_utils.py | 3916 | def update_state_dict(state_dict: dict[str, object], old_key: str, new_key: str) -> None: | CODE |
| LOW | src/diffusers/loaders/single_file_utils.py | 3976 | def update_state_dict(state_dict: dict[str, object], old_key: str, new_key: str) -> None: | CODE |
| LOW | src/diffusers/loaders/single_file_utils.py | 4040 | def update_state_dict_inplace(state_dict, old_key: str, new_key: str) -> None: | CODE |
| LOW | src/diffusers/loaders/single_file_utils.py | 4119 | def update_state_dict_inplace(state_dict, old_key: str, new_key: str) -> None: | CODE |
| LOW | src/diffusers/loaders/single_file_utils.py | 4159 | def update_state_dict_inplace(state_dict, old_key: str, new_key: str) -> None: | CODE |
| LOW | src/diffusers/loaders/ip_adapter.py | 1066 | def set_ip_adapter_scale(self, scale: float) -> None: | CODE |
| 22 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ular_pipelines/test_modular_pipelines_custom_blocks.py | 256 | # Step 1: Create an external model repo with custom code (requires trust_remote_code) | COMMENT |
| LOW | …ular_pipelines/test_modular_pipelines_custom_blocks.py | 271 | # Step 2: Create a custom block that references the external repo. | COMMENT |
| LOW | …ular_pipelines/test_modular_pipelines_custom_blocks.py | 357 | # Step 3: Load the pipeline from the saved directory. | COMMENT |
| LOW⚡ | tests/pipelines/glm_image/test_glm_image.py | 299 | # Step 1: Run with prompt only to get prior_token_ids from AR model | COMMENT |
| LOW⚡ | tests/pipelines/glm_image/test_glm_image.py | 309 | # Step 2: Run with both prompt and prior_token_ids — should not raise | COMMENT |
| LOW⚡ | tests/models/testing_utils/quantization.py | 395 | # Step 1: freeze all parameters | COMMENT |
| LOW⚡ | tests/models/testing_utils/quantization.py | 402 | # Step 2: add adapters to attention layers | COMMENT |
| LOW⚡ | tests/models/testing_utils/quantization.py | 419 | # Step 3: run forward and backward pass | COMMENT |
| LOW⚡ | tests/models/testing_utils/quantization.py | 428 | # Step 4: verify gradients are computed | COMMENT |
| LOW⚡ | tests/quantization/bnb/test_mixed_int8.py | 390 | # Step 1: freeze all parameters | STRING |
| LOW⚡ | tests/quantization/bnb/test_mixed_int8.py | 397 | # Step 2: add adapters | STRING |
| LOW⚡ | tests/quantization/bnb/test_mixed_int8.py | 404 | # Step 3: dummy batch | STRING |
| LOW⚡ | tests/quantization/bnb/test_mixed_int8.py | 411 | # Step 4: Check if the gradient is not None | STRING |
| LOW⚡ | tests/quantization/bnb/test_4bit.py | 419 | # Step 1: freeze all parameters | STRING |
| LOW⚡ | tests/quantization/bnb/test_4bit.py | 426 | # Step 2: add adapters | STRING |
| LOW⚡ | tests/quantization/bnb/test_4bit.py | 433 | # Step 3: dummy batch | STRING |
| LOW⚡ | tests/quantization/bnb/test_4bit.py | 440 | # Step 4: Check if the gradient is not None | STRING |
| LOW⚡ | tests/hooks/test_mag_cache.py | 128 | # Step 0: Input 10.0 -> Output 40.0 (2 blocks * 2x each) | COMMENT |
| LOW⚡ | tests/hooks/test_mag_cache.py | 134 | # Step 1: Input 11.0. | COMMENT |
| LOW⚡ | tests/hooks/test_mag_cache.py | 162 | # Step 1: Should COMPUTE (44.0) not SKIP (41.0) because of retention | COMMENT |
| LOW⚡ | tests/hooks/test_mag_cache.py | 181 | # Step 0: Compute. Input 10.0 -> Output 20.0 (1 block * 2x) | COMMENT |
| LOW⚡ | tests/hooks/test_mag_cache.py | 188 | # Step 1: Skip. Input 11.0. | COMMENT |
| LOW | examples/community/checkpoint_merger.py | 124 | # Step 1: Load the model config and compare the checkpoints. We'll compare the model_index.json first while igno | COMMENT |
| LOW | examples/community/checkpoint_merger.py | 144 | # Step 2: Basic Validation has succeeded. Let's download the models and save them into our local files. | COMMENT |
| LOW | examples/community/checkpoint_merger.py | 176 | # Step 3:- | COMMENT |
| LOW⚡ | …iffusers/modular_pipelines/hunyuan_video1_5/denoise.py | 137 | # Step 1: Collect model inputs | COMMENT |
| LOW⚡ | …iffusers/modular_pipelines/hunyuan_video1_5/denoise.py | 145 | # Step 2: Update guider state | COMMENT |
| LOW⚡ | …iffusers/modular_pipelines/hunyuan_video1_5/denoise.py | 148 | # Step 3: Prepare batched inputs | COMMENT |
| LOW⚡ | …iffusers/modular_pipelines/hunyuan_video1_5/denoise.py | 151 | # Step 4: Run denoiser for each batch | COMMENT |
| LOW | …iffusers/modular_pipelines/hunyuan_video1_5/denoise.py | 170 | # Step 5: Combine predictions | COMMENT |
| LOW | …c/diffusers/pipelines/flux2/pipeline_flux2_klein_kv.py | 794 | # Step 0: include ref tokens, extract KV cache | STRING |
| LOW⚡ | …ipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py | 741 | # Step 1: Collect model inputs needed for the guidance method | STRING |
| LOW⚡ | …ipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py | 750 | # Step 2: Update guider's internal state for this denoising step | STRING |
| LOW⚡ | …ipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py | 753 | # Step 3: Prepare batched model inputs based on the guidance method | STRING |
| LOW⚡ | …ipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py | 763 | # Step 4: Run the denoiser for each batch | STRING |
| LOW | …ipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py | 790 | # Step 5: Combine predictions using the guidance method | STRING |
| LOW⚡ | …yuan_video1_5/pipeline_hunyuan_video1_5_image2video.py | 864 | # Step 1: Collect model inputs needed for the guidance method | STRING |
| LOW⚡ | …yuan_video1_5/pipeline_hunyuan_video1_5_image2video.py | 873 | # Step 2: Update guider's internal state for this denoising step | STRING |
| LOW⚡ | …yuan_video1_5/pipeline_hunyuan_video1_5_image2video.py | 876 | # Step 3: Prepare batched model inputs based on the guidance method | STRING |
| LOW⚡ | …yuan_video1_5/pipeline_hunyuan_video1_5_image2video.py | 886 | # Step 4: Run the denoiser for each batch | STRING |
| LOW | …yuan_video1_5/pipeline_hunyuan_video1_5_image2video.py | 914 | # Step 5: Combine predictions using the guidance method | STRING |
| LOW⚡ | …pelines/hunyuan_image/pipeline_hunyuanimage_refiner.py | 656 | # Step 1: Collect model inputs needed for the guidance method | STRING |
| LOW⚡ | …pelines/hunyuan_image/pipeline_hunyuanimage_refiner.py | 663 | # Step 2: Update guider's internal state for this denoising step | STRING |
| LOW⚡ | …pelines/hunyuan_image/pipeline_hunyuanimage_refiner.py | 666 | # Step 3: Prepare batched model inputs based on the guidance method | STRING |
| LOW | …pelines/hunyuan_image/pipeline_hunyuanimage_refiner.py | 677 | # Step 4: Run the denoiser for each batch | STRING |
| LOW | …pelines/hunyuan_image/pipeline_hunyuanimage_refiner.py | 704 | # Step 5: Combine predictions using the guidance method | STRING |
| LOW⚡ | …users/pipelines/hunyuan_image/pipeline_hunyuanimage.py | 764 | # Step 1: Collect model inputs needed for the guidance method | STRING |
| LOW⚡ | …users/pipelines/hunyuan_image/pipeline_hunyuanimage.py | 773 | # Step 2: Update guider's internal state for this denoising step | STRING |
| LOW⚡ | …users/pipelines/hunyuan_image/pipeline_hunyuanimage.py | 776 | # Step 3: Prepare batched model inputs based on the guidance method | STRING |
| LOW⚡ | …users/pipelines/hunyuan_image/pipeline_hunyuanimage.py | 786 | # Step 4: Run the denoiser for each batch | STRING |
| LOW | …users/pipelines/hunyuan_image/pipeline_hunyuanimage.py | 814 | # Step 5: Combine predictions using the guidance method | STRING |
| LOW⚡ | src/diffusers/models/modeling_flax_utils.py | 412 | # Step 1: Get the pytorch file | STRING |
| LOW⚡ | src/diffusers/models/modeling_flax_utils.py | 415 | # Step 2: Convert the weights | STRING |
| LOW⚡ | src/diffusers/models/modeling_flax_pytorch_utils.py | 108 | # Step 1: Convert pytorch tensor to numpy | COMMENT |
| LOW⚡ | src/diffusers/models/modeling_flax_pytorch_utils.py | 111 | # Step 2: Since the model is stateless, get random Flax params | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/dreambooth/README_qwen.md | 109 | * `report_to="wandb` will ensure the training runs are tracked on [Weights and Biases](https://wandb.ai/site). To use it | COMMENT |
| HIGH | examples/dreambooth/README_flux2.md | 261 | * `report_to="wandb` will ensure the training runs are tracked on [Weights and Biases](https://wandb.ai/site). To use it | COMMENT |
| HIGH | examples/dreambooth/README_lumina2.md | 109 | * `report_to="wandb` will ensure the training runs are tracked on [Weights and Biases](https://wandb.ai/site). To use it | COMMENT |
| HIGH | examples/dreambooth/README_flux.md | 121 | * `report_to="wandb` will ensure the training runs are tracked on [Weights and Biases](https://wandb.ai/site). To use it | COMMENT |
| HIGH | examples/dreambooth/README_sana.md | 109 | * `report_to="wandb` will ensure the training runs are tracked on [Weights and Biases](https://wandb.ai/site). To use it | COMMENT |
| HIGH | examples/dreambooth/README_sdxl.md | 102 | * `report_to="wandb` will ensure the training runs are tracked on [Weights and Biases](https://wandb.ai/site). To use it | COMMENT |
| HIGH | examples/dreambooth/README_hidream.md | 103 | * `report_to="wandb` will ensure the training runs are tracked on [Weights and Biases](https://wandb.ai/site). To use it | COMMENT |
| HIGH | examples/dreambooth/README_sd3.md | 108 | * `report_to="wandb` will ensure the training runs are tracked on [Weights and Biases](https://wandb.ai/site). To use it | COMMENT |
| HIGH | examples/dreambooth/README_z_image.md | 156 | * `report_to="wandb"` will ensure the training runs are tracked on [Weights and Biases](https://wandb.ai/site). To use i | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | utils/check_repo.py | 673 | model_types = list(diffusers.models.auto.configuration_auto.MODEL_NAMES_MAPPING.keys()) | CODE |
| CRITICAL | src/diffusers/models/lora.py | 124 | w_up = self.lora_linear_layer.up.weight.data.float() | CODE |
| CRITICAL | src/diffusers/models/lora.py | 125 | w_down = self.lora_linear_layer.down.weight.data.float() | CODE |
| CRITICAL | src/diffusers/models/lora.py | 322 | w_up = self.lora_layer.up.weight.data.float() | STRING |
| CRITICAL | src/diffusers/models/lora.py | 323 | w_down = self.lora_layer.down.weight.data.float() | STRING |
| CRITICAL | src/diffusers/models/lora.py | 408 | w_up = self.lora_layer.up.weight.data.float() | STRING |
| CRITICAL | src/diffusers/models/lora.py | 409 | w_down = self.lora_layer.down.weight.data.float() | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/single_file/single_file_testing_utils.py | 212 | # we just pass it in here otherwise this test will fail | COMMENT |
| LOW | tests/single_file/single_file_testing_utils.py | 232 | # we just pass it in here otherwise this test will fail | COMMENT |
| LOW | tests/single_file/single_file_testing_utils.py | 400 | # we just pass it in here otherwise this test will fail | COMMENT |
| LOW | tests/single_file/single_file_testing_utils.py | 421 | # we just pass it in here otherwise this test will fail | COMMENT |
| LOW | utils/consolidated_test_report.py | 171 | pass # If we can't read the line file, just use what we have | CODE |
| MEDIUM | utils/consolidated_test_report.py | 351 | """Generate a comprehensive markdown report from consolidated data.""" | STRING |
| LOW | utils/check_inits.py | 71 | # If this is a traditional init, just return. | COMMENT |
| LOW | …uber_loss_training/dreambooth/train_dreambooth_lora.py | 912 | # IF does not have a VAE so let's just set it to None | COMMENT |
| LOW | examples/research_projects/lpl/train_sdxl_lpl.py | 1342 | # If no SNR weighting, just use mean | STRING |
| MEDIUM | examples/research_projects/sdxl_flax/sdxl_single.py | 1 | # Show best practices for SDXL JAX | COMMENT |
| MEDIUM | …fusion_training/train_dreambooth_lora_flux_advanced.py | 1718 | if args.enable_t5_ti: # whether to do pivotal tuning/textual inversion for T5 as well | STRING |
| MEDIUM | …fusion_training/train_dreambooth_lora_flux_advanced.py | 1753 | else: # regular te training or regular pivotal for clip | STRING |
| MEDIUM | …fusion_training/train_dreambooth_lora_flux_advanced.py | 1757 | # pivotal tuning of clip & t5 | STRING |
| MEDIUM | …fusion_training/train_dreambooth_lora_flux_advanced.py | 1769 | else: # regular pivotal tuning of clip & t5 | STRING |
| MEDIUM | …fusion_training/train_dreambooth_lora_flux_advanced.py | 2116 | elif args.train_text_encoder_ti: # textual inversion / pivotal tuning | STRING |
| MEDIUM | …ffusion_training/test_dreambooth_lora_flux_advanced.py | 146 | # when performing pivotal tuning, all the parameters in the state dict should start | STRING |
| MEDIUM | …ffusion_training/test_dreambooth_lora_flux_advanced.py | 189 | # when performing pivotal tuning, all the parameters in the state dict should start | STRING |
| LOW | examples/dreambooth/train_dreambooth_lora_flux2.py | 1235 | # we never offload the transformer to CPU, so we can just use the accelerator device | STRING |
| LOW | …ples/dreambooth/train_dreambooth_lora_flux2_img2img.py | 1186 | # we never offload the transformer to CPU, so we can just use the accelerator device | STRING |
| LOW | …reambooth/train_dreambooth_lora_flux2_klein_img2img.py | 1181 | # we never offload the transformer to CPU, so we can just use the accelerator device | STRING |
| LOW | examples/dreambooth/train_dreambooth_lora_hidream.py | 1134 | # we never offload the transformer to CPU, so we can just use the accelerator device | STRING |
| LOW | examples/dreambooth/train_dreambooth_lora.py | 893 | # IF does not have a VAE so let's just set it to None | COMMENT |
| LOW | examples/dreambooth/train_dreambooth_lora_z_image.py | 1224 | # we never offload the transformer to CPU, so we can just use the accelerator device | STRING |
| LOW | examples/dreambooth/train_dreambooth_lora_ideogram4.py | 1390 | # we never offload the transformer to CPU, so we can just use the accelerator device. | STRING |
| LOW | …amples/dreambooth/train_dreambooth_lora_flux2_klein.py | 1229 | # we never offload the transformer to CPU, so we can just use the accelerator device | STRING |
| LOW | examples/dreambooth/train_dreambooth_lora_krea2.py | 1202 | # we never offload the transformer to CPU, so we can just use the accelerator device | STRING |
| LOW | examples/dreambooth/train_dreambooth_lora_qwen_image.py | 1138 | # we never offload the transformer to CPU, so we can just use the accelerator device | COMMENT |
| MEDIUM⚡ | scripts/convert_diffusers_sdxl_lora_to_webui.py | 13 | # Dreambooth Advanced Training Script - state of the art techniques such as pivotal tuning and prodigy optimizer: | COMMENT |
| MEDIUM | src/diffusers/modular_pipelines/components_manager.py | 774 | """Get comprehensive information about a component. | STRING |
| LOW | src/diffusers/modular_pipelines/modular_pipeline.py | 2108 | # if it is not set yet, just set it and skip the process to check and warn below | COMMENT |
| MEDIUM | src/diffusers/pipelines/prx/pipeline_prx.py | 129 | """Clean text using comprehensive text processing logic.""" | STRING |
| MEDIUM | src/diffusers/utils/state_dict_utils.py | 155 | # This is not a comprehensive dict as kohya format requires replacing `.` with `_` in keys, | COMMENT |
| LOW | src/diffusers/models/attention_processor.py | 593 | # here we simply pass along all tensors to the selected processor class | STRING |
| MEDIUM | src/diffusers/models/modeling_utils.py | 501 | # If users want to apply layerwise casting on peft layers as well, they can utilize the | STRING |
| LOW | src/diffusers/models/autoencoders/vae.py | 631 | inds[inds >= self.used.shape[0]] = 0 # simply set to zero | CODE |
| MEDIUM | src/diffusers/loaders/lora_conversion_utils.py | 363 | # not utilize it yet. | COMMENT |
| LOW | …fusers/schedulers/scheduling_ltx_euler_ancestral_rf.py | 320 | # Already at the end; simply return the current sample. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | setup.py | 51 | python setup.py bdist_wheel && python setup.py sdist | STRING |
| HIGH | setup.py | 64 | pip install diffusers && pip uninstall diffusers | STRING |
| HIGH | tests/quantization/test_pipeline_level_quantization.py | 281 | "llm_int8_skip_modules": null, | CODE |
| HIGH | utils/label_issues.py | 43 | Example: {"labels": ["bug", "models", "needs-code-example"], "model_name": null} | CODE |
| HIGH | src/diffusers/pipelines/ace_step/pipeline_ace_step.py | 1171 | # Batched guidance: stack (cond, null) on batch dim and run the DiT once. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CONTRIBUTING.md | 590 | ### AI-assisted and agentic contributions | COMMENT |
| MEDIUM | docs/source/en/conceptual/contribution.md | 590 | ### AI-assisted and agentic contributions | COMMENT |
| MEDIUM | scripts/convert_original_audioldm2_to_diffusers.py | 637 | # extract state dict for CLAP text embedding model, discarding the audio component | COMMENT |
| MEDIUM | scripts/convert_original_audioldm_to_diffusers.py | 612 | # extract state dict for CLAP text embedding model, discarding the audio component | COMMENT |
| MEDIUM | scripts/convert_original_musicldm_to_diffusers.py | 617 | # extract state dict for CLAP text embedding model, discarding the audio component | COMMENT |
| MEDIUM | src/diffusers/pipelines/dreamlite/pipeline_dreamlite.py | 215 | # (system + chat-template scaffolding) that must be dropped from the encoder hidden states so the cross- | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …research_projects/pixart/train_pixart_controlnet_hf.py | 686 | CODE | |
| MEDIUM | …rs/modular_pipelines/z_image/modular_blocks_z_image.py | 260 | CODE | |
| MEDIUM | …rs/modular_pipelines/z_image/modular_blocks_z_image.py | 261 | CODE | |
| MEDIUM | …rs/modular_pipelines/z_image/modular_blocks_z_image.py | 262 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/profiling/run_profiling.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/convert_longcat_audio_dit_to_diffusers.py | 16 | # Usage: | COMMENT |
| LOW | scripts/convert_ace_step_to_diffusers.py | 3 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …_gligen/pipeline_stable_diffusion_gligen_text_image.py | 144 | ... "placeholder", | CODE |
| LOW | …elines/deprecated/unidiffuser/modeling_text_decoder.py | 153 | dummy_token = self.get_dummy_token(input_ids.shape[0], input_ids.device) | CODE |
| LOW | …elines/deprecated/unidiffuser/modeling_text_decoder.py | 154 | labels = torch.cat((dummy_token, input_ids), dim=1) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/diffusers/modular_pipelines/flux/inputs.py | 102 | # TODO: consider adding negative embeddings? | COMMENT |
| LOW | src/diffusers/models/transformers/transformer_ltx2.py | 1023 | # TODO: consider implementing this as a utility and reuse in `connectors.py`. | STRING |