Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d4eef73

Browse filesBrowse files
committed
Fixed .gitignore to ignore any downloaded model .bin files. Cleaned up README.md again
1 parent f24e7a7 commit d4eef73
Copy full SHA for d4eef73

File tree

Expand file treeCollapse file tree

2 files changed

+17
-12
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+17
-12
lines changed

‎.gitignore

Copy file name to clipboardExpand all lines: .gitignore
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,5 +165,5 @@ cython_debug/
165165
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
166166
.idea/
167167

168-
# model .bin files
169-
docker/auto_docker/*.bin
168+
# downloaded model .bin files
169+
docker/open_llama/*.bin

‎docker/README.md

Copy file name to clipboardExpand all lines: docker/README.md
+15-10Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,21 @@
77
**Note #2:** NVidia GPU CuBLAS support requires a NVidia GPU with sufficient VRAM (approximately as much as the size above) and Docker NVidia support (see [container-toolkit/install-guide](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html))
88

99
# Simple Dockerfiles for building the llama-cpp-python server with external model bin files
10-
- `./openblas_simple/Dockerfile` - a simple Dockerfile for non-GPU OpenBLAS, where the model is located outside the Docker image
11-
- `cd ./openblas_simple`
12-
- `docker build -t openblas_simple .`
13-
- `docker run -e USE_MLOCK=0 -e MODEL=/var/model/<model-path> -v <model-root-path>:/var/model -t openblas_simple`
14-
where `<model-root-path>/<model-path>` is the full path to the model file on the Docker host system.
15-
- `./cuda_simple/Dockerfile` - a simple Dockerfile for CUDA accelerated CuBLAS, where the model is located outside the Docker image
16-
- `cd ./cuda_simple`
17-
- `docker build -t cuda_simple .`
18-
- `docker run -e USE_MLOCK=0 -e MODEL=/var/model/<model-path> -v <model-root-path>:/var/model -t cuda_simple`
19-
where `<model-root-path>/<model-path>` is the full path to the model file on the Docker host system.
10+
## openblas_simple - a simple Dockerfile for non-GPU OpenBLAS, where the model is located outside the Docker image
11+
```
12+
cd ./openblas_simple
13+
docker build -t openblas_simple .
14+
docker run -e USE_MLOCK=0 -e MODEL=/var/model/<model-path> -v <model-root-path>:/var/model -t openblas_simple
15+
```
16+
where `<model-root-path>/<model-path>` is the full path to the model file on the Docker host system.
17+
18+
## cuda_simple - a simple Dockerfile for CUDA accelerated CuBLAS, where the model is located outside the Docker image
19+
```
20+
cd ./cuda_simple
21+
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
23+
```
24+
where `<model-root-path>/<model-path>` is the full path to the model file on the Docker host system.
2025

2126
# "Open-Llama-in-a-box" - Download a MIT licensed Open Llama model and install into a Docker image that runs an OpenBLAS-enabled llama-cpp-python server
2227
```

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.