Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -13,7 +13,8 @@ ENV TRANSFORMERS_CACHE=/cache \
|
|
| 13 |
HF_HOME=/cache \
|
| 14 |
XDG_CACHE_HOME=/cache \
|
| 15 |
PYTHONPATH=/code \
|
| 16 |
-
TORCH_HOME=/cache
|
|
|
|
| 17 |
|
| 18 |
# Install system dependencies
|
| 19 |
RUN apt-get update && apt-get install -y \
|
|
@@ -37,7 +38,7 @@ RUN pip install --no-cache-dir --upgrade pip && \
|
|
| 37 |
pip install --no-cache-dir 'scikit-learn==1.6.1' && \
|
| 38 |
pip install --no-cache-dir 'faiss-cpu==1.7.3' && \
|
| 39 |
pip install --no-cache-dir einops>=0.6.1 && \
|
| 40 |
-
pip install --no-cache-dir bitsandbytes
|
| 41 |
pip install --no-cache-dir -r /code/requirements.txt
|
| 42 |
|
| 43 |
# Copy the rest of the application
|
|
|
|
| 13 |
HF_HOME=/cache \
|
| 14 |
XDG_CACHE_HOME=/cache \
|
| 15 |
PYTHONPATH=/code \
|
| 16 |
+
TORCH_HOME=/cache \
|
| 17 |
+
BNB_CUDA_VERSION=0
|
| 18 |
|
| 19 |
# Install system dependencies
|
| 20 |
RUN apt-get update && apt-get install -y \
|
|
|
|
| 38 |
pip install --no-cache-dir 'scikit-learn==1.6.1' && \
|
| 39 |
pip install --no-cache-dir 'faiss-cpu==1.7.3' && \
|
| 40 |
pip install --no-cache-dir einops>=0.6.1 && \
|
| 41 |
+
pip install --no-cache-dir -U bitsandbytes>=0.42.0 && \
|
| 42 |
pip install --no-cache-dir -r /code/requirements.txt
|
| 43 |
|
| 44 |
# Copy the rest of the application
|