Upload black-forest-labs_FLUX.2-klein-9B_1.txt with huggingface_hub
Browse files
black-forest-labs_FLUX.2-klein-9B_1.txt
CHANGED
|
@@ -14,19 +14,20 @@ image = pipe(image=input_image, prompt=prompt).images[0]
|
|
| 14 |
|
| 15 |
ERROR:
|
| 16 |
Traceback (most recent call last):
|
| 17 |
-
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line
|
| 18 |
response.raise_for_status()
|
| 19 |
~~~~~~~~~~~~~~~~~~~~~~~~~^^
|
| 20 |
-
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/
|
| 21 |
-
raise
|
| 22 |
-
|
|
|
|
| 23 |
|
| 24 |
The above exception was the direct cause of the following exception:
|
| 25 |
|
| 26 |
Traceback (most recent call last):
|
| 27 |
-
File "/tmp/black-forest-labs_FLUX.2-klein-
|
| 28 |
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-9B", dtype=torch.bfloat16, device_map="cuda")
|
| 29 |
-
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line
|
| 30 |
return fn(*args, **kwargs)
|
| 31 |
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 829, in from_pretrained
|
| 32 |
cached_folder = cls.download(
|
|
@@ -34,7 +35,7 @@ Traceback (most recent call last):
|
|
| 34 |
...<14 lines>...
|
| 35 |
**kwargs,
|
| 36 |
)
|
| 37 |
-
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line
|
| 38 |
return fn(*args, **kwargs)
|
| 39 |
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1605, in download
|
| 40 |
config_file = hf_hub_download(
|
|
@@ -42,43 +43,37 @@ Traceback (most recent call last):
|
|
| 42 |
...<5 lines>...
|
| 43 |
token=token,
|
| 44 |
)
|
| 45 |
-
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line
|
| 46 |
return fn(*args, **kwargs)
|
| 47 |
-
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/file_download.py", line
|
| 48 |
return _hf_hub_download_to_cache_dir(
|
| 49 |
# Destination
|
| 50 |
-
...<
|
| 51 |
-
|
| 52 |
)
|
| 53 |
-
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/file_download.py", line
|
| 54 |
_raise_on_head_call_error(head_call_error, force_download, local_files_only)
|
| 55 |
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 56 |
-
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/file_download.py", line
|
| 57 |
raise head_call_error
|
| 58 |
-
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/file_download.py", line
|
| 59 |
metadata = get_hf_file_metadata(
|
| 60 |
-
url=url,
|
|
|
|
|
|
|
| 61 |
)
|
| 62 |
-
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line
|
| 63 |
return fn(*args, **kwargs)
|
| 64 |
-
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/file_download.py", line
|
| 65 |
-
|
| 66 |
-
method="HEAD",
|
| 67 |
-
...<5 lines>...
|
| 68 |
-
timeout=timeout,
|
| 69 |
-
)
|
| 70 |
-
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 283, in _request_wrapper
|
| 71 |
-
response = _request_wrapper(
|
| 72 |
-
method=method,
|
| 73 |
-
...<2 lines>...
|
| 74 |
-
**params,
|
| 75 |
)
|
| 76 |
-
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/file_download.py", line
|
| 77 |
hf_raise_for_status(response)
|
| 78 |
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
|
| 79 |
-
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line
|
| 80 |
raise _format(GatedRepoError, message, response) from e
|
| 81 |
-
huggingface_hub.errors.GatedRepoError: 403 Client Error. (Request ID: Root=1-
|
| 82 |
|
| 83 |
Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.2-klein-9B/resolve/main/model_index.json.
|
| 84 |
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.
|
|
|
|
| 14 |
|
| 15 |
ERROR:
|
| 16 |
Traceback (most recent call last):
|
| 17 |
+
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 657, in hf_raise_for_status
|
| 18 |
response.raise_for_status()
|
| 19 |
~~~~~~~~~~~~~~~~~~~~~~~~~^^
|
| 20 |
+
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status
|
| 21 |
+
raise HTTPStatusError(message, request=request, response=self)
|
| 22 |
+
httpx.HTTPStatusError: Client error '403 Forbidden' for url 'https://huggingface.co/black-forest-labs/FLUX.2-klein-9B/resolve/main/model_index.json'
|
| 23 |
+
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
|
| 24 |
|
| 25 |
The above exception was the direct cause of the following exception:
|
| 26 |
|
| 27 |
Traceback (most recent call last):
|
| 28 |
+
File "/tmp/black-forest-labs_FLUX.2-klein-9B_1JecaVN.py", line 28, in <module>
|
| 29 |
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-9B", dtype=torch.bfloat16, device_map="cuda")
|
| 30 |
+
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
|
| 31 |
return fn(*args, **kwargs)
|
| 32 |
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 829, in from_pretrained
|
| 33 |
cached_folder = cls.download(
|
|
|
|
| 35 |
...<14 lines>...
|
| 36 |
**kwargs,
|
| 37 |
)
|
| 38 |
+
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
|
| 39 |
return fn(*args, **kwargs)
|
| 40 |
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1605, in download
|
| 41 |
config_file = hf_hub_download(
|
|
|
|
| 43 |
...<5 lines>...
|
| 44 |
token=token,
|
| 45 |
)
|
| 46 |
+
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
|
| 47 |
return fn(*args, **kwargs)
|
| 48 |
+
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1024, in hf_hub_download
|
| 49 |
return _hf_hub_download_to_cache_dir(
|
| 50 |
# Destination
|
| 51 |
+
...<15 lines>...
|
| 52 |
+
dry_run=dry_run,
|
| 53 |
)
|
| 54 |
+
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1175, in _hf_hub_download_to_cache_dir
|
| 55 |
_raise_on_head_call_error(head_call_error, force_download, local_files_only)
|
| 56 |
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 57 |
+
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1804, in _raise_on_head_call_error
|
| 58 |
raise head_call_error
|
| 59 |
+
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1691, in _get_metadata_or_catch_error
|
| 60 |
metadata = get_hf_file_metadata(
|
| 61 |
+
url=url,
|
| 62 |
+
...<4 lines>...
|
| 63 |
+
retry_on_errors=retry_on_errors,
|
| 64 |
)
|
| 65 |
+
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
|
| 66 |
return fn(*args, **kwargs)
|
| 67 |
+
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1614, in get_hf_file_metadata
|
| 68 |
+
response = _httpx_follow_relative_redirects(
|
| 69 |
+
method="HEAD", url=url, headers=hf_headers, timeout=timeout, retry_on_errors=retry_on_errors
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
)
|
| 71 |
+
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 309, in _httpx_follow_relative_redirects
|
| 72 |
hf_raise_for_status(response)
|
| 73 |
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
|
| 74 |
+
File "/tmp/.cache/uv/environments-v2/c056ef216bacca27/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 677, in hf_raise_for_status
|
| 75 |
raise _format(GatedRepoError, message, response) from e
|
| 76 |
+
huggingface_hub.errors.GatedRepoError: 403 Client Error. (Request ID: Root=1-697866ba-5d969db92b7171b257985740;f5d7bb7c-dc85-4975-bd0a-9058d0338df7)
|
| 77 |
|
| 78 |
Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.2-klein-9B/resolve/main/model_index.json.
|
| 79 |
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.
|