-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (51 loc) · 1.17 KB
/
Copy pathdocker-compose.yml
File metadata and controls
52 lines (51 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
services:
llama-server:
image: ghcr.io/ggml-org/llama.cpp:server-cuda
container_name: llama-server
ports:
- "8080:8080"
volumes:
- ./models:/models
- ./templates:/templates
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
restart: unless-stopped
command: >
--model /models/Qwen3.6-35B-A3B-UD-Q3_K_XL.gguf
--host 0.0.0.0
--port 8080
--ctx-size 16384
--parallel 1
--flash-attn 1
--no-mmap
--threads 8
--spec-type draft-mtp
--spec-draft-n-max 3
--spec-draft-p-min 0.1
--n-predict 8192
--jinja
--chat-template-file /templates/chat_template.jinja
-fitt 512
--cache-reuse 256
ki-extractor:
build: .
container_name: ki-extractor
ports:
- "3000:3000"
env_file:
- .env
environment:
- LLAMA_URL=http://llama-server:8080
- CUDA_VISIBLE_DEVICES=
- TOKENIZERS_PARALLELISM=false
- JOBS_DIR=/data/jobs
volumes:
- ./data:/data
depends_on:
- llama-server
restart: unless-stopped