The Tensward tool diagnoses LLM serving bottlenecks on local GPUs
Tensward tries one flag change at a time on vLLM or llama.cpp and keeps it only if serving gets faster.
Tensward starts its own copy of your vLLM or llama.cpp engine on a local port, works out what limits it and proposes one flag change at a time. One prerequisite can stop you: GPU memory must be free while it measures. If another process holds it, Tensward names that process and does not start. Your running server is left untouched, with no restart or reconfiguration.
The Tensward repository on GitHub surfaced on Hacker News on November 11. It is free under the Apache-2.0 license, limited to one GPU and one try at a time.
- Run
tensward try. The command sends your own prompts or ready-made chat, agent, code and RAG workloads, including tool calls, and explains the proposed change. - Check the answer comparison. If answers vary no more than repeated runs do and the gain beats that noise, the change is kept. Empty, repeating or invalid-tool-call answers are refused.
- If wording shifts beyond that, read the report and accept the change with
tensward try --keep. - Serve the kept setup with
tensward serve.
In the README example from November 7, using version 0.4.2 on an NVIDIA L4, the project recorded +40% requests per second and −47% time to first word against llama.cpp's own --fit, at the cost of more host RAM. To drop the latest change, run tensward undo.