Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 61d58e7 + 6ece8a2 commit 69f9d50Copy full SHA for 69f9d50
Dockerfile.cuda
@@ -1,4 +1,5 @@
1
-FROM nvidia/cuda:12.1.1-devel-ubuntu20.04
+ARG CUDA_VERSION=12.1.1
2
+FROM nvidia/cuda:${CUDA_VERSION}-devel-ubuntu22.04
3
4
# We need to set the host to 0.0.0.0 to allow outside access
5
ENV HOST 0.0.0.0
@@ -12,4 +13,4 @@ RUN python3 -m pip install --upgrade pip pytest cmake scikit-build setuptools fa
12
13
RUN LLAMA_CUBLAS=1 python3 setup.py develop
14
15
# Run the server
-CMD python3 -m llama_cpp.server
16
+CMD python3 -m llama_cpp.server
0 commit comments