Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WinError 1314] #98

Open
sitzbrau opened this issue Sep 20, 2024 · 0 comments
Open

[WinError 1314] #98

sitzbrau opened this issue Sep 20, 2024 · 0 comments

Comments

@sitzbrau
Copy link

running on Windows 10, Dell Inspiron 14 5000 (with GPU)

gradio==4.43.0

tried to train with a specific folder, i've got this error

File "D:\xtts-finetune-webui\xtts_demo.py", line 266, in preprocess_dataset asr_model = WhisperModel(whisper_model, device=device, compute_type=compute_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\xtts-finetune-webui\venv\Lib\site-packages\faster_whisper\transcribe.py", line 138, in __init__ model_path = download_model( ^^^^^^^^^^^^^^^ File "D:\xtts-finetune-webui\venv\Lib\site-packages\faster_whisper\utils.py", line 104, in download_model return huggingface_hub.snapshot_download(repo_id, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\xtts-finetune-webui\venv\Lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "D:\xtts-finetune-webui\venv\Lib\site-packages\huggingface_hub\_snapshot_download.py", line 299, in snapshot_download thread_map( File "D:\xtts-finetune-webui\venv\Lib\site-packages\tqdm\contrib\concurrent.py", line 69, in thread_map return _executor_map(ThreadPoolExecutor, fn, *iterables, **tqdm_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\xtts-finetune-webui\venv\Lib\site-packages\tqdm\contrib\concurrent.py", line 51, in _executor_map return list(tqdm_class(ex.map(fn, *iterables, chunksize=chunksize), **kwargs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\xtts-finetune-webui\venv\Lib\site-packages\gradio\helpers.py", line 694, in __next__ return next(current_iterable.iterable) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\silvi\AppData\Local\Programs\Python\Python312\Lib\concurrent\futures\_base.py", line 619, in result_iterator yield _result_or_cancel(fs.pop()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\silvi\AppData\Local\Programs\Python\Python312\Lib\concurrent\futures\_base.py", line 317, in _result_or_cancel return fut.result(timeout) ^^^^^^^^^^^^^^^^^^^ File "C:\Users\silvi\AppData\Local\Programs\Python\Python312\Lib\concurrent\futures\_base.py", line 456, in result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ File "C:\Users\silvi\AppData\Local\Programs\Python\Python312\Lib\concurrent\futures\_base.py", line 401, in __get_result raise self._exception File "C:\Users\silvi\AppData\Local\Programs\Python\Python312\Lib\concurrent\futures\thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\xtts-finetune-webui\venv\Lib\site-packages\huggingface_hub\_snapshot_download.py", line 273, in _inner_hf_hub_download return hf_hub_download( ^^^^^^^^^^^^^^^^ File "D:\xtts-finetune-webui\venv\Lib\site-packages\huggingface_hub\utils\_deprecation.py", line 101, in inner_f return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "D:\xtts-finetune-webui\venv\Lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "D:\xtts-finetune-webui\venv\Lib\site-packages\huggingface_hub\file_download.py", line 1240, in hf_hub_download return _hf_hub_download_to_cache_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\xtts-finetune-webui\venv\Lib\site-packages\huggingface_hub\file_download.py", line 1400, in _hf_hub_download_to_cache_dir _create_symlink(blob_path, pointer_path, new_blob=True) File "D:\xtts-finetune-webui\venv\Lib\site-packages\huggingface_hub\file_download.py", line 924, in _create_symlink os.symlink(src_rel_or_abs, abs_dst) OSError: [WinError 1314] Il privilegio richiesto non appartiene al client: '..\\..\\blobs\\75336feae814999bae6ccccdecf177639ffc6f9d' -> 'C:\\Users\\silvi\\.cache\\huggingface\\hub\\models--Systran--faster-whisper-large-v3\\snapshots\\edaa852ec7e145841d8ffdb056a99866b5f0a478\\config.json'

before downloading tokenizer, vocabulary and model i've got also this
preprocessor_config.json: 100%|████████████████████████████████████████████████████████| 340/340 [00:00<00:00, 110kB/s] config.json: 100%|████████████████████████████████████████████████████████████████| 2.39k/2.39k [00:00<00:00, 1.17MB/s] config.json: 0%| | 0.00/2.39k [00:00<?, ?B/s]D:\xtts-finetune-webui\venv\Lib\site-packages\huggingface_hub\file_download.py:159: UserWarning: huggingface_hubcache-system uses symlinks by default to efficiently store duplicated files but your machine does not support them in C:\Users\silvi\.cache\huggingface\hub\models--Systran--faster-whisper-large-v3. Caching files will still work but in a degraded version that might require more space on your disk. This warning can be disabled by setting theHF_HUB_DISABLE_SYMLINKS_WARNINGenvironment variable. For more details, see https://huggingface.co/docs/huggingface_hub/how-to-cache#limitations. To support symlinks on Windows, you either need to activate Developer Mode or to run Python as an administrator. In order to see activate developer mode, see this article: https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development warnings.warn(message)preprocessor_config.json: 100%|████████████████████████████████████████████████████████| 340/340 [00:00<00:00, 110kB/s] config.json: 100%|████████████████████████████████████████████████████████████████| 2.39k/2.39k [00:00<00:00, 1.17MB/s] config.json: 0%| | 0.00/2.39k [00:00<?, ?B/s]D:\xtts-finetune-webui\venv\Lib\site-packages\huggingface_hub\file_download.py:159: UserWarning:huggingface_hubcache-system uses symlinks by default to efficiently store duplicated files but your machine does not support them in C:\Users\silvi\.cache\huggingface\hub\models--Systran--faster-whisper-large-v3. Caching files will still work but in a degraded version that might require more space on your disk. This warning can be disabled by setting theHF_HUB_DISABLE_SYMLINKS_WARNING environment variable. For more details, see https://huggingface.co/docs/huggingface_hub/how-to-cache#limitations. To support symlinks on Windows, you either need to activate Developer Mode or to run Python as an administrator. In order to see activate developer mode, see this article: https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development warnings.warn(message)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant