SamilG2 commited on
Commit
b34a06b
·
1 Parent(s): ea39ce6

fix: usar prefijos GGML_ para deshabilitar AVX2/FMA en llama-cpp-python 0.3.2

Browse files
Files changed (1) hide show
  1. 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="-DLLAMA_NATIVE=OFF -DLLAMA_AVX2=OFF -DLLAMA_AVX512=OFF -DLLAMA_FMA=OFF -DLLAMA_F16C=OFF" \
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