Spaces:
Sleeping
Sleeping
Commit ·
4e6121f
1
Parent(s): a1af25c
upgrade torch to 2.3.0 for sentence-transformers compat
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y \
|
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
# Install CPU-only torch FIRST (évite de télécharger la version GPU 2GB)
|
| 13 |
-
RUN pip install --no-cache-dir torch==2.
|
| 14 |
|
| 15 |
# Install requirements
|
| 16 |
COPY requirements_hf.txt .
|
|
|
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
# Install CPU-only torch FIRST (évite de télécharger la version GPU 2GB)
|
| 13 |
+
RUN pip install --no-cache-dir torch==2.3.0 --index-url https://download.pytorch.org/whl/cpu
|
| 14 |
|
| 15 |
# Install requirements
|
| 16 |
COPY requirements_hf.txt .
|