Skip to content

Writing

RSS
Filter writing
RSS

Start typing to search titles, summaries, and topics

18 results ·
Inference Lab · · 7 min

Your agent's clock is not the model's clock

Two parallel tools can do forty seconds of work in twenty seconds. Before buying faster inference, separate model-call latency, tool waits and the cost of a validated change.

Inference Lab · · 9 min

The cluster scaled to zero before its first request

An LLM serving simulator drained all four GPU replicas at its first autoscaler tick, before any request arrived. 0 of 200 requests completed. The repro, the root cause, the fix, and how real autoscalers set a floor.

Inference Lab · · 11 min

Leave your coding agent for 5 minutes and most of its cache is gone

I measured the public GitHub Copilot coding-agent trace by idle time. At 4 to 5 minutes, 64% of the next prompt is cached. At 5 to 6 minutes, 26%. A long tool run costs the cache as much as a coffee break.

Inference Lab · · 19 min

Your coding agent loses its cache while it waits for you

Between tool calls, coding agents find 90 to 99% of their input already cached. After an hour away, one public trace finds 18%. A dated field guide to what agentic inference work measures, and what it skips.

Inference Lab · · 12 min

Repeatable output is not verified evidence

A local Qwen3 study repeated every model outcome and validated every citation. All 18 runs still failed admission. A frozen claim-skeleton compiler narrowed the model's job, yet 12 of 18 new runs remained refused.

Inference Lab · · 13 min

The coordinates matched. The tensors did not.

MONAI, a medical-imaging framework, matched a custom 3D tiler on every window start but not on padding. Here is what to prove before inference.

Inference Lab · · 11 min

Stop making the model write hashes

A six-run Distill study moved byte-precise proposal construction into code. Candidate recovery reached 3/3 on one fixture, but two release gates failed.

Inference Lab · · 13 min

Before GPU inference, prove the inputs

How VoxelScope used one-shot custody and bounded NIfTI checks to admit one brain MRI source without authorizing inference.

Inference Lab · · 9 min

Reliability is not safety: Compiled context raised observed correctness and unsafe acceptance

A pinned local Qwen3-4B study made every compiled-context answer structurally valid while observed correctness and unsafe acceptance both rose.

Inference Lab · · 12 min

Context should be a build artifact, not a prompt assembled at runtime.

Distill Lock freezes context inputs, refuses drift, builds byte-identical portable artifacts, and verifies their integrity offline.

Inference Lab · · 12 min

A cache hit is not proof that you skipped the work

A deterministic KV-cache truth auditor checks engine attestations against an independent token oracle, observed prompt work, output identity, evaluator correctness, and a hash-bound bundle.

Inference Lab · · 18 min

The compiled run had a lower request-latency sum. I still could not claim break-even.

A compiled vLLM run had a lower observed complete-response latency sum across 12 requests, but cold-start debt and different outputs ruled out a break-even claim.

Inference Lab · · 25 min

A benchmark result without lineage is just a screenshot

A technical guide to connecting heterogeneous AI performance evidence without erasing measurement scope, failure state, or claim boundaries.

Inference Lab · · 12 min

The fastest passing system was not the cheapest one

Eight pinned OpenRouter requests split the decision: GLM-5.3 won passing throughput, while Flash bought far more passing cases per dollar.

Inference Lab · · 11 min

Parsing 7,585 XML references to count 400 Metal dispatches

How LLMTraceFX resolves xctrace XML references, preserves process identity, handles sentinels, and checks the result against known dispatch counts.

Inference Lab · · 14 min

The weights fit. The inference workload didn't.

A 16,081,490,933-byte model hit a clean-boot Metal OOM at 256 prompt tokens on a 24 GiB M5 Pro. Stage checkpoints show why file size was never a fit proof.

Inference Lab · · 8 min

A Metal trace is not your workload until you attribute it by process

Five controlled Metal captures matched known dispatch counts by PID. Trace-wide totals still included 36.5% to 57.5% unrelated intervals.

Inference Lab · · 8 min

Your LLM's time to first token might be measuring your HTTP client

An 8 KB HTTP read hid visible output for 185 ms in a controlled test. The client boundary changed the result.

Siddhant Khare
Agentic Engineering Guide Resume