repo
stringlengths
7
90
file_url
stringlengths
81
315
file_path
stringlengths
4
228
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:38:15
2026-01-05 02:33:18
truncated
bool
2 classes
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/blip_diffusion/blip_image_processing.py
src/diffusers/pipelines/blip_diffusion/blip_image_processing.py
# coding=utf-8 # Copyright 2025 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/blip_diffusion/pipeline_blip_diffusion.py
src/diffusers/pipelines/blip_diffusion/pipeline_blip_diffusion.py
# Copyright 2025 Salesforce.com, inc. # Copyright 2025 The HuggingFace Team. All rights reserved.# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_output.py
src/diffusers/pipelines/stable_diffusion/pipeline_output.py
from dataclasses import dataclass from typing import List, Optional, Union import numpy as np import PIL.Image from ...utils import BaseOutput, is_flax_available @dataclass class StableDiffusionPipelineOutput(BaseOutput): """ Output class for Stable Diffusion pipelines. Args: images (`List[PIL....
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion_upscale.py
src/diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion_upscale.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/clip_image_project_model.py
src/diffusers/pipelines/stable_diffusion/clip_image_project_model.py
# Copyright 2025 The GLIGEN Authors and HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless re...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_instruct_pix2pix.py
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_instruct_pix2pix.py
# Copyright 2025 The InstructPix2Pix Authors and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/safety_checker_flax.py
src/diffusers/pipelines/stable_diffusion/safety_checker_flax.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion.py
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_stable_unclip_img2img.py
src/diffusers/pipelines/stable_diffusion/pipeline_stable_unclip_img2img.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion_img2img.py
src/diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion_img2img.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py
src/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py
# coding=utf-8 # Copyright 2025 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_stable_unclip.py
src/diffusers/pipelines/stable_diffusion/pipeline_stable_unclip.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion_inpaint.py
src/diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion_inpaint.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_upscale.py
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_upscale.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_img2img.py
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_img2img.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/__init__.py
src/diffusers/pipelines/stable_diffusion/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_flax_available, is_k_diffusion_available, is_k_diffusion_version, is_onnx_available, is_torch_available, is_transformers_availa...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_inpaint.py
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_inpaint.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/stable_unclip_image_normalizer.py
src/diffusers/pipelines/stable_diffusion/stable_unclip_image_normalizer.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_inpaint.py
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_inpaint.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/safety_checker.py
src/diffusers/pipelines/stable_diffusion/safety_checker.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_image_variation.py
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_image_variation.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_latent_upscale.py
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_latent_upscale.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion.py
src/diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_depth2img.py
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_depth2img.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/ltx/pipeline_output.py
src/diffusers/pipelines/ltx/pipeline_output.py
from dataclasses import dataclass import torch from diffusers.utils import BaseOutput @dataclass class LTXPipelineOutput(BaseOutput): r""" Output class for LTX pipelines. Args: frames (`torch.Tensor`, `np.ndarray`, or List[List[PIL.Image.Image]]): List of video outputs - It can be a...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/ltx/pipeline_ltx_latent_upsample.py
src/diffusers/pipelines/ltx/pipeline_ltx_latent_upsample.py
# Copyright 2025 Lightricks and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/ltx/pipeline_ltx_condition.py
src/diffusers/pipelines/ltx/pipeline_ltx_condition.py
# Copyright 2025 Lightricks and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/ltx/pipeline_ltx.py
src/diffusers/pipelines/ltx/pipeline_ltx.py
# Copyright 2025 Lightricks and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/ltx/modeling_latent_upsampler.py
src/diffusers/pipelines/ltx/modeling_latent_upsampler.py
# Copyright 2025 Lightricks and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/ltx/__init__.py
src/diffusers/pipelines/ltx/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_torch_available, is_transformers_available, ) _dummy_objects = {} _import_structure = {} try: if not (is_transformers_available() and i...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/ltx/pipeline_ltx_image2video.py
src/diffusers/pipelines/ltx/pipeline_ltx_image2video.py
# Copyright 2025 Lightricks and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/ledits_pp/pipeline_output.py
src/diffusers/pipelines/ledits_pp/pipeline_output.py
from dataclasses import dataclass from typing import List, Optional, Union import numpy as np import PIL.Image from ...utils import BaseOutput @dataclass class LEditsPPDiffusionPipelineOutput(BaseOutput): """ Output class for LEdits++ Diffusion pipelines. Args: images (`List[PIL.Image.Image]` o...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion_xl.py
src/diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion_xl.py
# Copyright 2023 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion.py
src/diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion.py
import inspect import math from itertools import repeat from typing import Any, Callable, Dict, List, Optional, Tuple, Union import torch import torch.nn.functional as F from packaging import version from transformers import CLIPImageProcessor, CLIPTextModel, CLIPTokenizer from ...configuration_utils import FrozenDic...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/ledits_pp/__init__.py
src/diffusers/pipelines/ledits_pp/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_torch_available, is_transformers_available, ) _dummy_objects = {} _import_structure = {} try: if not (is_transformers_available() and is...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/audioldm2/modeling_audioldm2.py
src/diffusers/pipelines/audioldm2/modeling_audioldm2.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/audioldm2/__init__.py
src/diffusers/pipelines/audioldm2/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_torch_available, is_transformers_available, is_transformers_version, ) _dummy_objects = {} _import_structure = {} try: if not (is_tr...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/audioldm2/pipeline_audioldm2.py
src/diffusers/pipelines/audioldm2/pipeline_audioldm2.py
# Copyright 2025 CVSSP, ByteDance and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/sana/pipeline_output.py
src/diffusers/pipelines/sana/pipeline_output.py
from dataclasses import dataclass from typing import List, Union import numpy as np import PIL.Image from ...utils import BaseOutput @dataclass class SanaPipelineOutput(BaseOutput): """ Output class for Sana pipelines. Args: images (`List[PIL.Image.Image]` or `np.ndarray`) List of d...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/sana/pipeline_sana_controlnet.py
src/diffusers/pipelines/sana/pipeline_sana_controlnet.py
# Copyright 2025 PixArt-Sigma Authors and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/sana/pipeline_sana_sprint.py
src/diffusers/pipelines/sana/pipeline_sana_sprint.py
# Copyright 2025 SANA-Sprint Authors and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unle...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/sana/pipeline_sana_sprint_img2img.py
src/diffusers/pipelines/sana/pipeline_sana_sprint_img2img.py
# Copyright 2025 PixArt-Sigma Authors and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/sana/__init__.py
src/diffusers/pipelines/sana/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_torch_available, is_transformers_available, ) _dummy_objects = {} _import_structure = {} try: if not (is_transformers_available() and i...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/sana/pipeline_sana.py
src/diffusers/pipelines/sana/pipeline_sana.py
# Copyright 2025 SANA Authors and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion_safe/pipeline_output.py
src/diffusers/pipelines/stable_diffusion_safe/pipeline_output.py
from dataclasses import dataclass from typing import List, Optional, Union import numpy as np import PIL.Image from ...utils import ( BaseOutput, ) @dataclass class StableDiffusionSafePipelineOutput(BaseOutput): """ Output class for Safe Stable Diffusion pipelines. Args: images (`List[PIL.I...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion_safe/pipeline_stable_diffusion_safe.py
src/diffusers/pipelines/stable_diffusion_safe/pipeline_stable_diffusion_safe.py
import inspect import warnings from typing import Callable, List, Optional, Union import numpy as np import torch from packaging import version from transformers import CLIPImageProcessor, CLIPTextModel, CLIPTokenizer, CLIPVisionModelWithProjection from ...configuration_utils import FrozenDict from ...image_processor...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion_safe/__init__.py
src/diffusers/pipelines/stable_diffusion_safe/__init__.py
from dataclasses import dataclass from enum import Enum from typing import TYPE_CHECKING, List, Optional, Union import numpy as np import PIL from PIL import Image from ...utils import ( DIFFUSERS_SLOW_IMPORT, BaseOutput, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_diffusion_safe/safety_checker.py
src/diffusers/pipelines/stable_diffusion_safe/safety_checker.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/hidream_image/pipeline_output.py
src/diffusers/pipelines/hidream_image/pipeline_output.py
# Copyright 2025 HiDream-ai Team and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/hidream_image/pipeline_hidream_image.py
src/diffusers/pipelines/hidream_image/pipeline_hidream_image.py
# Copyright 2025 HiDream-ai Team and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/hidream_image/__init__.py
src/diffusers/pipelines/hidream_image/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_torch_available, is_transformers_available, ) _dummy_objects = {} _additional_imports = {} _import_structure = {"pipeline_output": ["HiDreamI...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/cogview3/pipeline_output.py
src/diffusers/pipelines/cogview3/pipeline_output.py
from dataclasses import dataclass from typing import List, Union import numpy as np import PIL.Image from ...utils import BaseOutput @dataclass class CogView3PipelineOutput(BaseOutput): """ Output class for CogView3 pipelines. Args: images (`List[PIL.Image.Image]` or `np.ndarray`) L...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/cogview3/pipeline_cogview3plus.py
src/diffusers/pipelines/cogview3/pipeline_cogview3plus.py
# Copyright 2025 The CogVideoX team, Tsinghua University & ZhipuAI and The HuggingFace Team. # All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.o...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/cogview3/__init__.py
src/diffusers/pipelines/cogview3/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_torch_available, is_transformers_available, ) _dummy_objects = {} _additional_imports = {} _import_structure = {"pipeline_output": ["CogView3...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/musicldm/__init__.py
src/diffusers/pipelines/musicldm/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_torch_available, is_transformers_available, is_transformers_version, ) _dummy_objects = {} _import_structure = {} try: if not (is_tr...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/musicldm/pipeline_musicldm.py
src/diffusers/pipelines/musicldm/pipeline_musicldm.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/wan/pipeline_output.py
src/diffusers/pipelines/wan/pipeline_output.py
from dataclasses import dataclass import torch from diffusers.utils import BaseOutput @dataclass class WanPipelineOutput(BaseOutput): r""" Output class for Wan pipelines. Args: frames (`torch.Tensor`, `np.ndarray`, or List[List[PIL.Image.Image]]): List of video outputs - It can be a...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/wan/pipeline_wan_animate.py
src/diffusers/pipelines/wan/pipeline_wan_animate.py
# Copyright 2025 The Wan Team and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/wan/pipeline_wan_vace.py
src/diffusers/pipelines/wan/pipeline_wan_vace.py
# Copyright 2025 The Wan Team and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/wan/pipeline_wan_i2v.py
src/diffusers/pipelines/wan/pipeline_wan_i2v.py
# Copyright 2025 The Wan Team and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/wan/pipeline_wan.py
src/diffusers/pipelines/wan/pipeline_wan.py
# Copyright 2025 The Wan Team and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/wan/__init__.py
src/diffusers/pipelines/wan/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_torch_available, is_transformers_available, ) _dummy_objects = {} _import_structure = {} try: if not (is_transformers_available() and i...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/wan/image_processor.py
src/diffusers/pipelines/wan/image_processor.py
# Copyright 2025 The Wan Team and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/wan/pipeline_wan_video2video.py
src/diffusers/pipelines/wan/pipeline_wan_video2video.py
# Copyright 2025 The Wan Team and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/hunyuandit/__init__.py
src/diffusers/pipelines/hunyuandit/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_torch_available, is_transformers_available, ) _dummy_objects = {} _import_structure = {} try: if not (is_transformers_available() and i...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/hunyuandit/pipeline_hunyuandit.py
src/diffusers/pipelines/hunyuandit/pipeline_hunyuandit.py
# Copyright 2025 HunyuanDiT Authors and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unles...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_video_diffusion/pipeline_stable_video_diffusion.py
src/diffusers/pipelines/stable_video_diffusion/pipeline_stable_video_diffusion.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/stable_video_diffusion/__init__.py
src/diffusers/pipelines/stable_video_diffusion/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, BaseOutput, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_torch_available, is_transformers_available, ) _dummy_objects = {} _import_structure = {} try: if not (is_transformers_av...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/easyanimate/pipeline_output.py
src/diffusers/pipelines/easyanimate/pipeline_output.py
from dataclasses import dataclass import torch from diffusers.utils import BaseOutput @dataclass class EasyAnimatePipelineOutput(BaseOutput): r""" Output class for EasyAnimate pipelines. Args: frames (`torch.Tensor`, `np.ndarray`, or List[List[PIL.Image.Image]]): List of video outpu...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/easyanimate/pipeline_easyanimate_control.py
src/diffusers/pipelines/easyanimate/pipeline_easyanimate_control.py
# Copyright 2025 The EasyAnimate team and The HuggingFace Team. # All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/easyanimate/pipeline_easyanimate.py
src/diffusers/pipelines/easyanimate/pipeline_easyanimate.py
# Copyright 2025 The EasyAnimate team and The HuggingFace Team. # All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/easyanimate/__init__.py
src/diffusers/pipelines/easyanimate/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_torch_available, is_transformers_available, ) _dummy_objects = {} _import_structure = {} try: if not (is_transformers_available() and i...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/easyanimate/pipeline_easyanimate_inpaint.py
src/diffusers/pipelines/easyanimate/pipeline_easyanimate_inpaint.py
# Copyright 2025 The EasyAnimate team and The HuggingFace Team. # All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/shap_e/pipeline_shap_e.py
src/diffusers/pipelines/shap_e/pipeline_shap_e.py
# Copyright 2025 Open AI and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/shap_e/pipeline_shap_e_img2img.py
src/diffusers/pipelines/shap_e/pipeline_shap_e_img2img.py
# Copyright 2025 Open AI and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/shap_e/camera.py
src/diffusers/pipelines/shap_e/camera.py
# Copyright 2025 Open AI and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/shap_e/__init__.py
src/diffusers/pipelines/shap_e/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_torch_available, is_transformers_available, ) _dummy_objects = {} _import_structure = {} try: if not (is_transformers_available() and is...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/shap_e/renderer.py
src/diffusers/pipelines/shap_e/renderer.py
# Copyright 2025 Open AI and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_torch_and_transformers_and_k_diffusion_objects.py
src/diffusers/utils/dummy_torch_and_transformers_and_k_diffusion_objects.py
# This file is autogenerated by the command `make fix-copies`, do not edit. from ..utils import DummyObject, requires_backends class StableDiffusionKDiffusionPipeline(metaclass=DummyObject): _backends = ["torch", "transformers", "k_diffusion"] def __init__(self, *args, **kwargs): requires_backends(se...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/torch_utils.py
src/diffusers/utils/torch_utils.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/peft_utils.py
src/diffusers/utils/peft_utils.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_pt_objects.py
src/diffusers/utils/dummy_pt_objects.py
# This file is autogenerated by the command `make fix-copies`, do not edit. from ..utils import DummyObject, requires_backends class AdaptiveProjectedGuidance(metaclass=DummyObject): _backends = ["torch"] def __init__(self, *args, **kwargs): requires_backends(self, ["torch"]) @classmethod de...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/loading_utils.py
src/diffusers/utils/loading_utils.py
import os import tempfile from typing import Any, Callable, List, Optional, Tuple, Union from urllib.parse import unquote, urlparse import PIL.Image import PIL.ImageOps import requests from .constants import DIFFUSERS_REQUEST_TIMEOUT from .import_utils import BACKENDS_MAPPING, is_imageio_available def load_image( ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_flax_objects.py
src/diffusers/utils/dummy_flax_objects.py
# This file is autogenerated by the command `make fix-copies`, do not edit. from ..utils import DummyObject, requires_backends class FlaxControlNetModel(metaclass=DummyObject): _backends = ["flax"] def __init__(self, *args, **kwargs): requires_backends(self, ["flax"]) @classmethod def from_c...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/deprecation_utils.py
src/diffusers/utils/deprecation_utils.py
import inspect import warnings from typing import Any, Dict, Optional, Union from packaging import version from ..utils import logging logger = logging.get_logger(__name__) # Mapping for deprecated Transformers classes to their replacements # This is used to handle models that reference deprecated class names in t...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_torch_and_scipy_objects.py
src/diffusers/utils/dummy_torch_and_scipy_objects.py
# This file is autogenerated by the command `make fix-copies`, do not edit. from ..utils import DummyObject, requires_backends class LMSDiscreteScheduler(metaclass=DummyObject): _backends = ["torch", "scipy"] def __init__(self, *args, **kwargs): requires_backends(self, ["torch", "scipy"]) @class...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_torch_and_transformers_and_opencv_objects.py
src/diffusers/utils/dummy_torch_and_transformers_and_opencv_objects.py
# This file is autogenerated by the command `make fix-copies`, do not edit. from ..utils import DummyObject, requires_backends class ConsisIDPipeline(metaclass=DummyObject): _backends = ["torch", "transformers", "opencv"] def __init__(self, *args, **kwargs): requires_backends(self, ["torch", "transfo...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_torch_and_transformers_and_sentencepiece_objects.py
src/diffusers/utils/dummy_torch_and_transformers_and_sentencepiece_objects.py
# This file is autogenerated by the command `make fix-copies`, do not edit. from ..utils import DummyObject, requires_backends class KolorsImg2ImgPipeline(metaclass=DummyObject): _backends = ["torch", "transformers", "sentencepiece"] def __init__(self, *args, **kwargs): requires_backends(self, ["torc...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dynamic_modules_utils.py
src/diffusers/utils/dynamic_modules_utils.py
# coding=utf-8 # Copyright 2025 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_optimum_quanto_objects.py
src/diffusers/utils/dummy_optimum_quanto_objects.py
# This file is autogenerated by the command `make fix-copies`, do not edit. from ..utils import DummyObject, requires_backends class QuantoConfig(metaclass=DummyObject): _backends = ["optimum_quanto"] def __init__(self, *args, **kwargs): requires_backends(self, ["optimum_quanto"]) @classmethod ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/source_code_parsing_utils.py
src/diffusers/utils/source_code_parsing_utils.py
import ast import importlib import inspect import textwrap class ReturnNameVisitor(ast.NodeVisitor): """Thanks to ChatGPT for pairing.""" def __init__(self): self.return_names = [] def visit_Return(self, node): # Check if the return value is a tuple. if isinstance(node.value, ast...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_bitsandbytes_objects.py
src/diffusers/utils/dummy_bitsandbytes_objects.py
# This file is autogenerated by the command `make fix-copies`, do not edit. from ..utils import DummyObject, requires_backends class BitsAndBytesConfig(metaclass=DummyObject): _backends = ["bitsandbytes"] def __init__(self, *args, **kwargs): requires_backends(self, ["bitsandbytes"]) @classmethod...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/remote_utils.py
src/diffusers/utils/remote_utils.py
# coding=utf-8 # Copyright 2025 HuggingFace Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_torch_and_transformers_and_onnx_objects.py
src/diffusers/utils/dummy_torch_and_transformers_and_onnx_objects.py
# This file is autogenerated by the command `make fix-copies`, do not edit. from ..utils import DummyObject, requires_backends class OnnxStableDiffusionImg2ImgPipeline(metaclass=DummyObject): _backends = ["torch", "transformers", "onnx"] def __init__(self, *args, **kwargs): requires_backends(self, ["...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_note_seq_objects.py
src/diffusers/utils/dummy_note_seq_objects.py
# This file is autogenerated by the command `make fix-copies`, do not edit. from ..utils import DummyObject, requires_backends class MidiProcessor(metaclass=DummyObject): _backends = ["note_seq"] def __init__(self, *args, **kwargs): requires_backends(self, ["note_seq"]) @classmethod def from...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/constants.py
src/diffusers/utils/constants.py
# Copyright 2025 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_transformers_and_torch_and_note_seq_objects.py
src/diffusers/utils/dummy_transformers_and_torch_and_note_seq_objects.py
# This file is autogenerated by the command `make fix-copies`, do not edit. from ..utils import DummyObject, requires_backends class SpectrogramDiffusionPipeline(metaclass=DummyObject): _backends = ["transformers", "torch", "note_seq"] def __init__(self, *args, **kwargs): requires_backends(self, ["tr...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/typing_utils.py
src/diffusers/utils/typing_utils.py
# Copyright 2025 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false