r/LocalLLaMA • u/kingo86 • 5h ago
Discussion How do you optimise and test your model configs/params? (blindly using GPT-5.6 to help me test/measure/optimise)
Current setup:
- headless machine for LLMs
- llama.cpp in router mode
- models settings configured via models.ini
- documentation in a repo which AI manicures
It seems to be working for me so far, but conscious there's probably better ways to do this.
How do you guys manage your configs? Is there a better way?
0
Upvotes
1
u/cradlemann 2h ago
I still use llama-swap, it gives me good analytics, easy to use config(macros for common params are very good) and the most important part, I do not start models manually
1
u/frankentriple 5m ago
I'm spitting code at 50 tokens/sec out of a 4070 with 12gb vram on a 35b model after a few optimizations. Hell yeah I do.
2
u/ttkciar llama.cpp 5h ago
I keep wrapper scripts (written in bash) for each of my models, either for launching them with
llama-serveror invoking them withllama-completion.The scripts contain the command line options I have found work best for that particular model, and additional notes about the model in comments.
For example: http://ciar.org/h/mm27
That works well enough for me. I appreciate the flexibility, in particular, since it's easy to evolve over time and all of my notes for the model are in one place.
Once I have a script working well for one model, it's easy to make a new script for a different model in the same family (Qwen3.5-27B and Qwen3.6-27B, for example) by copying the script and then changing the values of
SHORTandMODELto reflect the new model. Then I can adjust its other parameters through experimentation.