Spaces:
Paused
Paused
fix: usar prefijos GGML_ para deshabilitar AVX2/FMA en llama-cpp-python 0.3.2
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -16,7 +16,7 @@ COPY requirements.txt .
|
|
| 16 |
RUN pip install --no-cache-dir --upgrade pip \
|
| 17 |
&& pip install --no-cache-dir numpy==1.26.0 \
|
| 18 |
&& pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu \
|
| 19 |
-
&& CMAKE_ARGS="-
|
| 20 |
pip install --no-cache-dir llama-cpp-python==0.3.2 \
|
| 21 |
&& pip install --no-cache-dir -r requirements.txt
|
| 22 |
|
|
|
|
| 16 |
RUN pip install --no-cache-dir --upgrade pip \
|
| 17 |
&& pip install --no-cache-dir numpy==1.26.0 \
|
| 18 |
&& pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu \
|
| 19 |
+
&& CMAKE_ARGS="-DGGML_NATIVE=OFF -DGGML_AVX2=OFF -DGGML_AVX512=OFF -DGGML_FMA=OFF -DGGML_F16C=OFF" \
|
| 20 |
pip install --no-cache-dir llama-cpp-python==0.3.2 \
|
| 21 |
&& pip install --no-cache-dir -r requirements.txt
|
| 22 |
|