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/deprecated/stable_diffusion_variants/pipeline_stable_diffusion_inpaint_legacy.py | src/diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_stable_diffusion_inpaint_legacy.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/deprecated/stochastic_karras_ve/__init__.py | src/diffusers/pipelines/deprecated/stochastic_karras_ve/__init__.py | from typing import TYPE_CHECKING
from ....utils import DIFFUSERS_SLOW_IMPORT, _LazyModule
_import_structure = {"pipeline_stochastic_karras_ve": ["KarrasVePipeline"]}
if TYPE_CHECKING or DIFFUSERS_SLOW_IMPORT:
from .pipeline_stochastic_karras_ve import KarrasVePipeline
else:
import sys
sys.modules[__na... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deprecated/stochastic_karras_ve/pipeline_stochastic_karras_ve.py | src/diffusers/pipelines/deprecated/stochastic_karras_ve/pipeline_stochastic_karras_ve.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/deprecated/alt_diffusion/pipeline_output.py | src/diffusers/pipelines/deprecated/alt_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
# Copied from diffusers.pipelines.stable_diffusion.pipeline_output.StableDiffusionPipelineOutput with Stable->Alt
class AltDiffusionPipelineOutput(BaseO... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deprecated/alt_diffusion/pipeline_alt_diffusion_img2img.py | src/diffusers/pipelines/deprecated/alt_diffusion/pipeline_alt_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/deprecated/alt_diffusion/__init__.py | src/diffusers/pipelines/deprecated/alt_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 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/deprecated/alt_diffusion/modeling_roberta_series.py | src/diffusers/pipelines/deprecated/alt_diffusion/modeling_roberta_series.py | from dataclasses import dataclass
from typing import Optional, Tuple
import torch
from torch import nn
from transformers import RobertaPreTrainedModel, XLMRobertaConfig, XLMRobertaModel
from transformers.utils import ModelOutput
@dataclass
class TransformationModelOutput(ModelOutput):
"""
Base class for text... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deprecated/alt_diffusion/pipeline_alt_diffusion.py | src/diffusers/pipelines/deprecated/alt_diffusion/pipeline_alt_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/deprecated/repaint/__init__.py | src/diffusers/pipelines/deprecated/repaint/__init__.py | from typing import TYPE_CHECKING
from ....utils import DIFFUSERS_SLOW_IMPORT, _LazyModule
_import_structure = {"pipeline_repaint": ["RePaintPipeline"]}
if TYPE_CHECKING or DIFFUSERS_SLOW_IMPORT:
from .pipeline_repaint import RePaintPipeline
else:
import sys
sys.modules[__name__] = _LazyModule(
... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deprecated/repaint/pipeline_repaint.py | src/diffusers/pipelines/deprecated/repaint/pipeline_repaint.py | # Copyright 2025 ETH Zurich Computer Vision Lab 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 | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deprecated/spectrogram_diffusion/continuous_encoder.py | src/diffusers/pipelines/deprecated/spectrogram_diffusion/continuous_encoder.py | # Copyright 2022 The Music Spectrogram Diffusion Authors.
# 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... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deprecated/spectrogram_diffusion/pipeline_spectrogram_diffusion.py | src/diffusers/pipelines/deprecated/spectrogram_diffusion/pipeline_spectrogram_diffusion.py | # Copyright 2022 The Music Spectrogram Diffusion Authors.
# 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... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deprecated/spectrogram_diffusion/midi_utils.py | src/diffusers/pipelines/deprecated/spectrogram_diffusion/midi_utils.py | # Copyright 2022 The Music Spectrogram Diffusion Authors.
# 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... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deprecated/spectrogram_diffusion/__init__.py | src/diffusers/pipelines/deprecated/spectrogram_diffusion/__init__.py | # flake8: noqa
from typing import TYPE_CHECKING
from ....utils import (
DIFFUSERS_SLOW_IMPORT,
_LazyModule,
is_note_seq_available,
OptionalDependencyNotAvailable,
is_torch_available,
is_transformers_available,
get_objects_from_module,
)
_dummy_objects = {}
_import_structure = {}
try:
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/deprecated/spectrogram_diffusion/notes_encoder.py | src/diffusers/pipelines/deprecated/spectrogram_diffusion/notes_encoder.py | # Copyright 2022 The Music Spectrogram Diffusion Authors.
# 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... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deprecated/pndm/pipeline_pndm.py | src/diffusers/pipelines/deprecated/pndm/pipeline_pndm.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/deprecated/pndm/__init__.py | src/diffusers/pipelines/deprecated/pndm/__init__.py | from typing import TYPE_CHECKING
from ....utils import DIFFUSERS_SLOW_IMPORT, _LazyModule
_import_structure = {"pipeline_pndm": ["PNDMPipeline"]}
if TYPE_CHECKING or DIFFUSERS_SLOW_IMPORT:
from .pipeline_pndm import PNDMPipeline
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/deprecated/versatile_diffusion/pipeline_versatile_diffusion_dual_guided.py | src/diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion_dual_guided.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/deprecated/versatile_diffusion/modeling_text_unet.py | src/diffusers/pipelines/deprecated/versatile_diffusion/modeling_text_unet.py | from typing import Any, Dict, List, Optional, Tuple, Union
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
from diffusers.utils import deprecate
from ....configuration_utils import ConfigMixin, register_to_config
from ....models import ModelMixin
from ....models.activations impo... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion_image_variation.py | src/diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_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/deprecated/versatile_diffusion/pipeline_versatile_diffusion.py | src/diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion.py | import inspect
from typing import Callable, List, Optional, Union
import PIL.Image
import torch
from transformers import CLIPImageProcessor, CLIPTextModel, CLIPTokenizer, CLIPVisionModel
from ....models import AutoencoderKL, UNet2DConditionModel
from ....schedulers import KarrasDiffusionSchedulers
from ....utils impo... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deprecated/versatile_diffusion/__init__.py | src/diffusers/pipelines/deprecated/versatile_diffusion/__init__.py | from typing import TYPE_CHECKING
from ....utils import (
DIFFUSERS_SLOW_IMPORT,
OptionalDependencyNotAvailable,
_LazyModule,
is_torch_available,
is_transformers_available,
is_transformers_version,
)
_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/deprecated/versatile_diffusion/pipeline_versatile_diffusion_text_to_image.py | src/diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion_text_to_image.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/deprecated/audio_diffusion/pipeline_audio_diffusion.py | src/diffusers/pipelines/deprecated/audio_diffusion/pipeline_audio_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/deprecated/audio_diffusion/mel.py | src/diffusers/pipelines/deprecated/audio_diffusion/mel.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/deprecated/audio_diffusion/__init__.py | src/diffusers/pipelines/deprecated/audio_diffusion/__init__.py | from typing import TYPE_CHECKING
from ....utils import DIFFUSERS_SLOW_IMPORT, _LazyModule
_import_structure = {
"mel": ["Mel"],
"pipeline_audio_diffusion": ["AudioDiffusionPipeline"],
}
if TYPE_CHECKING or DIFFUSERS_SLOW_IMPORT:
from .mel import Mel
from .pipeline_audio_diffusion import AudioDiffusi... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/marigold/pipeline_marigold_normals.py | src/diffusers/pipelines/marigold/pipeline_marigold_normals.py | # Copyright 2023-2025 Marigold Team, ETH Zürich. All rights reserved.
# Copyright 2024-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
#
# ... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/marigold/pipeline_marigold_depth.py | src/diffusers/pipelines/marigold/pipeline_marigold_depth.py | # Copyright 2023-2025 Marigold Team, ETH Zürich. All rights reserved.
# Copyright 2024-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
#
# ... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/marigold/pipeline_marigold_intrinsics.py | src/diffusers/pipelines/marigold/pipeline_marigold_intrinsics.py | # Copyright 2023-2025 Marigold Team, ETH Zürich. All rights reserved.
# Copyright 2024-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
#
# ... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/marigold/marigold_image_processing.py | src/diffusers/pipelines/marigold/marigold_image_processing.py | # Copyright 2023-2025 Marigold Team, ETH Zürich. All rights reserved.
# Copyright 2024-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
#
# ... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/marigold/__init__.py | src/diffusers/pipelines/marigold/__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_diffusion_attend_and_excite/__init__.py | src/diffusers/pipelines/stable_diffusion_attend_and_excite/__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/stable_diffusion_attend_and_excite/pipeline_stable_diffusion_attend_and_excite.py | src/diffusers/pipelines/stable_diffusion_attend_and_excite/pipeline_stable_diffusion_attend_and_excite.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/skyreels_v2/pipeline_output.py | src/diffusers/pipelines/skyreels_v2/pipeline_output.py | from dataclasses import dataclass
import torch
from diffusers.utils import BaseOutput
@dataclass
class SkyReelsV2PipelineOutput(BaseOutput):
r"""
Output class for SkyReelsV2 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/skyreels_v2/pipeline_skyreels_v2_i2v.py | src/diffusers/pipelines/skyreels_v2/pipeline_skyreels_v2_i2v.py | # Copyright 2025 The SkyReels-V2 Team, 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/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/skyreels_v2/pipeline_skyreels_v2_diffusion_forcing_v2v.py | src/diffusers/pipelines/skyreels_v2/pipeline_skyreels_v2_diffusion_forcing_v2v.py | # Copyright 2025 The SkyReels-V2 Team, 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/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/skyreels_v2/pipeline_skyreels_v2_diffusion_forcing_i2v.py | src/diffusers/pipelines/skyreels_v2/pipeline_skyreels_v2_diffusion_forcing_i2v.py | # Copyright 2025 The SkyReels-V2 Team, 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/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/skyreels_v2/pipeline_skyreels_v2_diffusion_forcing.py | src/diffusers/pipelines/skyreels_v2/pipeline_skyreels_v2_diffusion_forcing.py | # Copyright 2025 The SkyReels-V2 Team, 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/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/skyreels_v2/pipeline_skyreels_v2.py | src/diffusers/pipelines/skyreels_v2/pipeline_skyreels_v2.py | # Copyright 2025 The SkyReels-V2 Team, 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/LICEN... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/skyreels_v2/__init__.py | src/diffusers/pipelines/skyreels_v2/__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/cogvideo/pipeline_output.py | src/diffusers/pipelines/cogvideo/pipeline_output.py | from dataclasses import dataclass
import torch
from diffusers.utils import BaseOutput
@dataclass
class CogVideoXPipelineOutput(BaseOutput):
r"""
Output class for CogVideo 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/cogvideo/pipeline_cogvideox.py | src/diffusers/pipelines/cogvideo/pipeline_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/pipelines/cogvideo/pipeline_cogvideox_image2video.py | src/diffusers/pipelines/cogvideo/pipeline_cogvideox_image2video.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/cogvideo/__init__.py | src/diffusers/pipelines/cogvideo/__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/cogvideo/pipeline_cogvideox_fun_control.py | src/diffusers/pipelines/cogvideo/pipeline_cogvideox_fun_control.py | # Copyright 2025 The CogVideoX team, Tsinghua University & ZhipuAI, Alibaba-PAI 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:/... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/cogvideo/pipeline_cogvideox_video2video.py | src/diffusers/pipelines/cogvideo/pipeline_cogvideox_video2video.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/hunyuan_video1_5/pipeline_output.py | src/diffusers/pipelines/hunyuan_video1_5/pipeline_output.py | from dataclasses import dataclass
import torch
from diffusers.utils import BaseOutput
@dataclass
class HunyuanVideo15PipelineOutput(BaseOutput):
r"""
Output class for HunyuanVideo1.5 pipelines.
Args:
frames (`torch.Tensor`, `np.ndarray`, or List[List[PIL.Image.Image]]):
List of vide... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py | src/diffusers/pipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5.py | # Copyright 2025 The HunyuanVideo 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/pipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5_image2video.py | src/diffusers/pipelines/hunyuan_video1_5/pipeline_hunyuan_video1_5_image2video.py | # Copyright 2025 The HunyuanVideo 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/pipelines/hunyuan_video1_5/__init__.py | src/diffusers/pipelines/hunyuan_video1_5/__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/hunyuan_video1_5/image_processor.py | src/diffusers/pipelines/hunyuan_video1_5/image_processor.py | # Copyright 2025 The HunyuanVideo 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 | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/kandinsky5/pipeline_output.py | src/diffusers/pipelines/kandinsky5/pipeline_output.py | from dataclasses import dataclass
import torch
from diffusers.utils import BaseOutput
@dataclass
class KandinskyPipelineOutput(BaseOutput):
r"""
Output class for kandinsky video pipelines.
Args:
frames (`torch.Tensor`, `np.ndarray`, or List[List[PIL.Image.Image]]):
List of video out... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/kandinsky5/pipeline_kandinsky.py | src/diffusers/pipelines/kandinsky5/pipeline_kandinsky.py | # Copyright 2025 The Kandinsky 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
#
# 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/kandinsky5/pipeline_kandinsky_i2v.py | src/diffusers/pipelines/kandinsky5/pipeline_kandinsky_i2v.py | # Copyright 2025 The Kandinsky 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
#
# 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/kandinsky5/pipeline_kandinsky_i2i.py | src/diffusers/pipelines/kandinsky5/pipeline_kandinsky_i2i.py | # Copyright 2025 The Kandinsky 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
#
# 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/kandinsky5/pipeline_kandinsky_t2i.py | src/diffusers/pipelines/kandinsky5/pipeline_kandinsky_t2i.py | # Copyright 2025 The Kandinsky 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
#
# 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/kandinsky5/__init__.py | src/diffusers/pipelines/kandinsky5/__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/visualcloze/pipeline_visualcloze_combined.py | src/diffusers/pipelines/visualcloze/pipeline_visualcloze_combined.py | # Copyright 2025 VisualCloze 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/pipelines/visualcloze/visualcloze_utils.py | src/diffusers/pipelines/visualcloze/visualcloze_utils.py | # Copyright 2025 VisualCloze 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/pipelines/visualcloze/__init__.py | src/diffusers/pipelines/visualcloze/__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/visualcloze/pipeline_visualcloze_generation.py | src/diffusers/pipelines/visualcloze/pipeline_visualcloze_generation.py | # Copyright 2025 VisualCloze 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/pipelines/dit/pipeline_dit.py | src/diffusers/pipelines/dit/pipeline_dit.py | # Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
# William Peebles and Saining Xie
#
# Copyright (c) 2021 OpenAI
# MIT License
#
# 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 wi... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/dit/__init__.py | src/diffusers/pipelines/dit/__init__.py | from typing import TYPE_CHECKING
from ...utils import DIFFUSERS_SLOW_IMPORT, _LazyModule
_import_structure = {"pipeline_dit": ["DiTPipeline"]}
if TYPE_CHECKING or DIFFUSERS_SLOW_IMPORT:
from .pipeline_dit import DiTPipeline
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/chroma/pipeline_chroma_img2img.py | src/diffusers/pipelines/chroma/pipeline_chroma_img2img.py | # Copyright 2025 Black Forest Labs 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/chroma/pipeline_output.py | src/diffusers/pipelines/chroma/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 ChromaPipelineOutput(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/chroma/pipeline_chroma.py | src/diffusers/pipelines/chroma/pipeline_chroma.py | # Copyright 2025 Black Forest Labs 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/chroma/__init__.py | src/diffusers/pipelines/chroma/__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": ["ChromaPi... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/latte/pipeline_latte.py | src/diffusers/pipelines/latte/pipeline_latte.py | # Copyright 2025 the Latte 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/pipelines/latte/__init__.py | src/diffusers/pipelines/latte/__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/stable_diffusion_diffedit/__init__.py | src/diffusers/pipelines/stable_diffusion_diffedit/__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/stable_diffusion_diffedit/pipeline_stable_diffusion_diffedit.py | src/diffusers/pipelines/stable_diffusion_diffedit/pipeline_stable_diffusion_diffedit.py | # Copyright 2025 DiffEdit Authors and Pix2Pix Zero 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/license... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/controlnet_xs/pipeline_controlnet_xs_sd_xl.py | src/diffusers/pipelines/controlnet_xs/pipeline_controlnet_xs_sd_xl.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/controlnet_xs/pipeline_controlnet_xs.py | src/diffusers/pipelines/controlnet_xs/pipeline_controlnet_xs.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/controlnet_xs/__init__.py | src/diffusers/pipelines/controlnet_xs/__init__.py | from typing import TYPE_CHECKING
from ...utils import (
DIFFUSERS_SLOW_IMPORT,
OptionalDependencyNotAvailable,
_LazyModule,
get_objects_from_module,
is_flax_available,
is_torch_available,
is_transformers_available,
)
_dummy_objects = {}
_import_structure = {}
try:
if not (is_transfor... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/consisid/pipeline_output.py | src/diffusers/pipelines/consisid/pipeline_output.py | from dataclasses import dataclass
import torch
from diffusers.utils import BaseOutput
@dataclass
class ConsisIDPipelineOutput(BaseOutput):
r"""
Output class for ConsisID pipelines.
Args:
frames (`torch.Tensor`, `np.ndarray`, or List[List[PIL.Image.Image]]):
List of video outputs - 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/consisid/consisid_utils.py | src/diffusers/pipelines/consisid/consisid_utils.py | import importlib.util
import os
import cv2
import numpy as np
import torch
from PIL import Image, ImageOps
from torchvision.transforms import InterpolationMode
from torchvision.transforms.functional import normalize, resize
from ...utils import get_logger, load_image
logger = get_logger(__name__)
_insightface_avai... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/consisid/__init__.py | src/diffusers/pipelines/consisid/__init__.py | from typing import TYPE_CHECKING
from ...utils import (
DIFFUSERS_SLOW_IMPORT,
OptionalDependencyNotAvailable,
_LazyModule,
get_objects_from_module,
is_opencv_available,
is_torch_available,
is_transformers_available,
)
_dummy_objects = {}
_import_structure = {}
try:
if not (is_trans... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/consisid/pipeline_consisid.py | src/diffusers/pipelines/consisid/pipeline_consisid.py | # Copyright 2025 ConsisID 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/hunyuan_video/pipeline_output.py | src/diffusers/pipelines/hunyuan_video/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
@dataclass
class HunyuanVideoPipelineOutput(BaseOutput):
r"""
Output class for HunyuanVideo pipelines.
Args:
frames (`torch.Tensor`, `np.ndarr... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/hunyuan_video/pipeline_hunyuan_skyreels_image2video.py | src/diffusers/pipelines/hunyuan_video/pipeline_hunyuan_skyreels_image2video.py | # Copyright 2025 The HunyuanVideo 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/pipelines/hunyuan_video/pipeline_hunyuan_video_image2video.py | src/diffusers/pipelines/hunyuan_video/pipeline_hunyuan_video_image2video.py | # Copyright 2025 The HunyuanVideo 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/pipelines/hunyuan_video/pipeline_hunyuan_video.py | src/diffusers/pipelines/hunyuan_video/pipeline_hunyuan_video.py | # Copyright 2025 The HunyuanVideo 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/pipelines/hunyuan_video/__init__.py | src/diffusers/pipelines/hunyuan_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/hunyuan_video/pipeline_hunyuan_video_framepack.py | src/diffusers/pipelines/hunyuan_video/pipeline_hunyuan_video_framepack.py | # Copyright 2025 The Framepack Team, The HunyuanVideo 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/license... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/ddpm/pipeline_ddpm.py | src/diffusers/pipelines/ddpm/pipeline_ddpm.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/ddpm/__init__.py | src/diffusers/pipelines/ddpm/__init__.py | from typing import TYPE_CHECKING
from ...utils import (
DIFFUSERS_SLOW_IMPORT,
_LazyModule,
)
_import_structure = {"pipeline_ddpm": ["DDPMPipeline"]}
if TYPE_CHECKING or DIFFUSERS_SLOW_IMPORT:
from .pipeline_ddpm import DDPMPipeline
else:
import sys
sys.modules[__name__] = _LazyModule(
... | 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_k_diffusion/pipeline_stable_diffusion_xl_k_diffusion.py | src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_xl_k_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_k_diffusion/__init__.py | src/diffusers/pipelines/stable_diffusion_k_diffusion/__init__.py | from typing import TYPE_CHECKING
from ...utils import (
DIFFUSERS_SLOW_IMPORT,
OptionalDependencyNotAvailable,
_LazyModule,
get_objects_from_module,
is_k_diffusion_available,
is_k_diffusion_version,
is_torch_available,
is_transformers_available,
)
_dummy_objects = {}
_import_structure... | 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_k_diffusion/pipeline_stable_diffusion_k_diffusion.py | src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_k_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/deepfloyd_if/pipeline_output.py | src/diffusers/pipelines/deepfloyd_if/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 IFPipelineOutput(BaseOutput):
r"""
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/deepfloyd_if/pipeline_if_inpainting.py | src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting.py | import html
import inspect
import re
import urllib.parse as ul
from typing import Any, Callable, Dict, List, Optional, Union
import numpy as np
import PIL.Image
import torch
from transformers import CLIPImageProcessor, T5EncoderModel, T5Tokenizer
from ...loaders import StableDiffusionLoraLoaderMixin
from ...models im... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img_superresolution.py | src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img_superresolution.py | import html
import inspect
import re
import urllib.parse as ul
from typing import Any, Callable, Dict, List, Optional, Union
import numpy as np
import PIL.Image
import torch
import torch.nn.functional as F
from transformers import CLIPImageProcessor, T5EncoderModel, T5Tokenizer
from ...loaders import StableDiffusionL... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deepfloyd_if/watermark.py | src/diffusers/pipelines/deepfloyd_if/watermark.py | from typing import List
import PIL.Image
import torch
from PIL import Image
from ...configuration_utils import ConfigMixin
from ...models.modeling_utils import ModelMixin
from ...utils import PIL_INTERPOLATION
class IFWatermarker(ModelMixin, ConfigMixin):
def __init__(self):
super().__init__()
... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting_superresolution.py | src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting_superresolution.py | import html
import inspect
import re
import urllib.parse as ul
from typing import Any, Callable, Dict, List, Optional, Union
import numpy as np
import PIL.Image
import torch
import torch.nn.functional as F
from transformers import CLIPImageProcessor, T5EncoderModel, T5Tokenizer
from ...loaders import StableDiffusionL... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deepfloyd_if/pipeline_if.py | src/diffusers/pipelines/deepfloyd_if/pipeline_if.py | import html
import inspect
import re
import urllib.parse as ul
from typing import Any, Callable, Dict, List, Optional, Union
import torch
from transformers import CLIPImageProcessor, T5EncoderModel, T5Tokenizer
from ...loaders import StableDiffusionLoraLoaderMixin
from ...models import UNet2DConditionModel
from ...sc... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img.py | src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img.py | import html
import inspect
import re
import urllib.parse as ul
from typing import Any, Callable, Dict, List, Optional, Union
import numpy as np
import PIL.Image
import torch
from transformers import CLIPImageProcessor, T5EncoderModel, T5Tokenizer
from ...loaders import StableDiffusionLoraLoaderMixin
from ...models im... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deepfloyd_if/timesteps.py | src/diffusers/pipelines/deepfloyd_if/timesteps.py | fast27_timesteps = [
999,
800,
799,
600,
599,
500,
400,
399,
377,
355,
333,
311,
288,
266,
244,
222,
200,
199,
177,
155,
133,
111,
88,
66,
44,
22,
0,
]
smart27_timesteps = [
999,
976,
952,
928,
... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deepfloyd_if/__init__.py | src/diffusers/pipelines/deepfloyd_if/__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 = {
"timesteps": [
"fast27_timesteps",
... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deepfloyd_if/safety_checker.py | src/diffusers/pipelines/deepfloyd_if/safety_checker.py | import numpy as np
import torch
import torch.nn as nn
from transformers import CLIPConfig, CLIPVisionModelWithProjection, PreTrainedModel
from ...utils import logging
logger = logging.get_logger(__name__)
class IFSafetyChecker(PreTrainedModel):
config_class = CLIPConfig
_no_split_modules = ["CLIPEncoderLa... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/pipelines/deepfloyd_if/pipeline_if_superresolution.py | src/diffusers/pipelines/deepfloyd_if/pipeline_if_superresolution.py | import html
import inspect
import re
import urllib.parse as ul
from typing import Any, Callable, Dict, List, Optional, Union
import numpy as np
import PIL.Image
import torch
import torch.nn.functional as F
from transformers import CLIPImageProcessor, T5EncoderModel, T5Tokenizer
from ...loaders import StableDiffusionL... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.