I benchmarked NanoInfer (the inference engine I was working on).
head-to-head against a standard Hugging Face model.generate() server at 8 concurrent users:
5.0x Faster P99 Time-To-First-Token: Cut P99 TTFT from 1,716.8 ms down to 342.3 ms.
+38% Higher Throughput & 28% Lower P99 E2E Latency: Scaled throughput from 85.2 tok/s to 117.6 tok/s even on local CPU by amortizing weight reads across batched decode steps.
AI/ML folks, let's connect!
Building with LLMs, RAG, AI agents, or experimenting with new ideas?
I'd love to connect, exchange ideas, and learn from people building in AI.
Drop a hello! ๐ค
1. Pinned Entity State: Stores verified facts from PSQL and tools as structured, read-only state, preventing the LLM from guessing critical information.
2. Sliding Window Buffer: Retains the last 6โ10 convo messages to maintain convo context while controlling token usage.