radames HF staff commited on
Commit
6df186b
1 Parent(s): c640c48

how to resue local models

Browse files
Files changed (1) hide show
  1. README.md +7 -0
README.md CHANGED
@@ -127,6 +127,13 @@ docker build -t lcm-live .
127
  docker run -ti -p 7860:7860 --gpus all lcm-live
128
  ```
129
 
 
 
 
 
 
 
 
130
  or with environment variables
131
 
132
  ```bash
 
127
  docker run -ti -p 7860:7860 --gpus all lcm-live
128
  ```
129
 
130
+ reuse models data from host to avoid downloading them again, you can change `~/.cache/huggingface` to any other directory, but if you use hugingface-cli locally, you can share the same cache
131
+
132
+ ```bash
133
+ docker run -ti -p 7860:7860 -e HF_HOME=/data -v ~/.cache/huggingface:/data --gpus all lcm-live
134
+ ```
135
+
136
+
137
  or with environment variables
138
 
139
  ```bash