Skip to content

Commit 9dbcdac

Browse files
committed
feat: Functional offline agentic image with WIP docker model config
1 parent 44394c2 commit 9dbcdac

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

config/llama.cpp/llama-swap.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ models:
1313
description: "When should the model be used?"
1414
cmd: |
1515
llama-server
16+
--offline
1617
--batch-size 2048
1718
--host 0.0.0.0
1819
--jinja
@@ -26,6 +27,7 @@ models:
2627
description: "When should the model be used?"
2728
cmd: |
2829
llama-server
30+
--offline
2931
--batch-size 2048
3032
--host 0.0.0.0
3133
--jinja
@@ -42,9 +44,13 @@ models:
4244
--name ${MODEL_ID}
4345
--init
4446
--rm
45-
--device nvidia.com/gpu=all
47+
--gpus all
4648
--publish ${PORT}:8000
47-
docker.io/vllm/vllm-openai:latest
49+
-v "${env.HOME}/models:/root/models"
50+
docker.io/vllm/vllm-openai:latest
51+
--model ${models_dir}/Qwen2.5-0.5B-Instruct-Q4_K_M.gguf
52+
--port 8000
53+
--serving-name vllm-coder
4854
cmdStop: podman stop ${MODEL_ID}
4955
checkEndpoint: "none"
5056
ttl: 0

0 commit comments

Comments
 (0)