1
0
Fork 0

h-a/whisper: Set writable cache dir for HF models

Whisper now needs a writable location for downloading models from
Hugging Face Hub.  The default location is `~/.cache/huggingface/hub`,
but this is not writable in our container.  The path can be controlled
via one of several environment variables, but we're setting `HF_HOME` as
it is sets the top level directory for several related paths.
pull/67/head
Dustin 2025-06-21 14:22:42 -05:00
parent 8e38813d83
commit 404137c4c8
1 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,9 @@ spec:
args: args:
- --model=base - --model=base
- --language=en - --language=en
env:
- name: HF_HOME
value: /data/hf.cache
ports: ports:
- containerPort: 10300 - containerPort: 10300
name: wyoming name: wyoming