Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -4,7 +4,7 @@ FROM python:3.11-slim
|
|
4 |
RUN apt-get update && apt-get install -y cmake build-essential wget git && rm -rf /var/lib/apt/lists/*
|
5 |
|
6 |
# 2. 安装 llama-cpp-python(强制用预编译 CPU wheel),避免源码编译
|
7 |
-
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=off" pip install --no-cache-dir --prefer-binary llama-cpp-python==0.
|
8 |
&& pip install --no-cache-dir gradio huggingface-hub
|
9 |
|
10 |
# 3. 设置模型下载路径
|
|
|
4 |
RUN apt-get update && apt-get install -y cmake build-essential wget git && rm -rf /var/lib/apt/lists/*
|
5 |
|
6 |
# 2. 安装 llama-cpp-python(强制用预编译 CPU wheel),避免源码编译
|
7 |
+
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=off" pip install --no-cache-dir --prefer-binary llama-cpp-python==0.3.16 \
|
8 |
&& pip install --no-cache-dir gradio huggingface-hub
|
9 |
|
10 |
# 3. 设置模型下载路径
|