Repository navigation
llama-cozy: short commands for llama.cpp (ai qwen 8b to chat), no daemon, VRAM freed on exit #33315
Respawn2
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I got tired of two things: Ollama sitting in the background holding VRAM, and retyping
llama-cli -m /long/path/to/model.gguf -ngl 99 -c 4096 ...every time. So I wrote asmall wrapper around llama.cpp.
finds the GGUF whose filename contains all those words and starts
llama-cli. Itexecsthe real binary, so there is no daemon: when you quit, RAM/VRAM is freed immediately.
What it does:
work as-is, no duplicate files). If several match you get an fzf picker.
ai serve <model>starts llama-server (web UI + OpenAI-compatible API) on a free port.ai pull user/repo:Q4_K_Mdownloads a GGUF from Hugging Face (resumable).ai qwen -p "explain TCP",cat notes.txt | ai qwen.ai doctorchecks your llama.cpp build, GPU backend, paths.with tab-completion for all three.
Honest notes: it's young. I use it on Fedora + fish; CI runs on Ubuntu and Fedora
with a stub llama-cli. AMD/Vulkan setups are untested by me. It's an unofficial wrapper,
it needs llama.cpp installed and doesn't replace it.
Repo (MIT): https://github.com//llama-cozy-cli
Feedback and bug reports welcome, especially from other distros and GPUs.
All reactions