lllyasviel / lllyasviel/FramePack
下载后也update了,但run的时候报错,请问如何解决?how to solve this problem,thanks
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Currently enabled native sdp backends: ['flash', 'math', 'mem_efficient', 'cudnn']
Xformers is not installed!
Flash Attn is not installed!
Sage Attn is not installed!
Namespace(share=False, server='127.0.0.1', port=None, inbrowser=True)
Free VRAM 3.212597656995058 GB
High-VRAM Mode: False
Traceback (most recent call last):
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\urllib3\connection.py", line 198, in _new_conn
sock = connection.create_connection(
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\urllib3\util\connection.py", line 85, in create_connection
raise err
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\urllib3\util\connection.py", line 73, in create_connection
sock.connect(sa)
TimeoutError: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\urllib3\connectionpool.py", line 793, in urlopen
response = self._make_request(
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\urllib3\connectionpool.py", line 491, in _make_request
raise new_e
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\urllib3\connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\urllib3\connectionpool.py", line 1099, in _validate_conn
conn.connect()
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\urllib3\connection.py", line 616, in connect
self.sock = sock = self._new_conn()
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\urllib3\connection.py", line 207, in _new_conn
raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (, 'Connection to huggingface.co timed out. (connect timeout=10)')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\urllib3\connectionpool.py", line 847, in urlopen
retries = retries.increment(
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /hunyuanvideo-community/HunyuanVideo/resolve/main/text_encoder/config.json (Caused by ConnectTimeoutError(, 'Connection to huggingface.co timed out. (connect timeout=10)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\huggingface_hub\file_download.py", line 1484, in _get_metadata_or_catch_error
metadata = get_hf_file_metadata(
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\huggingface_hub\file_download.py", line 1401, in get_hf_file_metadata
r = _request_wrapper(
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\huggingface_hub\file_download.py", line 285, in _request_wrapper
response = _request_wrapper(
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\huggingface_hub\file_download.py", line 308, in _request_wrapper
response = get_session().request(method=method, url=url, **params)
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\huggingface_hub\utils\_http.py", line 96, in send
return super().send(request, *args, **kwargs)
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\requests\adapters.py", line 507, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /hunyuanvideo-community/HunyuanVideo/resolve/main/text_encoder/config.json (Caused by ConnectTimeoutError(, 'Connection to huggingface.co timed out. (connect timeout=10)'))"), '(Request ID: e7a6fba1-4554-4f9b-bc57-14a6064f9cbf)')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\transformers\utils\hub.py", line 403, in cached_file
resolved_file = hf_hub_download(
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\huggingface_hub\file_download.py", line 961, in hf_hub_download
return _hf_hub_download_to_cache_dir(
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\huggingface_hub\file_download.py", line 1068, in _hf_hub_download_to_cache_dir
_raise_on_head_call_error(head_call_error, force_download, local_files_only)
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\huggingface_hub\file_download.py", line 1599, in _raise_on_head_call_error
raise LocalEntryNotFoundError(
huggingface_hub.errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\webui\demo_gradio.py", line 49, in
text_encoder = LlamaModel.from_pretrained("hunyuanvideo-community/HunyuanVideo", subfolder='text_encoder', torch_dtype=torch.float16).cpu()
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\transformers\modeling_utils.py", line 3613, in from_pretrained
config, model_kwargs = cls.config_class.from_pretrained(
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\transformers\configuration_utils.py", line 545, in from_pretrained
config_dict, kwargs = cls.get_config_dict(pretrained_model_name_or_path, **kwargs)
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\transformers\configuration_utils.py", line 574, in get_config_dict
config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\transformers\configuration_utils.py", line 633, in _get_config_dict
resolved_config_file = cached_file(
File "D:\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\transformers\utils\hub.py", line 446, in cached_file
raise EnvironmentError(
OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like hunyuanvideo-community/HunyuanVideo is not the path to a directory containing a file named text_encoder\config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with webui/demo_gradio.py at the LlamaModel.from_pretrained call shown in the traceback, then review how the HunyuanVideo text_encoder is obtained. Reproduce the startup failure and verify that the application handles the reported model-loading condition with a clear outcome.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- huggingface, python, pytorch
- Domain
- ai, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100