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/tests/models/transformers/test_models_transformer_allegro.py | tests/models/transformers/test_models_transformer_allegro.py | # Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/transformers/__init__.py | tests/models/transformers/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/transformers/test_models_transformer_hunyuan_video_framepack.py | tests/models/transformers/test_models_transformer_hunyuan_video_framepack.py | # Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/transformers/test_models_transformer_skyreels_v2.py | tests/models/transformers/test_models_transformer_skyreels_v2.py | # Copyright 2024 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/transformers/test_models_prior.py | tests/models/transformers/test_models_prior.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/transformers/test_models_transformer_qwenimage.py | tests/models/transformers/test_models_transformer_qwenimage.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/transformers/test_models_transformer_omnigen.py | tests/models/transformers/test_models_transformer_omnigen.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/transformers/test_models_transformer_sana.py | tests/models/transformers/test_models_transformer_sana.py | # Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/transformers/test_models_transformer_flux.py | tests/models/transformers/test_models_transformer_flux.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/transformers/test_models_dit_transformer2d.py | tests/models/transformers/test_models_dit_transformer2d.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/transformers/test_models_transformer_bria.py | tests/models/transformers/test_models_transformer_bria.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/transformers/test_models_transformer_mochi.py | tests/models/transformers/test_models_transformer_mochi.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/test_models_asymmetric_autoencoder_kl.py | tests/models/autoencoders/test_models_asymmetric_autoencoder_kl.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/test_models_autoencoder_kl_temporal_decoder.py | tests/models/autoencoders/test_models_autoencoder_kl_temporal_decoder.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/test_models_autoencoder_cosmos.py | tests/models/autoencoders/test_models_autoencoder_cosmos.py | # Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/vae.py | tests/models/autoencoders/vae.py | def get_autoencoder_kl_config(block_out_channels=None, norm_num_groups=None):
block_out_channels = block_out_channels or [2, 4]
norm_num_groups = norm_num_groups or 2
init_dict = {
"block_out_channels": block_out_channels,
"in_channels": 3,
"out_channels": 3,
"down_block_type... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/test_models_autoencoder_magvit.py | tests/models/autoencoders/test_models_autoencoder_magvit.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/test_models_autoencoder_mochi.py | tests/models/autoencoders/test_models_autoencoder_mochi.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/test_models_autoencoder_dc.py | tests/models/autoencoders/test_models_autoencoder_dc.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/test_models_autoencoder_wan.py | tests/models/autoencoders/test_models_autoencoder_wan.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/test_models_consistency_decoder_vae.py | tests/models/autoencoders/test_models_consistency_decoder_vae.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/test_models_vq.py | tests/models/autoencoders/test_models_vq.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/test_models_autoencoder_ltx_video.py | tests/models/autoencoders/test_models_autoencoder_ltx_video.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/test_models_autoencoder_tiny.py | tests/models/autoencoders/test_models_autoencoder_tiny.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/test_models_autoencoder_hunyuan_video.py | tests/models/autoencoders/test_models_autoencoder_hunyuan_video.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/testing_utils.py | tests/models/autoencoders/testing_utils.py | import inspect
import numpy as np
import pytest
import torch
from diffusers.models.autoencoders.vae import DecoderOutput
from diffusers.utils.torch_utils import torch_device
class AutoencoderTesterMixin:
"""
Test mixin class specific to VAEs to test for slicing and tiling. Diffusion networks
usually don... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/__init__.py | tests/models/autoencoders/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/test_models_autoencoder_kl.py | tests/models/autoencoders/test_models_autoencoder_kl.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/test_models_autoencoder_kl_cogvideox.py | tests/models/autoencoders/test_models_autoencoder_kl_cogvideox.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/models/autoencoders/test_models_autoencoder_oobleck.py | tests/models/autoencoders/test_models_autoencoder_oobleck.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/test_pipelines_combined.py | tests/pipelines/test_pipelines_combined.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/test_pipelines_onnx_common.py | tests/pipelines/test_pipelines_onnx_common.py | from ..testing_utils import require_onnxruntime
@require_onnxruntime
class OnnxPipelineTesterMixin:
"""
This mixin is designed to be used with unittest.TestCase classes.
It provides a set of common tests for each ONNXRuntime pipeline, e.g. saving and loading the pipeline,
equivalence of dict and tuple... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/test_pipelines.py | tests/pipelines/test_pipelines.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/test_pipelines_auto.py | tests/pipelines/test_pipelines_auto.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/pipeline_params.py | tests/pipelines/pipeline_params.py | # These are canonical sets of parameters for different types of pipelines.
# They are set on subclasses of `PipelineTesterMixin` as `params` and
# `batch_params`.
#
# If a pipeline's set of arguments has minor changes from one of the common sets
# of arguments, do not make modifications to the existing common sets of a... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/test_pipeline_utils.py | tests/pipelines/test_pipeline_utils.py | import contextlib
import io
import re
import unittest
import torch
from PIL import Image
from transformers import CLIPTextConfig, CLIPTextModel, CLIPTokenizer
from diffusers import (
AnimateDiffPipeline,
AnimateDiffVideoToVideoPipeline,
AutoencoderKL,
DDIMScheduler,
MotionAdapter,
StableDiffus... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/__init__.py | tests/pipelines/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/test_pipelines_common.py | tests/pipelines/test_pipelines_common.py | import gc
import inspect
import json
import os
import tempfile
import unittest
import uuid
from typing import Any, Callable, Dict, Union
import numpy as np
import PIL.Image
import pytest
import torch
import torch.nn as nn
from huggingface_hub import ModelCard, delete_repo
from huggingface_hub.utils import is_jinja_ava... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | true |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/stable_unclip/test_stable_unclip.py | tests/pipelines/stable_unclip/test_stable_unclip.py | import gc
import unittest
import torch
from transformers import CLIPTextConfig, CLIPTextModel, CLIPTextModelWithProjection, CLIPTokenizer
from diffusers import (
AutoencoderKL,
DDIMScheduler,
DDPMScheduler,
PriorTransformer,
StableUnCLIPPipeline,
UNet2DConditionModel,
)
from diffusers.pipeline... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/stable_unclip/test_stable_unclip_img2img.py | tests/pipelines/stable_unclip/test_stable_unclip_img2img.py | import gc
import random
import unittest
import numpy as np
import torch
from transformers import (
CLIPImageProcessor,
CLIPTextConfig,
CLIPTextModel,
CLIPTokenizer,
CLIPVisionConfig,
CLIPVisionModelWithProjection,
)
from diffusers import AutoencoderKL, DDIMScheduler, DDPMScheduler, StableUnCLI... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/stable_unclip/__init__.py | tests/pipelines/stable_unclip/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/pixart_sigma/test_pixart.py | tests/pipelines/pixart_sigma/test_pixart.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/pixart_sigma/__init__.py | tests/pipelines/pixart_sigma/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/chronoedit/test_chronoedit.py | tests/pipelines/chronoedit/test_chronoedit.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/chronoedit/__init__.py | tests/pipelines/chronoedit/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/aura_flow/__init__.py | tests/pipelines/aura_flow/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/aura_flow/test_pipeline_aura_flow.py | tests/pipelines/aura_flow/test_pipeline_aura_flow.py | import unittest
import numpy as np
import torch
from transformers import AutoTokenizer, UMT5EncoderModel
from diffusers import AuraFlowPipeline, AuraFlowTransformer2DModel, AutoencoderKL, FlowMatchEulerDiscreteScheduler
from ..test_pipelines_common import (
PipelineTesterMixin,
check_qkv_fusion_matches_attn_... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/longcat_image/__init__.py | tests/pipelines/longcat_image/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/hunyuan_image_21/__init__.py | tests/pipelines/hunyuan_image_21/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/hunyuan_image_21/test_hunyuanimage.py | tests/pipelines/hunyuan_image_21/test_hunyuanimage.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/cosmos/test_cosmos.py | tests/pipelines/cosmos/test_cosmos.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/cosmos/cosmos_guardrail.py | tests/pipelines/cosmos/cosmos_guardrail.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/cosmos/test_cosmos2_video2world.py | tests/pipelines/cosmos/test_cosmos2_video2world.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/cosmos/__init__.py | tests/pipelines/cosmos/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/cosmos/test_cosmos2_5_predict.py | tests/pipelines/cosmos/test_cosmos2_5_predict.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/cosmos/test_cosmos_video2world.py | tests/pipelines/cosmos/test_cosmos_video2world.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/cosmos/test_cosmos2_text2image.py | tests/pipelines/cosmos/test_cosmos2_text2image.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/lumina/test_lumina_nextdit.py | tests/pipelines/lumina/test_lumina_nextdit.py | import gc
import unittest
import numpy as np
import torch
from transformers import AutoTokenizer, GemmaConfig, GemmaForCausalLM
from diffusers import (
AutoencoderKL,
FlowMatchEulerDiscreteScheduler,
LuminaNextDiT2DModel,
LuminaPipeline,
)
from ...testing_utils import (
backend_empty_cache,
n... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/lumina/__init__.py | tests/pipelines/lumina/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/stable_cascade/test_stable_cascade_combined.py | tests/pipelines/stable_cascade/test_stable_cascade_combined.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/stable_cascade/__init__.py | tests/pipelines/stable_cascade/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/stable_cascade/test_stable_cascade_prior.py | tests/pipelines/stable_cascade/test_stable_cascade_prior.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/stable_cascade/test_stable_cascade_decoder.py | tests/pipelines/stable_cascade/test_stable_cascade_decoder.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/sana_video/test_sana_video_i2v.py | tests/pipelines/sana_video/test_sana_video_i2v.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/sana_video/__init__.py | tests/pipelines/sana_video/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/sana_video/test_sana_video.py | tests/pipelines/sana_video/test_sana_video.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/qwenimage/test_qwenimage_edit.py | tests/pipelines/qwenimage/test_qwenimage_edit.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/qwenimage/test_qwenimage_edit_plus.py | tests/pipelines/qwenimage/test_qwenimage_edit_plus.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/qwenimage/test_qwenimage_inpaint.py | tests/pipelines/qwenimage/test_qwenimage_inpaint.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/qwenimage/__init__.py | tests/pipelines/qwenimage/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/qwenimage/test_qwenimage_img2img.py | tests/pipelines/qwenimage/test_qwenimage_img2img.py | import random
import unittest
import numpy as np
import torch
from transformers import Qwen2_5_VLConfig, Qwen2_5_VLForConditionalGeneration, Qwen2Tokenizer
from diffusers import (
AutoencoderKLQwenImage,
FlowMatchEulerDiscreteScheduler,
QwenImageImg2ImgPipeline,
QwenImageTransformer2DModel,
)
from ..... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/qwenimage/test_qwenimage_controlnet.py | tests/pipelines/qwenimage/test_qwenimage_controlnet.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/qwenimage/test_qwenimage.py | tests/pipelines/qwenimage/test_qwenimage.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/ddim/test_ddim.py | tests/pipelines/ddim/test_ddim.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/ddim/__init__.py | tests/pipelines/ddim/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/kolors/test_kolors.py | tests/pipelines/kolors/test_kolors.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/kolors/test_kolors_img2img.py | tests/pipelines/kolors/test_kolors_img2img.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/kolors/__init__.py | tests/pipelines/kolors/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/stable_diffusion_adapter/__init__.py | tests/pipelines/stable_diffusion_adapter/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py | tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py | # coding=utf-8
# Copyright 2022 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/stable_audio/__init__.py | tests/pipelines/stable_audio/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/stable_audio/test_stable_audio.py | tests/pipelines/stable_audio/test_stable_audio.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/allegro/__init__.py | tests/pipelines/allegro/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/allegro/test_allegro.py | tests/pipelines/allegro/test_allegro.py | # Copyright 2025 The HuggingFace 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 law or agreed to in... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/stable_diffusion_3/test_pipeline_stable_diffusion_3.py | tests/pipelines/stable_diffusion_3/test_pipeline_stable_diffusion_3.py | import gc
import unittest
import numpy as np
import torch
from transformers import AutoTokenizer, CLIPTextConfig, CLIPTextModelWithProjection, CLIPTokenizer, T5EncoderModel
from diffusers import AutoencoderKL, FlowMatchEulerDiscreteScheduler, SD3Transformer2DModel, StableDiffusion3Pipeline
from ...testing_utils impo... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/stable_diffusion_3/test_pipeline_stable_diffusion_3_img2img.py | tests/pipelines/stable_diffusion_3/test_pipeline_stable_diffusion_3_img2img.py | import gc
import random
import unittest
import numpy as np
import torch
from transformers import AutoTokenizer, CLIPTextConfig, CLIPTextModelWithProjection, CLIPTokenizer, T5EncoderModel
from diffusers import (
AutoencoderKL,
FlowMatchEulerDiscreteScheduler,
SD3Transformer2DModel,
StableDiffusion3Img2... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/stable_diffusion_3/test_pipeline_stable_diffusion_3_inpaint.py | tests/pipelines/stable_diffusion_3/test_pipeline_stable_diffusion_3_inpaint.py | import random
import unittest
import numpy as np
import torch
from transformers import AutoTokenizer, CLIPTextConfig, CLIPTextModelWithProjection, CLIPTokenizer, T5EncoderModel
from diffusers import (
AutoencoderKL,
FlowMatchEulerDiscreteScheduler,
SD3Transformer2DModel,
StableDiffusion3InpaintPipelin... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/stable_diffusion_3/__init__.py | tests/pipelines/stable_diffusion_3/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/kandinsky/test_kandinsky_img2img.py | tests/pipelines/kandinsky/test_kandinsky_img2img.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/kandinsky/test_kandinsky_inpaint.py | tests/pipelines/kandinsky/test_kandinsky_inpaint.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/kandinsky/test_kandinsky.py | tests/pipelines/kandinsky/test_kandinsky.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/kandinsky/__init__.py | tests/pipelines/kandinsky/__init__.py | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false | |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/kandinsky/test_kandinsky_combined.py | tests/pipelines/kandinsky/test_kandinsky_combined.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/kandinsky/test_kandinsky_prior.py | tests/pipelines/kandinsky/test_kandinsky_prior.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/kandinsky2_2/test_kandinsky_prior_emb2emb.py | tests/pipelines/kandinsky2_2/test_kandinsky_prior_emb2emb.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/kandinsky2_2/test_kandinsky_controlnet_img2img.py | tests/pipelines/kandinsky2_2/test_kandinsky_controlnet_img2img.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/kandinsky2_2/test_kandinsky_img2img.py | tests/pipelines/kandinsky2_2/test_kandinsky_img2img.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/kandinsky2_2/test_kandinsky_controlnet.py | tests/pipelines/kandinsky2_2/test_kandinsky_controlnet.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/kandinsky2_2/test_kandinsky_inpaint.py | tests/pipelines/kandinsky2_2/test_kandinsky_inpaint.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
huggingface/diffusers | https://github.com/huggingface/diffusers/blob/47378066c002573613a1dba686570fbd5a1cf48a/tests/pipelines/kandinsky2_2/test_kandinsky.py | tests/pipelines/kandinsky2_2/test_kandinsky.py | # coding=utf-8
# Copyright 2025 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | python | Apache-2.0 | 47378066c002573613a1dba686570fbd5a1cf48a | 2026-01-04T14:42:56.953111Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.