You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Note #2:** NVidia GPU CuBLAS support requires a NVidia GPU with sufficient VRAM (approximately as much as the size in the table below) and Docker NVidia support (see [container-toolkit/install-guide](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html))
8
7
9
-
# Simple Dockerfiles for building the llama-cpp-python server with external model bin files
10
-
## openblas_simple - a simple Dockerfile for non-GPU OpenBLAS, where the model is located outside the Docker image
8
+
## Simple Dockerfiles for building the llama-cpp-python server with external model bin files
9
+
### openblas_simple
10
+
A simple Dockerfile for non-GPU OpenBLAS, where the model is located outside the Docker image:
11
11
```
12
12
cd ./openblas_simple
13
13
docker build -t openblas_simple .
14
14
docker run -e USE_MLOCK=0 -e MODEL=/var/model/<model-path> -v <model-root-path>:/var/model -t openblas_simple
15
15
```
16
16
where `<model-root-path>/<model-path>` is the full path to the model file on the Docker host system.
17
17
18
-
## cuda_simple - a simple Dockerfile for CUDA accelerated CuBLAS, where the model is located outside the Docker image
18
+
### cuda_simple
19
+
> [!WARNING]
20
+
> Nvidia GPU CuBLAS support requires an Nvidia GPU with sufficient VRAM (approximately as much as the size in the table below) and Docker Nvidia support (see [container-toolkit/install-guide](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html)) <br>
21
+
22
+
A simple Dockerfile for CUDA-accelerated CuBLAS, where the model is located outside the Docker image:
23
+
19
24
```
20
25
cd ./cuda_simple
21
26
docker build -t cuda_simple .
22
-
docker run -e USE_MLOCK=0 -e MODEL=/var/model/<model-path> -v <model-root-path>:/var/model -t cuda_simple
0 commit comments