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/models/autoencoders/autoencoder_kl_ltx.py
src/diffusers/models/autoencoders/autoencoder_kl_ltx.py
# Copyright 2025 The Lightricks 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 # # Un...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/models/autoencoders/autoencoder_dc.py
src/diffusers/models/autoencoders/autoencoder_dc.py
# Copyright 2025 MIT, Tsinghua University, NVIDIA CORPORATION 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/li...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/models/autoencoders/vae.py
src/diffusers/models/autoencoders/vae.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/models/autoencoders/autoencoder_kl_hunyuan_video.py
src/diffusers/models/autoencoders/autoencoder_kl_hunyuan_video.py
# Copyright 2025 The Hunyuan 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 ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/models/autoencoders/autoencoder_kl.py
src/diffusers/models/autoencoders/autoencoder_kl.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/models/autoencoders/autoencoder_kl_mochi.py
src/diffusers/models/autoencoders/autoencoder_kl_mochi.py
# Copyright 2025 The Mochi 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 ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/models/autoencoders/autoencoder_asym_kl.py
src/diffusers/models/autoencoders/autoencoder_asym_kl.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/models/autoencoders/autoencoder_kl_hunyuanvideo15.py
src/diffusers/models/autoencoders/autoencoder_kl_hunyuanvideo15.py
# Copyright 2025 The Hunyuan 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 ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/models/autoencoders/autoencoder_kl_hunyuanimage.py
src/diffusers/models/autoencoders/autoencoder_kl_hunyuanimage.py
# Copyright 2025 The Hunyuan 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 ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/models/autoencoders/autoencoder_kl_wan.py
src/diffusers/models/autoencoders/autoencoder_kl_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
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/models/autoencoders/autoencoder_kl_allegro.py
src/diffusers/models/autoencoders/autoencoder_kl_allegro.py
# Copyright 2025 The RhymesAI 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 re...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/models/autoencoders/autoencoder_kl_cosmos.py
src/diffusers/models/autoencoders/autoencoder_kl_cosmos.py
# Copyright 2025 The NVIDIA 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/models/autoencoders/vq_model.py
src/diffusers/models/autoencoders/vq_model.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/models/autoencoders/autoencoder_kl_qwenimage.py
src/diffusers/models/autoencoders/autoencoder_kl_qwenimage.py
# Copyright 2025 The Qwen-Image Team, 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....
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/models/autoencoders/autoencoder_tiny.py
src/diffusers/models/autoencoders/autoencoder_tiny.py
# Copyright 2025 Ollin Boer Bohan 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
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/models/autoencoders/autoencoder_kl_hunyuanimage_refiner.py
src/diffusers/models/autoencoders/autoencoder_kl_hunyuanimage_refiner.py
# Copyright 2025 The Hunyuan 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 ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/models/autoencoders/__init__.py
src/diffusers/models/autoencoders/__init__.py
from .autoencoder_asym_kl import AsymmetricAutoencoderKL from .autoencoder_dc import AutoencoderDC from .autoencoder_kl import AutoencoderKL from .autoencoder_kl_allegro import AutoencoderKLAllegro from .autoencoder_kl_cogvideox import AutoencoderKLCogVideoX from .autoencoder_kl_cosmos import AutoencoderKLCosmos from ....
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py
src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.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/models/autoencoders/autoencoder_kl_flux2.py
src/diffusers/models/autoencoders/autoencoder_kl_flux2.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/models/autoencoders/autoencoder_kl_temporal_decoder.py
src/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.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/models/autoencoders/consistency_decoder_vae.py
src/diffusers/models/autoencoders/consistency_decoder_vae.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/models/autoencoders/autoencoder_kl_magvit.py
src/diffusers/models/autoencoders/autoencoder_kl_magvit.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/models/autoencoders/autoencoder_oobleck.py
src/diffusers/models/autoencoders/autoencoder_oobleck.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/onnx_utils.py
src/diffusers/pipelines/onnx_utils.py
# coding=utf-8 # Copyright 2025 The HuggingFace Inc. team. # Copyright (c) 2022, NVIDIA CORPORATION. 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.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/pipeline_loading_utils.py
src/diffusers/pipelines/pipeline_loading_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
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/auto_pipeline.py
src/diffusers/pipelines/auto_pipeline.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/pipeline_flax_utils.py
src/diffusers/pipelines/pipeline_flax_utils.py
# coding=utf-8 # Copyright 2025 The HuggingFace Inc. team. # Copyright (c) 2022, NVIDIA CORPORATION. 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.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/free_init_utils.py
src/diffusers/pipelines/free_init_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/pipelines/transformers_loading_utils.py
src/diffusers/pipelines/transformers_loading_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/pipelines/__init__.py
src/diffusers/pipelines/__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_librosa_available, is_note_seq_available, is_onnx_available, is_opencv_available, ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/free_noise_utils.py
src/diffusers/pipelines/free_noise_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/pipelines/pipeline_utils.py
src/diffusers/pipelines/pipeline_utils.py
# coding=utf-8 # Copyright 2025 The HuggingFace Inc. team. # Copyright (c) 2022, NVIDIA CORPORATION. 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.a...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/paint_by_example/image_encoder.py
src/diffusers/pipelines/paint_by_example/image_encoder.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/paint_by_example/pipeline_paint_by_example.py
src/diffusers/pipelines/paint_by_example/pipeline_paint_by_example.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/paint_by_example/__init__.py
src/diffusers/pipelines/paint_by_example/__init__.py
from dataclasses import dataclass from typing import TYPE_CHECKING, List, Optional, Union import numpy as np import PIL from PIL import Image from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_torch_available, is_transformers_...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/chronoedit/pipeline_output.py
src/diffusers/pipelines/chronoedit/pipeline_output.py
from dataclasses import dataclass import torch from diffusers.utils import BaseOutput @dataclass class ChronoEditPipelineOutput(BaseOutput): r""" Output class for ChronoEdit pipelines. Args: frames (`torch.Tensor`, `np.ndarray`, or List[List[PIL.Image.Image]]): List of video outputs...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/chronoedit/pipeline_chronoedit.py
src/diffusers/pipelines/chronoedit/pipeline_chronoedit.py
# Copyright 2025 The ChronoEdit 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 # # 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/chronoedit/__init__.py
src/diffusers/pipelines/chronoedit/__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/aura_flow/__init__.py
src/diffusers/pipelines/aura_flow/__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/aura_flow/pipeline_aura_flow.py
src/diffusers/pipelines/aura_flow/pipeline_aura_flow.py
# Copyright 2025 AuraFlow 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 ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/longcat_image/pipeline_output.py
src/diffusers/pipelines/longcat_image/pipeline_output.py
from dataclasses import dataclass from typing import List, Union import numpy as np import PIL.Image from diffusers.utils import BaseOutput @dataclass class LongCatImagePipelineOutput(BaseOutput): """ Output class for Stable Diffusion pipelines. Args: images (`List[PIL.Image.Image]` or `np.ndar...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/longcat_image/pipeline_longcat_image.py
src/diffusers/pipelines/longcat_image/pipeline_longcat_image.py
# Copyright 2025 MeiTuan LongCat-Image 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 #...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/longcat_image/pipeline_longcat_image_edit.py
src/diffusers/pipelines/longcat_image/pipeline_longcat_image_edit.py
# Copyright 2025 MeiTuan LongCat-Image 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 #...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/longcat_image/system_messages.py
src/diffusers/pipelines/longcat_image/system_messages.py
SYSTEM_PROMPT_EN = """ You are a prompt engineering expert for text-to-image models. Since text-to-image models have limited capabilities in understanding user prompts, you need to identify the core theme and intent of the user's input and improve the model's understanding accuracy and generation quality through optimi...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/longcat_image/__init__.py
src/diffusers/pipelines/longcat_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 = {} _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/pia/pipeline_pia.py
src/diffusers/pipelines/pia/pipeline_pia.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/pia/__init__.py
src/diffusers/pipelines/pia/__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/amused/pipeline_amused.py
src/diffusers/pipelines/amused/pipeline_amused.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/amused/pipeline_amused_img2img.py
src/diffusers/pipelines/amused/pipeline_amused_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/amused/pipeline_amused_inpaint.py
src/diffusers/pipelines/amused/pipeline_amused_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/amused/__init__.py
src/diffusers/pipelines/amused/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_transformers_available, ) _dummy_objects = {} _import_structure = {} try: if not (is_transformers_available() and is_torch_available()): ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/cosmos/pipeline_cosmos2_video2world.py
src/diffusers/pipelines/cosmos/pipeline_cosmos2_video2world.py
# Copyright 2025 The NVIDIA 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/cosmos/pipeline_output.py
src/diffusers/pipelines/cosmos/pipeline_output.py
from dataclasses import dataclass from typing import List, Union import numpy as np import PIL.Image import torch from diffusers.utils import BaseOutput, get_logger logger = get_logger(__name__) @dataclass class CosmosPipelineOutput(BaseOutput): r""" Output class for Cosmos any-to-world/video pipelines. ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/cosmos/pipeline_cosmos2_5_predict.py
src/diffusers/pipelines/cosmos/pipeline_cosmos2_5_predict.py
# Copyright 2025 The NVIDIA 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/cosmos/pipeline_cosmos2_text2image.py
src/diffusers/pipelines/cosmos/pipeline_cosmos2_text2image.py
# Copyright 2025 The NVIDIA 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/cosmos/pipeline_cosmos_video2world.py
src/diffusers/pipelines/cosmos/pipeline_cosmos_video2world.py
# Copyright 2025 The NVIDIA 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/cosmos/pipeline_cosmos_text2world.py
src/diffusers/pipelines/cosmos/pipeline_cosmos_text2world.py
# Copyright 2025 The NVIDIA 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/cosmos/__init__.py
src/diffusers/pipelines/cosmos/__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/lucy/pipeline_output.py
src/diffusers/pipelines/lucy/pipeline_output.py
from dataclasses import dataclass import torch from diffusers.utils import BaseOutput @dataclass class LucyPipelineOutput(BaseOutput): r""" Output class for Lucy pipelines. Args: frames (`torch.Tensor`, `np.ndarray`, or List[List[PIL.Image.Image]]): List of video outputs - It can be...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/lucy/__init__.py
src/diffusers/pipelines/lucy/__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/lucy/pipeline_lucy_edit.py
src/diffusers/pipelines/lucy/pipeline_lucy_edit.py
# Copyright 2025 The Wan Team and The HuggingFace Team. All rights reserved. # Copyright 2025 The Decart AI 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 # # ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/lumina/pipeline_lumina.py
src/diffusers/pipelines/lumina/pipeline_lumina.py
# Copyright 2025 Alpha-VLLM 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/lumina/__init__.py
src/diffusers/pipelines/lumina/__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/semantic_stable_diffusion/pipeline_output.py
src/diffusers/pipelines/semantic_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 @dataclass class SemanticStableDiffusionPipelineOutput(BaseOutput): """ Output class for Stable Diffusion pipelines. Args: images (`List[PIL.Image.Image...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/semantic_stable_diffusion/__init__.py
src/diffusers/pipelines/semantic_stable_diffusion/__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/semantic_stable_diffusion/pipeline_semantic_stable_diffusion.py
src/diffusers/pipelines/semantic_stable_diffusion/pipeline_semantic_stable_diffusion.py
import inspect from itertools import repeat from typing import Callable, List, Optional, Union import torch from transformers import CLIPImageProcessor, CLIPTextModel, CLIPTokenizer from ...image_processor import VaeImageProcessor from ...models import AutoencoderKL, UNet2DConditionModel from ...pipelines.stable_diff...
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_cascade/pipeline_stable_cascade_prior.py
src/diffusers/pipelines/stable_cascade/pipeline_stable_cascade_prior.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_cascade/pipeline_stable_cascade.py
src/diffusers/pipelines/stable_cascade/pipeline_stable_cascade.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_cascade/__init__.py
src/diffusers/pipelines/stable_cascade/__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/stable_cascade/pipeline_stable_cascade_combined.py
src/diffusers/pipelines/stable_cascade/pipeline_stable_cascade_combined.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/unidiffuser/modeling_uvit.py
src/diffusers/pipelines/unidiffuser/modeling_uvit.py
import math from typing import Optional, Union import torch from torch import nn from ...configuration_utils import ConfigMixin, register_to_config from ...models import ModelMixin from ...models.attention import FeedForward from ...models.attention_processor import Attention from ...models.embeddings import Timestep...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/unidiffuser/modeling_text_decoder.py
src/diffusers/pipelines/unidiffuser/modeling_text_decoder.py
from typing import Optional import numpy as np import torch from torch import nn from transformers import GPT2Config, GPT2LMHeadModel from transformers.modeling_utils import ModuleUtilsMixin from ...configuration_utils import ConfigMixin, register_to_config from ...models import ModelMixin # Modified from ClipCapti...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/unidiffuser/__init__.py
src/diffusers/pipelines/unidiffuser/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_transformers_available, ) _dummy_objects = {} _import_structure = {} try: if not (is_transformers_available() and is_torch_available()): ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py
src/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py
import inspect from dataclasses import dataclass from typing import Callable, List, Optional, Union import numpy as np import PIL.Image import torch from transformers import ( CLIPImageProcessor, CLIPTextModel, CLIPTokenizer, CLIPVisionModelWithProjection, GPT2Tokenizer, ) 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/sana_video/pipeline_output.py
src/diffusers/pipelines/sana_video/pipeline_output.py
from dataclasses import dataclass import torch from ...utils import BaseOutput @dataclass class SanaVideoPipelineOutput(BaseOutput): r""" Output class for Sana-Video pipelines. Args: frames (`torch.Tensor`, `np.ndarray`, or List[List[PIL.Image.Image]]): List of video outputs - It ca...
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_video/pipeline_sana_video.py
src/diffusers/pipelines/sana_video/pipeline_sana_video.py
# Copyright 2025 SANA-Video 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/sana_video/pipeline_sana_video_i2v.py
src/diffusers/pipelines/sana_video/pipeline_sana_video_i2v.py
# Copyright 2025 SANA-Video 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/sana_video/__init__.py
src/diffusers/pipelines/sana_video/__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/qwenimage/pipeline_output.py
src/diffusers/pipelines/qwenimage/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 QwenImagePipelineOutput(BaseOutput): """ Output class for Stable Diffusion pipelines. Args: images (`List[PIL.Image.Image]` or `np.ndarray`) ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/qwenimage/pipeline_qwenimage_inpaint.py
src/diffusers/pipelines/qwenimage/pipeline_qwenimage_inpaint.py
import inspect from typing import Any, Callable, Dict, List, Optional, Union import numpy as np import PIL.Image import torch from transformers import Qwen2_5_VLForConditionalGeneration, Qwen2Tokenizer from ...image_processor import PipelineImageInput, VaeImageProcessor from ...loaders import QwenImageLoraLoaderMixin...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit.py
src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit.py
# Copyright 2025 Qwen-Image 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/qwenimage/pipeline_qwenimage_layered.py
src/diffusers/pipelines/qwenimage/pipeline_qwenimage_layered.py
# Copyright 2025 Qwen-Image 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/qwenimage/pipeline_qwenimage_edit_plus.py
src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit_plus.py
# Copyright 2025 Qwen-Image 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/qwenimage/pipeline_qwenimage_controlnet_inpaint.py
src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet_inpaint.py
# Copyright 2025 Qwen-Image Team, The InstantX 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/LICEN...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/qwenimage/__init__.py
src/diffusers/pipelines/qwenimage/__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": ["QwenImag...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet.py
src/diffusers/pipelines/qwenimage/pipeline_qwenimage_controlnet.py
# Copyright 2025 Qwen-Image Team, InstantX 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...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py
src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py
# Copyright 2025 Qwen-Image 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/qwenimage/pipeline_qwenimage_edit_inpaint.py
src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit_inpaint.py
# Copyright 2025 Qwen-Image 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/qwenimage/pipeline_qwenimage_img2img.py
src/diffusers/pipelines/qwenimage/pipeline_qwenimage_img2img.py
import inspect from typing import Any, Callable, Dict, List, Optional, Union import numpy as np import torch from transformers import Qwen2_5_VLForConditionalGeneration, Qwen2Tokenizer from ...image_processor import PipelineImageInput, VaeImageProcessor from ...loaders import QwenImageLoraLoaderMixin from ...models i...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/ddim/pipeline_ddim.py
src/diffusers/pipelines/ddim/pipeline_ddim.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/ddim/__init__.py
src/diffusers/pipelines/ddim/__init__.py
from typing import TYPE_CHECKING from ...utils import DIFFUSERS_SLOW_IMPORT, _LazyModule _import_structure = {"pipeline_ddim": ["DDIMPipeline"]} if TYPE_CHECKING or DIFFUSERS_SLOW_IMPORT: from .pipeline_ddim import DDIMPipeline else: import sys sys.modules[__name__] = _LazyModule( __name__, ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/kolors/pipeline_output.py
src/diffusers/pipelines/kolors/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 KolorsPipelineOutput(BaseOutput): """ Output class for Kolors pipelines. Args: images (`List[PIL.Image.Image]` or `np.ndarray`) List ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/kolors/pipeline_kolors_img2img.py
src/diffusers/pipelines/kolors/pipeline_kolors_img2img.py
# Copyright 2025 Stability AI, Kwai-Kolors 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...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/kolors/pipeline_kolors.py
src/diffusers/pipelines/kolors/pipeline_kolors.py
# Copyright 2025 Stability AI, Kwai-Kolors 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...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/kolors/__init__.py
src/diffusers/pipelines/kolors/__init__.py
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_sentencepiece_available, is_torch_available, is_transformers_available, ) _dummy_objects = {} _import_structure = {} try: if not (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/kolors/tokenizer.py
src/diffusers/pipelines/kolors/tokenizer.py
# Copyright 2025 ChatGLM3-6B Model Team, Kwai-Kolors 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...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/kolors/text_encoder.py
src/diffusers/pipelines/kolors/text_encoder.py
# Copyright 2025 ChatGLM3-6B Model Team, Kwai-Kolors 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...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/text_to_video_synthesis/pipeline_output.py
src/diffusers/pipelines/text_to_video_synthesis/pipeline_output.py
from dataclasses import dataclass from typing import List, Union import numpy as np import PIL import torch from ...utils import ( BaseOutput, ) @dataclass class TextToVideoSDPipelineOutput(BaseOutput): """ Output class for text-to-video pipelines. Args: frames (`torch.Tensor`, `np.ndarra...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
false
huggingface/diffusers
https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.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/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py
import copy import inspect from dataclasses import dataclass from typing import Any, Callable, Dict, List, Optional, Tuple, Union import numpy as np import PIL import torch import torch.nn.functional as F from torch.nn.functional import grid_sample from transformers import ( CLIPImageProcessor, CLIPTextModel, ...
python
Apache-2.0
47378066c002573613a1dba686570fbd5a1cf48a
2026-01-04T14:42:56.953111Z
true