Upload chute_config.yml with huggingface_hub
Browse files- chute_config.yml +2 -1
chute_config.yml
CHANGED
|
@@ -7,7 +7,8 @@ Image:
|
|
| 7 |
- export UV_CACHE_DIR=/tmp/.uv-cache TMPDIR=/tmp XDG_CACHE_HOME=/tmp/.cache
|
| 8 |
- mkdir -p /tmp/.uv-cache /tmp/.cache /usr/local/testing || true
|
| 9 |
- chmod 1777 /tmp/.uv-cache /tmp/.cache 2>/dev/null || true
|
| 10 |
-
|
|
|
|
| 11 |
- python -m pip install torch torchaudio transformers accelerate huggingface_hub pyyaml soundfile librosa sentencepiece protobuf
|
| 12 |
# Pin markdown2 before parler-tts so a buggy 2.5.5 wheel path is not pulled as a floating dep.
|
| 13 |
- python -m pip install "markdown2>=2.4.0,<2.5.5"
|
|
|
|
| 7 |
- export UV_CACHE_DIR=/tmp/.uv-cache TMPDIR=/tmp XDG_CACHE_HOME=/tmp/.cache
|
| 8 |
- mkdir -p /tmp/.uv-cache /tmp/.cache /usr/local/testing || true
|
| 9 |
- chmod 1777 /tmp/.uv-cache /tmp/.cache 2>/dev/null || true
|
| 10 |
+
# Do not `pip install --upgrade pip` here: many Chutes/parachutes images ship a system pip under
|
| 11 |
+
# /usr/local/... without write permission, and upgrading pip fails with Errno 13.
|
| 12 |
- python -m pip install torch torchaudio transformers accelerate huggingface_hub pyyaml soundfile librosa sentencepiece protobuf
|
| 13 |
# Pin markdown2 before parler-tts so a buggy 2.5.5 wheel path is not pulled as a floating dep.
|
| 14 |
- python -m pip install "markdown2>=2.4.0,<2.5.5"
|