Files
timmy-home/configs/llama-server.service

23 lines
412 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=llama.cpp inference server for Timmy
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/root/timmy
ExecStart=/root/timmy/llama-server \
-m /root/timmy/models/hermes-3-8b.Q4_K_M.gguf \
--host 127.0.0.1 \
--port 8081 \
-c 8192 \
-np 1 \
--jinja \
-ngl 0
Restart=always
RestartSec=10
Environment="HOME=/root"
[Install]
WantedBy=multi-user.target