Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -26,7 +26,9 @@ RUN python3 -m pip install --upgrade pip pytest cmake \
|
|
26 |
|
27 |
# Install llama-cpp-python (build with cuda)
|
28 |
# RUN CMAKE_ARGS="-DGGML_CUDA=on -DCMAKE_CUDA_ARCHITECTURES=75" FORCE_CMAKE=1 python3 -m pip install llama-cpp-python --force-reinstall --upgrade --no-cache-dir --verbose
|
29 |
-
RUN python3 -m pip install llama-cpp-python
|
|
|
|
|
30 |
|
31 |
RUN useradd -m -u 1000 user
|
32 |
# Switch to the "user" user
|
|
|
26 |
|
27 |
# Install llama-cpp-python (build with cuda)
|
28 |
# RUN CMAKE_ARGS="-DGGML_CUDA=on -DCMAKE_CUDA_ARCHITECTURES=75" FORCE_CMAKE=1 python3 -m pip install llama-cpp-python --force-reinstall --upgrade --no-cache-dir --verbose
|
29 |
+
# RUN python3 -m pip install llama-cpp-python
|
30 |
+
RUN python3 -m pip install llama-cpp-python \
|
31 |
+
--extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu121
|
32 |
|
33 |
RUN useradd -m -u 1000 user
|
34 |
# Switch to the "user" user
|