Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -6,11 +6,12 @@ RUN apt-get update && apt-get install -y \
|
|
6 |
build-essential \
|
7 |
python3-dev \
|
8 |
git \
|
|
|
9 |
&& rm -rf /var/lib/apt/lists/*
|
10 |
|
11 |
-
# Устанавливаем
|
12 |
-
RUN
|
13 |
-
|
14 |
|
15 |
# Создаем рабочую директорию
|
16 |
WORKDIR /app
|
|
|
6 |
build-essential \
|
7 |
python3-dev \
|
8 |
git \
|
9 |
+
libopenblas-dev \ # Добавляем зависимость для OpenBLAS
|
10 |
&& rm -rf /var/lib/apt/lists/*
|
11 |
|
12 |
+
# Устанавливаем llama-cpp-python с поддержкой BLAS
|
13 |
+
RUN CMAKE_ARGS="-DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS" \
|
14 |
+
pip install --no-cache-dir llama-cpp-python
|
15 |
|
16 |
# Создаем рабочую директорию
|
17 |
WORKDIR /app
|