Spaces:
Paused
Paused
how to resue local models
Browse files
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
|