fix(compose): persist model caches (#38)
All checks were successful
tests / test (push) Successful in 1m8s
All checks were successful
tests / test (push) Successful in 1m8s
This commit is contained in:
commit
f6ce97d7fd
1 changed files with 9 additions and 0 deletions
|
|
@ -24,8 +24,17 @@ services:
|
||||||
- driver: nvidia
|
- driver: nvidia
|
||||||
count: 1
|
count: 1
|
||||||
capabilities: [gpu]
|
capabilities: [gpu]
|
||||||
|
volumes:
|
||||||
|
# Persist Surya (datalab) + HuggingFace model caches so rebuilds don't
|
||||||
|
# re-download ~1.5 GB of weights every time.
|
||||||
|
- ix_surya_cache:/root/.cache/datalab
|
||||||
|
- ix_hf_cache:/root/.cache/huggingface
|
||||||
labels:
|
labels:
|
||||||
infrastructure.web_url: "http://192.168.68.42:8994"
|
infrastructure.web_url: "http://192.168.68.42:8994"
|
||||||
backup.enable: "true"
|
backup.enable: "true"
|
||||||
backup.type: "postgres"
|
backup.type: "postgres"
|
||||||
backup.name: "infoxtractor"
|
backup.name: "infoxtractor"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
ix_surya_cache:
|
||||||
|
ix_hf_cache:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue