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

Add model cache path option to Docker run instructions in readme #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

6a67
Copy link

@6a67 6a67 commented Nov 29, 2024

No description provided.

@kanjieater
Copy link
Owner

Thanks for the PR. I didn't know where the models were being downloaded to, but it seems like the path you have listed is where the docker container downloads them to, is this correct? If that's the case, this is a good find, and I'll merge this.

@6a67
Copy link
Author

6a67 commented Nov 29, 2024

Exactly. It seems the tiny and large Whisper models inside the container are located at:

/config/.cache/huggingface/hub/models--Systran--faster-whisper-tiny
/config/.cache/huggingface/hub/models--Systran--faster-whisper-large-v3

Meanwhile, the VAD files appear to be stored at:

/config/.cache/torch/hub/snakers4_silero-vad_master/src/silero_vad/data

Given this, I figured it would make sense to simply mount the entire .cache directory.

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

Successfully merging this pull request may close these issues.

2 participants