I'm getting a warning when loading a model with faster_whisper.utils.download_model in v1.1.0
from faster_whisper.utils import download_model
download_model('tiny','/tiny')
/usr/local/lib/python3.11/dist-packages/huggingface_hub/file_download.py:834: UserWarning: `local_dir_use_symlinks` parameter is deprecated and will be ignored. The process to download files to a local folder has been updated and do not rely on symlinks anymore. You only need to pass a destination folder as`local_dir`.
For more details, check out https://huggingface.co/docs/huggingface_hub/main/en/guides/download#download-files-to-local-folder.
When running download_model the second time with the same arguments I'm getting an error. Should it detect that the model is in the local cache and not try to download it again? I'm downloading the model to a docker volume which might explain the permission issue.
PermissionError: [Errno 13] Permission denied: '/tiny/.cache/huggingface/download/config.json.lock'
make: *** [Makefile:165: transcript] Error 1
I'm getting a warning when loading a model with faster_whisper.utils.download_model in v1.1.0
When running download_model the second time with the same arguments I'm getting an error. Should it detect that the model is in the local cache and not try to download it again? I'm downloading the model to a docker volume which might explain the permission issue.