Upload black-forest-labs_FLUX.2-klein-9B_1.txt with huggingface_hub
Browse files24 unmodified lines252627282829303132323334351 unmodified line373839404041424329 unmodified lines737475767677787924 unmodified linesThe above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/tmp/black-forest-labs_FLUX.2-klein-9B_1yeWdvO.py", line 28, in <module> File "/tmp/black-forest-labs_FLUX.2-klein-9B_197UQM1.py", line 28, in <module> pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-9B", dtype=torch.bfloat16, device_map="cuda") File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 829, in from_pretrained File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 853, in from_pretrained cached_folder = cls.download( pretrained_model_name_or_path, ...<14 lines>...1 unmodified line ) File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1605, in download File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1636, in download config_file = hf_hub_download( pretrained_model_name, ...<5 lines>...29 unmodified lines ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 740, in hf_raise_for_status raise _format(GatedRepoError, message, response) from ehuggingface_hub.errors.GatedRepoError: 403 Client Error. (Request ID: Root=1-69a93027-7f6eac776a0d4b90667f008a;7cef3ebe-27ae-4671-9316-dd54541927c4)huggingface_hub.errors.GatedRepoError: 403 Client Error. (Request ID: Root=1-69aa8132-0c2105702dfb39143f726bf3;c35bc6e4-5677-4287-87e3-92da22c2550a)
Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.2-klein-9B/resolve/main/model_index.json.Access to model black-forest-labs/FLUX.2-klein-9B is restricted and you are not in the authorized list. Visit https://huggingface.co/black-forest-labs/FLUX.2-klein-9B to ask for access.black-forest-labs_FLUX.2-klein-9B_1.txt+4-4