Spaces:
Sleeping
Sleeping
CrazyMonkey0 commited on
Commit ·
2a2937c
1
Parent(s): 8757f21
fix(docker): replace llama-cpp-python extra index with pinned cp312 linux wheel
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -16,9 +16,8 @@ COPY ./requirements.txt /app/requirements.txt
|
|
| 16 |
RUN pip install --upgrade pip
|
| 17 |
|
| 18 |
# Install llama-cpp-python from pre-built wheel
|
| 19 |
-
RUN pip install
|
| 20 |
-
--
|
| 21 |
-
--extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
|
| 22 |
|
| 23 |
# Install other requirements
|
| 24 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 16 |
RUN pip install --upgrade pip
|
| 17 |
|
| 18 |
# Install llama-cpp-python from pre-built wheel
|
| 19 |
+
RUN pip install \
|
| 20 |
+
https://github.com/abetlen/llama-cpp-python/releases/download/v0.3.2/llama_cpp_python-0.3.2-cp312-cp312-linux_x86_64.whl
|
|
|
|
| 21 |
|
| 22 |
# Install other requirements
|
| 23 |
RUN pip install --no-cache-dir -r requirements.txt
|