Spaces:
Paused
Paused
Commit
·
6bb3a38
1
Parent(s):
70865a3
Fixing model download issue v12
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -34,8 +34,7 @@ RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
|
|
| 34 |
echo "Starting model download..." && \
|
| 35 |
litgpt download mistralai/Mistral-7B-Instruct-v0.3 \
|
| 36 |
--access_token ${HF_TOKEN} \
|
| 37 |
-
--checkpoint_dir /app/main/checkpoints
|
| 38 |
-
--verbose || { echo "Download failed with status $?"; exit 1; }
|
| 39 |
|
| 40 |
# Copy the rest of the application
|
| 41 |
COPY . .
|
|
|
|
| 34 |
echo "Starting model download..." && \
|
| 35 |
litgpt download mistralai/Mistral-7B-Instruct-v0.3 \
|
| 36 |
--access_token ${HF_TOKEN} \
|
| 37 |
+
--checkpoint_dir /app/main/checkpoints || { echo "Download failed with status $?"; exit 1; }
|
|
|
|
| 38 |
|
| 39 |
# Copy the rest of the application
|
| 40 |
COPY . .
|