Retrying in 8s [Retry 5/5].
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /facebook/w2v-bert-2.0/resolve/main/preprocessor_config.json (Caused by ConnectTimeoutError(, 'Connection to huggingface.co timed out. (connect timeout=10)'))"), '(Request ID: b9da9c62-a9d8-42ce-8ed6-e1421ec99afb)')' thrown while requesting HEAD https://huggingface.co/facebook/w2v-bert-2.0/resolve/main/preprocessor_config.json
Traceback (most recent call last):
File "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/urllib3/connection.py", line 204, in _new_conn
sock = connection.create_connection(File "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise errFile "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)TimeoutErr
......
_backoff
response = session.request(method=method, url=url, **kwargs)File "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)File "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)File "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 95, in send
return super().send(request, *args, **kwargs)File "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/requests/adapters.py", line 665, in send
raise ConnectTimeout(e, request=request)requests.exceptions.ConnectTimeout: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /facebook/w2v-bert-2.0/resolve/main/preprocessor_config.json (Caused by ConnectTimeoutError(, 'Connection to huggingface.co timed out. (connect timeout=10)'))"), '(Request ID: b9da9c62-a9d8-42ce-8ed6-e1421ec99afb)')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/transformers/utils/hub.py", line 470, in cached_files
hf_hub_download(File "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)File "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1007, in hf_hub_download
return _hf_hub_download_to_cache_dir(File "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1114, in _hf_hub_download_to_cache_dir
_raise_on_head_call_error(head_call_error, force_download, local_files_only)File "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1658, 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 "/Volumes/Ventoy/video/index-tts/webui.py", line 56, in
tts = IndexTTS2(model_dir=cmd_args.model_dir,File "/Volumes/Ventoy/video/index-tts/indextts/infer_v2.py", line 115, in init
self.extract_features = SeamlessM4TFeatureExtractor.from_pretrained("facebook/w2v-bert-2.0")File "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/transformers/feature_extraction_utils.py", line 384, in from_pretrained
feature_extractor_dict, kwargs = cls.get_feature_extractor_dict(pretrained_model_name_or_path, **kwargs)File "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/transformers/feature_extraction_utils.py", line 510, in get_feature_extractor_dict
resolved_feature_extractor_file = cached_file(File "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/transformers/utils/hub.py", line 312, in cached_file
file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs)File "/Volumes/Ventoy/opt/miniconda3/envs/indextts/lib/python3.10/site-packages/transformers/utils/hub.py", line 543, in cached_files
raise OSError(OSError: We couldn't connect to 'https://huggingface.co' to load the files, and couldn't find them in the cached files.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.