-
Notifications
You must be signed in to change notification settings - Fork 522
Description
HTTPError Traceback (most recent call last)
/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_http.py in hf_raise_for_status(response, endpoint_name)
408 try:
--> 409 response.raise_for_status()
410 except HTTPError as e:
14 frames
/usr/local/lib/python3.12/dist-packages/requests/models.py in raise_for_status(self)
1025 if http_error_msg:
-> 1026 raise HTTPError(http_error_msg, response=self)
1027
HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/Skywork/SkyReels-V2-DF-14B-720P/resolve/main/model_index.json
The above exception was the direct cause of the following exception:
EntryNotFoundError Traceback (most recent call last)
/tmp/ipython-input-2061873643.py in <cell line: 0>()
1 from diffusers import DiffusionPipeline
2
----> 3 pipe = DiffusionPipeline.from_pretrained("Skywork/SkyReels-V2-DF-14B-720P")
4
5 prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_validators.py in _inner_fn(*args, **kwargs)
112 kwargs = smoothly_deprecate_use_auth_token(fn_name=fn.name, has_token=has_token, kwargs=kwargs)
113
--> 114 return fn(*args, **kwargs)
115
116 return _inner_fn # type: ignore
/usr/local/lib/python3.12/dist-packages/diffusers/pipelines/pipeline_utils.py in from_pretrained(cls, pretrained_model_name_or_path, **kwargs)
831 " is neither a valid local path nor a valid repo id. Please check the parameter."
832 )
--> 833 cached_folder = cls.download(
834 pretrained_model_name_or_path,
835 cache_dir=cache_dir,
/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_validators.py in _inner_fn(*args, **kwargs)
112 kwargs = smoothly_deprecate_use_auth_token(fn_name=fn.name, has_token=has_token, kwargs=kwargs)
113
--> 114 return fn(*args, **kwargs)
115
116 return _inner_fn # type: ignore
/usr/local/lib/python3.12/dist-packages/diffusers/pipelines/pipeline_utils.py in download(cls, pretrained_model_name, **kwargs)
1488
1489 if not local_files_only:
-> 1490 config_file = hf_hub_download(
1491 pretrained_model_name,
1492 cls.config_name,
/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_validators.py in _inner_fn(*args, **kwargs)
112 kwargs = smoothly_deprecate_use_auth_token(fn_name=fn.name, has_token=has_token, kwargs=kwargs)
113
--> 114 return fn(*args, **kwargs)
115
116 return _inner_fn # type: ignore
/usr/local/lib/python3.12/dist-packages/huggingface_hub/file_download.py in hf_hub_download(repo_id, filename, subfolder, repo_type, revision, library_name, library_version, cache_dir, local_dir, user_agent, force_download, proxies, etag_timeout, token, local_files_only, headers, endpoint, resume_download, force_filename, local_dir_use_symlinks)
1008 )
1009 else:
-> 1010 return _hf_hub_download_to_cache_dir(
1011 # Destination
1012 cache_dir=cache_dir,
/usr/local/lib/python3.12/dist-packages/huggingface_hub/file_download.py in _hf_hub_download_to_cache_dir(cache_dir, repo_id, filename, repo_type, revision, endpoint, etag_timeout, headers, proxies, token, local_files_only, force_download)
1071 # Try to get metadata (etag, commit_hash, url, size) from the server.
1072 # If we can't, a HEAD request error is returned.
-> 1073 (url_to_download, etag, commit_hash, expected_size, xet_file_data, head_call_error) = _get_metadata_or_catch_error(
1074 repo_id=repo_id,
1075 filename=filename,
/usr/local/lib/python3.12/dist-packages/huggingface_hub/file_download.py in _get_metadata_or_catch_error(repo_id, filename, repo_type, revision, endpoint, proxies, etag_timeout, headers, token, local_files_only, relative_filename, storage_folder)
1544 try:
1545 try:
-> 1546 metadata = get_hf_file_metadata(
1547 url=url, proxies=proxies, timeout=etag_timeout, headers=headers, token=token, endpoint=endpoint
1548 )
/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_validators.py in _inner_fn(*args, **kwargs)
112 kwargs = smoothly_deprecate_use_auth_token(fn_name=fn.name, has_token=has_token, kwargs=kwargs)
113
--> 114 return fn(*args, **kwargs)
115
116 return _inner_fn # type: ignore
/usr/local/lib/python3.12/dist-packages/huggingface_hub/file_download.py in get_hf_file_metadata(url, token, proxies, timeout, library_name, library_version, user_agent, headers, endpoint)
1461
1462 # Retrieve metadata
-> 1463 r = _request_wrapper(
1464 method="HEAD",
1465 url=url,
/usr/local/lib/python3.12/dist-packages/huggingface_hub/file_download.py in _request_wrapper(method, url, follow_relative_redirects, **params)
284 # Recursively follow relative redirects
285 if follow_relative_redirects:
--> 286 response = _request_wrapper(
287 method=method,
288 url=url,
/usr/local/lib/python3.12/dist-packages/huggingface_hub/file_download.py in _request_wrapper(method, url, follow_relative_redirects, **params)
308 # Perform request and return if status_code is not in the retry list.
309 response = http_backoff(method=method, url=url, **params, retry_on_exceptions=(), retry_on_status_codes=(429,))
--> 310 hf_raise_for_status(response)
311 return response
312
/usr/local/lib/python3.12/dist-packages/huggingface_hub/utils/_http.py in hf_raise_for_status(response, endpoint_name)
418 elif error_code == "EntryNotFound":
419 message = f"{response.status_code} Client Error." + "\n\n" + f"Entry Not Found for url: {response.url}."
--> 420 raise _format(EntryNotFoundError, message, response) from e
421
422 elif error_code == "GatedRepo":
EntryNotFoundError: 404 Client Error. (Request ID: Root=1-68d86104-01a2a0774414cf75130acc6e;4d6ab73a-38bd-4a2b-9894-6329d7ba3f89)
Entry Not Found for url: https://huggingface.co/Skywork/SkyReels-V2-DF-14B-720P/resolve/main/model_index.json.