Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr_tests_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:
permissions:
contents: read
id-token: write
name: Torch CUDA Tests
name: Torch CUDA Tests (${{ matrix.module }}, ${{ matrix.name }})
needs: [check_code_quality, check_repository_consistency]
runs-on:
group: aws-g4dn-2xlarge
Expand Down
3 changes: 3 additions & 0 deletions tests/models/transformers/test_models_transformer_flux3.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import pytest
import torch
from huggingface_hub import get_token

from diffusers import Flux3Transformer2DModel
from diffusers.utils.torch_utils import randn_tensor
Expand Down Expand Up @@ -177,6 +178,8 @@ class Flux3TransformerBFLTesterConfig(Flux3TransformerTesterConfig):

@property
def bfl_checkpoints(self):
if get_token() is None:
pytest.skip("FLUX.3 quantized checkpoint headers require a Hugging Face token")
return {
"fp8r": "https://huggingface.co/black-forest-labs/flux-3-image-klein-base/blob/main/variants/fp8r/model.safetensors",
"nvfp4": "https://huggingface.co/black-forest-labs/flux-3-image-klein-base/blob/main/variants/nvfp4/model.safetensors",
Expand Down