Fetching 13 files: 100%…
- User
Fetching 13 files: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 13/13 [00:00<00:00, 7160.34it/s] Traceback (most recent call last): File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/transformers/utils/hub.py", line 424, in cached_files hf_hub_download( File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1008, in hf_hub_download return _hf_hub_download_to_cache_dir( File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1115, in _hf_hub_download_to_cache_dir _raise_on_head_call_error(head_call_error, force_download, local_files_only) File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1634, in _raise_on_head_call_error raise LocalEntryNotFoundError( huggingface_hub.errors.LocalEntryNotFoundError: Cannot find the requested files in the disk cache and outgoing traffic has been disabled. To enable hf.co look-ups and downloads online, set 'local_files_only' to False.
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/home/meow/ACE-Step/trainer.py", line 853, in main(args) File "/home/meow/ACE-Step/trainer.py", line 786, in main model = Pipeline( File "/home/meow/ACE-Step/trainer.py", line 104, in init self.hubert_model = AutoModel.from_pretrained( File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 531, in from_pretrained config, kwargs = AutoConfig.from_pretrained( File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1096, in from_pretrained config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs) File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/transformers/configuration_utils.py", line 594, in get_config_dict config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs) File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/transformers/configuration_utils.py", line 653, in _get_config_dict resolved_config_file = cached_file( File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/transformers/utils/hub.py", line 266, in cached_file file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs) File "/home/meow/anaconda3/envs/ace_step/lib/python3.10/site-packages/transformers/utils/hub.py", line 491, in cached_files raise EnvironmentError( 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 ''.
- Assistant
- User
this in in wsl and I've already tried to change those its not working
- Assistant
- User
(ace_step) meow@Anbernic-Win600:~/ACE-StepTRANSFORMERS_OFFLINE
(ace_step) meow@Anbernic-Win600:
/ACE-StepHF_HUB_OFFLINE 0 (ace_step) meow@Anbernic-Win600:/ACE-Step$ - Assistant
- User
(ace_step) meow@Anbernic-Win600:~/ACE-Step
- Assistant
The fact that
~/.cache/huggingface/transformersdoes not exist confirms that your WSL environment doesn't have any cached model files downloaded yet.This means that when you call , it tries to download the files from the internet but due to network issues or restrictions.