-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.cpu.yml
More file actions
46 lines (45 loc) · 948 Bytes
/
docker-compose.cpu.yml
File metadata and controls
46 lines (45 loc) · 948 Bytes
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
services:
llm:
build:
context: .
dockerfile: Dockerfile.llama.cpu
container_name: llama-cpu
ports:
- "127.0.0.1:${LLAMA_PORT:-8001}:8001"
volumes:
- ./models:/models
environment:
- LLAMA_CACHE=/models
command:
- "-hf"
- "${CPU_HF_MODEL:-unsloth/Qwen3.5-9B-GGUF:UD-Q4_K_XL}"
- "--host"
- "0.0.0.0"
- "--port"
- "8001"
- "-c"
- "${LLAMA_CTX_SIZE:-16384}"
- "--temp"
- "0.6"
- "--top-p"
- "0.95"
- "--top-k"
- "20"
- "--min-p"
- "0.00"
- "--alias"
- "unsloth/Qwen3.5-9B-GGUF"
- "--chat-template-kwargs"
- '{"enable_thinking":true}'
restart: unless-stopped
agent:
build:
context: .
dockerfile: Dockerfile.agent
profiles:
- interactive
volumes:
- ./workspace:/workspace
- ./agent_data:/home/node/.pi
depends_on:
- llm