Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- docker
|
| 5 |
+
- llama.cpp
|
| 6 |
+
- cuda
|
| 7 |
+
- a100
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# llama.cpp server-cuda (Docker image tar)
|
| 11 |
+
|
| 12 |
+
Saved Docker image `ghcr.io/ggml-org/llama.cpp:server-cuda`, pulled and exported with `docker save` for offline deployment on CUDA 12 / A100 machines without internet access to GHCR.
|
| 13 |
+
|
| 14 |
+
## File
|
| 15 |
+
|
| 16 |
+
- `llama.cpp-server-cuda.tar` (~2.6GB) — full image, load with `docker load`.
|
| 17 |
+
|
| 18 |
+
## Load and run
|
| 19 |
+
|
| 20 |
+
```bash
|
| 21 |
+
docker load -i llama.cpp-server-cuda.tar
|
| 22 |
+
|
| 23 |
+
docker run --rm --gpus all \
|
| 24 |
+
-v /path/to/models:/models \
|
| 25 |
+
-p 8080:8080 \
|
| 26 |
+
ghcr.io/ggml-org/llama.cpp:server-cuda \
|
| 27 |
+
-m /models/clef-flash-Q8_0.gguf \
|
| 28 |
+
--mmproj /models/clef-flash-vision.gguf \
|
| 29 |
+
-c 16384 -ngl 999 \
|
| 30 |
+
--host 0.0.0.0 --port 8080
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
GGUF weights for clef-flash: https://huggingface.co/cuongpp/clef-flash-gguf
|