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/utils/dummy_nvidia_modelopt_objects.py | src/diffusers/utils/dummy_nvidia_modelopt_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class NVIDIAModelOptConfig(metaclass=DummyObject):
_backends = ["nvidia_modelopt"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["nvidia_modelopt"])
@cla... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/state_dict_utils.py | src/diffusers/utils/state_dict_utils.py | # Copyright 2025 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/export_utils.py | src/diffusers/utils/export_utils.py | import io
import random
import struct
import tempfile
from contextlib import contextmanager
from typing import List, Optional, Union
import numpy as np
import PIL.Image
import PIL.ImageOps
from .import_utils import BACKENDS_MAPPING, is_imageio_available, is_opencv_available
from .logging import get_logger
global_rn... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/accelerate_utils.py | src/diffusers/utils/accelerate_utils.py | # Copyright 2025 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_torch_and_librosa_objects.py | src/diffusers/utils/dummy_torch_and_librosa_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class AudioDiffusionPipeline(metaclass=DummyObject):
_backends = ["torch", "librosa"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["torch", "librosa"])
... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/versions.py | src/diffusers/utils/versions.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_torch_and_transformers_objects.py | src/diffusers/utils/dummy_torch_and_transformers_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class Flux2AutoBlocks(metaclass=DummyObject):
_backends = ["torch", "transformers"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["torch", "transformers"])
... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/pil_utils.py | src/diffusers/utils/pil_utils.py | from typing import List
import PIL.Image
import PIL.ImageOps
from packaging import version
from PIL import Image
if version.parse(version.parse(PIL.__version__).base_version) >= version.parse("9.1.0"):
PIL_INTERPOLATION = {
"linear": PIL.Image.Resampling.BILINEAR,
"bilinear": PIL.Image.Resampling... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/hub_utils.py | src/diffusers/utils/hub_utils.py | # coding=utf-8
# Copyright 2025 The HuggingFace Inc. team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_torch_and_torchsde_objects.py | src/diffusers/utils/dummy_torch_and_torchsde_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class CosineDPMSolverMultistepScheduler(metaclass=DummyObject):
_backends = ["torch", "torchsde"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["torch", "torc... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/logging.py | src/diffusers/utils/logging.py | # coding=utf-8
# Copyright 2025 Optuna, Hugging Face
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/testing_utils.py | src/diffusers/utils/testing_utils.py | import functools
import glob
import importlib
import importlib.metadata
import inspect
import io
import logging
import multiprocessing
import os
import random
import re
import struct
import sys
import tempfile
import time
import unittest
import urllib.parse
from collections import UserDict
from contextlib import contex... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/__init__.py | src/diffusers/utils/__init__.py | # Copyright 2025 The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/doc_utils.py | src/diffusers/utils/doc_utils.py | # Copyright 2025 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_onnx_objects.py | src/diffusers/utils/dummy_onnx_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class OnnxRuntimeModel(metaclass=DummyObject):
_backends = ["onnx"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["onnx"])
@classmethod
def from_conf... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_gguf_objects.py | src/diffusers/utils/dummy_gguf_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class GGUFQuantizationConfig(metaclass=DummyObject):
_backends = ["gguf"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["gguf"])
@classmethod
def fro... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_flax_and_transformers_objects.py | src/diffusers/utils/dummy_flax_and_transformers_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class FlaxStableDiffusionControlNetPipeline(metaclass=DummyObject):
_backends = ["flax", "transformers"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["flax",... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/import_utils.py | src/diffusers/utils/import_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 | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/outputs.py | src/diffusers/utils/outputs.py | # Copyright 2025 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/utils/dummy_torchao_objects.py | src/diffusers/utils/dummy_torchao_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class TorchAoConfig(metaclass=DummyObject):
_backends = ["torchao"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["torchao"])
@classmethod
def from_c... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/guiders/classifier_free_guidance.py | src/diffusers/guiders/classifier_free_guidance.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/guiders/skip_layer_guidance.py | src/diffusers/guiders/skip_layer_guidance.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/guiders/magnitude_aware_guidance.py | src/diffusers/guiders/magnitude_aware_guidance.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/guiders/smoothed_energy_guidance.py | src/diffusers/guiders/smoothed_energy_guidance.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/guiders/adaptive_projected_guidance.py | src/diffusers/guiders/adaptive_projected_guidance.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/guiders/frequency_decoupled_guidance.py | src/diffusers/guiders/frequency_decoupled_guidance.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/guiders/auto_guidance.py | src/diffusers/guiders/auto_guidance.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/guiders/perturbed_attention_guidance.py | src/diffusers/guiders/perturbed_attention_guidance.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/guiders/guider_utils.py | src/diffusers/guiders/guider_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/guiders/__init__.py | src/diffusers/guiders/__init__.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/guiders/classifier_free_zero_star_guidance.py | src/diffusers/guiders/classifier_free_zero_star_guidance.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/guiders/tangential_classifier_free_guidance.py | src/diffusers/guiders/tangential_classifier_free_guidance.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/guiders/adaptive_projected_guidance_mix.py | src/diffusers/guiders/adaptive_projected_guidance_mix.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/experimental/__init__.py | src/diffusers/experimental/__init__.py | from .rl import ValueGuidedRLPipeline
| python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/experimental/rl/value_guided_sampling.py | src/diffusers/experimental/rl/value_guided_sampling.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/experimental/rl/__init__.py | src/diffusers/experimental/rl/__init__.py | from .value_guided_sampling import ValueGuidedRLPipeline
| python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/loaders/unet.py | src/diffusers/loaders/unet.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/loaders/single_file_model.py | src/diffusers/loaders/single_file_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/loaders/ip_adapter.py | src/diffusers/loaders/ip_adapter.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/loaders/lora_pipeline.py | src/diffusers/loaders/lora_pipeline.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/loaders/lora_conversion_utils.py | src/diffusers/loaders/lora_conversion_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 | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/loaders/single_file.py | src/diffusers/loaders/single_file.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/loaders/utils.py | src/diffusers/loaders/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/loaders/single_file_utils.py | src/diffusers/loaders/single_file_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/loaders/__init__.py | src/diffusers/loaders/__init__.py | from typing import TYPE_CHECKING
from ..utils import DIFFUSERS_SLOW_IMPORT, _LazyModule, deprecate
from ..utils.import_utils import is_peft_available, is_torch_available, is_transformers_available
def text_encoder_lora_state_dict(text_encoder):
deprecate(
"text_encoder_load_state_dict in `models`",
... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/loaders/peft.py | src/diffusers/loaders/peft.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/loaders/textual_inversion.py | src/diffusers/loaders/textual_inversion.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/loaders/lora_base.py | src/diffusers/loaders/lora_base.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/loaders/unet_loader_utils.py | src/diffusers/loaders/unet_loader_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/loaders/transformer_sd3.py | src/diffusers/loaders/transformer_sd3.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/loaders/transformer_flux.py | src/diffusers/loaders/transformer_flux.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/schedulers/scheduling_euler_discrete_flax.py | src/diffusers/schedulers/scheduling_euler_discrete_flax.py | # Copyright 2025 Katherine Crowson 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/schedulers/scheduling_utils_flax.py | src/diffusers/schedulers/scheduling_utils_flax.py | # Copyright 2025 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_lms_discrete_flax.py | src/diffusers/schedulers/scheduling_lms_discrete_flax.py | # Copyright 2025 Katherine Crowson 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/schedulers/scheduling_dpmsolver_multistep_inverse.py | src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py | # Copyright 2025 TSAIL 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 requir... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_unipc_multistep.py | src/diffusers/schedulers/scheduling_unipc_multistep.py | # Copyright 2025 TSAIL 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 requir... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_sasolver.py | src/diffusers/schedulers/scheduling_sasolver.py | # Copyright 2025 Shuchen Xue, etc. in University of Chinese Academy of Sciences 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
#
# htt... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_lcm.py | src/diffusers/schedulers/scheduling_lcm.py | # Copyright 2025 Stanford University 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 | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_consistency_decoder.py | src/diffusers/schedulers/scheduling_consistency_decoder.py | import math
from dataclasses import dataclass
from typing import Literal, Optional, Tuple, Union
import torch
from ..configuration_utils import ConfigMixin, register_to_config
from ..utils import BaseOutput
from ..utils.torch_utils import randn_tensor
from .scheduling_utils import SchedulerMixin
# Copied from diffu... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_ddpm_flax.py | src/diffusers/schedulers/scheduling_ddpm_flax.py | # Copyright 2025 UC Berkeley 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/schedulers/scheduling_repaint.py | src/diffusers/schedulers/scheduling_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/schedulers/scheduling_euler_ancestral_discrete.py | src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py | # Copyright 2025 Katherine Crowson 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/schedulers/scheduling_dpmsolver_singlestep.py | src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py | # Copyright 2025 TSAIL 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 requir... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_flow_match_heun_discrete.py | src/diffusers/schedulers/scheduling_flow_match_heun_discrete.py | # Copyright 2025 Stability AI, Katherine Crowson 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-... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_ddim_parallel.py | src/diffusers/schedulers/scheduling_ddim_parallel.py | # Copyright 2025 ParaDiGMS 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/schedulers/scheduling_karras_ve_flax.py | src/diffusers/schedulers/scheduling_karras_ve_flax.py | # Copyright 2025 NVIDIA and The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_tcd.py | src/diffusers/schedulers/scheduling_tcd.py | # Copyright 2025 Stanford University 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 | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_dpmsolver_multistep.py | src/diffusers/schedulers/scheduling_dpmsolver_multistep.py | # Copyright 2025 TSAIL 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 requir... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_cosine_dpmsolver_multistep.py | src/diffusers/schedulers/scheduling_cosine_dpmsolver_multistep.py | # Copyright 2025 TSAIL 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 requir... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_flow_match_euler_discrete.py | src/diffusers/schedulers/scheduling_flow_match_euler_discrete.py | # Copyright 2025 Stability AI, Katherine Crowson 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-... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_k_dpm_2_ancestral_discrete.py | src/diffusers/schedulers/scheduling_k_dpm_2_ancestral_discrete.py | # Copyright 2025 Katherine Crowson, The HuggingFace Team and hlky. 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/schedulers/scheduling_sde_ve_flax.py | src/diffusers/schedulers/scheduling_sde_ve_flax.py | # Copyright 2025 Google Brain and The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_euler_discrete.py | src/diffusers/schedulers/scheduling_euler_discrete.py | # Copyright 2025 Katherine Crowson 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/schedulers/scheduling_lms_discrete.py | src/diffusers/schedulers/scheduling_lms_discrete.py | # Copyright 2025 Katherine Crowson 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/schedulers/scheduling_ddpm_wuerstchen.py | src/diffusers/schedulers/scheduling_ddpm_wuerstchen.py | # Copyright (c) 2022 Pablo Pernías MIT License
# Copyright 2025 UC Berkeley 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://... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_ddim_inverse.py | src/diffusers/schedulers/scheduling_ddim_inverse.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/schedulers/scheduling_vq_diffusion.py | src/diffusers/schedulers/scheduling_vq_diffusion.py | # Copyright 2025 Microsoft 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 require... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_dpmsolver_sde.py | src/diffusers/schedulers/scheduling_dpmsolver_sde.py | # Copyright 2025 Katherine Crowson, The HuggingFace Team and hlky. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# ... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_consistency_models.py | src/diffusers/schedulers/scheduling_consistency_models.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/schedulers/scheduling_dpmsolver_multistep_flax.py | src/diffusers/schedulers/scheduling_dpmsolver_multistep_flax.py | # Copyright 2025 TSAIL 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 requir... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/__init__.py | src/diffusers/schedulers/__init__.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/schedulers/scheduling_ipndm.py | src/diffusers/schedulers/scheduling_ipndm.py | # Copyright 2025 Zhejiang University 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/schedulers/scheduling_ddim_flax.py | src/diffusers/schedulers/scheduling_ddim_flax.py | # Copyright 2025 Stanford University 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/schedulers/scheduling_amused.py | src/diffusers/schedulers/scheduling_amused.py | import math
from dataclasses import dataclass
from typing import List, Literal, Optional, Tuple, Union
import torch
from ..configuration_utils import ConfigMixin, register_to_config
from ..utils import BaseOutput
from .scheduling_utils import SchedulerMixin
def gumbel_noise(t: torch.Tensor, generator: Optional[torc... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_ddim.py | src/diffusers/schedulers/scheduling_ddim.py | # Copyright 2025 Stanford University 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/schedulers/scheduling_ddpm_parallel.py | src/diffusers/schedulers/scheduling_ddpm_parallel.py | # Copyright 2025 ParaDiGMS 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/schedulers/scheduling_heun_discrete.py | src/diffusers/schedulers/scheduling_heun_discrete.py | # Copyright 2025 Katherine Crowson, The HuggingFace Team and hlky. 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/schedulers/scheduling_utils.py | src/diffusers/schedulers/scheduling_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/schedulers/scheduling_scm.py | src/diffusers/schedulers/scheduling_scm.py | # # Copyright 2025 Sana-Sprint Authors and The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Un... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_pndm_flax.py | src/diffusers/schedulers/scheduling_pndm_flax.py | # Copyright 2025 Zhejiang University 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/schedulers/scheduling_dpm_cogvideox.py | src/diffusers/schedulers/scheduling_dpm_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 | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_ddpm.py | src/diffusers/schedulers/scheduling_ddpm.py | # Copyright 2025 UC Berkeley 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/schedulers/scheduling_flow_match_lcm.py | src/diffusers/schedulers/scheduling_flow_match_lcm.py | # Copyright 2025 Stability AI, Katherine Crowson 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-... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py | src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py | # Copyright 2025 Katherine Crowson, The HuggingFace Team and hlky. 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/schedulers/scheduling_ddim_cogvideox.py | src/diffusers/schedulers/scheduling_ddim_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 | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_sde_ve.py | src/diffusers/schedulers/scheduling_sde_ve.py | # Copyright 2025 Google Brain and The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_deis_multistep.py | src/diffusers/schedulers/scheduling_deis_multistep.py | # Copyright 2025 FLAIR 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.0
#
# Unless require... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_edm_dpmsolver_multistep.py | src/diffusers/schedulers/scheduling_edm_dpmsolver_multistep.py | # Copyright 2025 TSAIL 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 requir... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/src/diffusers/schedulers/scheduling_pndm.py | src/diffusers/schedulers/scheduling_pndm.py | # Copyright 2025 Zhejiang University 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/schedulers/scheduling_edm_euler.py | src/diffusers/schedulers/scheduling_edm_euler.py | # Copyright 2025 Katherine Crowson 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.