Render the real prompts
Use the application's own rendering path. Compare the base revision and candidate instead of guessing from the diff.
BASE → HEADLoading recorded evidence… No live evaluation is running.
PUBLIC INFERENCE ENGINEERING
Furnace helps Python developers check whether a code or prompt change makes their AI app slower before merging it. It compares the proposed change with the original on a team-controlled model server, reports the evidence, and can draft a supported fix for human review.
Available here: recorded evidence and a browser-local prompt checker. No live evaluations run on this website. TTFT means the wait for the first response token. Measured on vLLM; early-stage, no customer results claimed.
session_id + timestampunique each requestshared_operations_runbookmedian run p50 · 3 repeats
Explore saved measurements. This control does not run inference.
01 / THE EXPERIMENT
A prefix cache reuses work for the identical beginning of a prompt. A changing timestamp at the beginning prevents that reuse. In this recorded workload, moving it to the end reduced the wait for the first response token (time to first token, or TTFT). Four conditions isolate the effect.
lower median run p50 TTFT
with metadata last versus first
| Condition | p50 TTFT | p95 TTFT | Cache reuse |
|---|---|---|---|
| AStable, cache on | 34.92 | 39.69 | 98.13% |
| BStable, cache off | 208.74 | 220.77 | Disabled |
| CMetadata first | 234.45 | 246.39 | 0.00% |
| DMetadata last | 43.27 | 49.20 | 94.00% |
Medians of three run-level statistics. Cache reuse counts tokens, not requests. Qwen2.5-0.5B · RTX 3050 Ti, 4 GB. Synthetic workload, fixed 32-token outputs.
Method, exact flags and raw evidence| Condition | Repeat 1 | Repeat 2 | Repeat 3 |
|---|---|---|---|
| Stable, cache on | 34.92 / 151.50 | 35.21 / 39.69 | 34.08 / 37.84 |
| Stable, cache off | 152.76 / 3072.90 | 208.74 / 214.05 | 209.74 / 220.77 |
| Metadata first | 229.31 / 234.07 | 234.45 / 246.39 | 264.21 / 282.45 |
| Metadata last | 40.54 / 45.61 | 43.63 / 49.20 | 43.27 / 52.88 |
48 warmups excluded. 1 CUDA startup failure retained and retried with identical flags. One cache-off p95 exceeded 3 seconds. No answer-quality or production-impact claim.
02 / THE REGRESSION LOOP
Use the application's own rendering path. Compare the base revision and candidate instead of guessing from the diff.
BASE → HEADInterleave revisions on one endpoint. The gate uses run-level geometric-mean TTFT and a 90% interval.
PASS / BLOCK / INCONCLUSIVEWrite the failing regression test first. Measured repairs must pass sandbox tests and performance rules. Offline proposals remain performance-unverified. A person reviews either draft.
DRAFT FIX → HUMAN REVIEWpython experiments/prefix-cache/rehearse_guard.pyRead the walkthrough 03 / EVIDENCE, WITH BOUNDARIES
false blocks on unchanged code
known large regressions blocked
repairs verified in one repeated scenario
small slowdowns left inconclusive
These gate-validation figures come from a separate recorded experiment, not the prefix-layout study above. One laptop GPU, one small model, limited fixtures. A structural check cannot detect disabled caching, and a latency result does not establish answer quality.
Implementation links, statistical choices, and the limits worth asking about.
SEE THE PRODUCTA recorded walkthrough, plus the public GitHub check and repair trail.
CHECK THE DATAInspect the workload, counters, repeated runs, failures and reproduction steps.
BEFORE YOU ASK
Python applications. Measured on vLLM. Rule-based repair for one regression family. No customers or production readiness claimed.
Yes. The browser prefix checker compares your rendered base and head prompts locally, without uploading them. Start with the synthetic regression and repair examples. It checks shared text structure; it does not call a model, measure latency, or detect whether server caching is enabled.
Often, yes. promptfoo can fail a test above a per-call latency threshold, and LangSmith records first-token percentiles. Furnace is narrower. It compares two revisions on your own server in interleaved runs, decides with an interval instead of a fixed threshold, reads the server’s cache hit rate, points to the line that changed, and for one kind of regression drafts a fix. It does not judge answer quality, so keep your eval tool for that.
The decision rule was frozen before it was validated. On unchanged code it raised 0 false alarms in 36 trials. It blocked the known cache regression in 6 of 6. It is not perfect: smaller slowdowns were left inconclusive in 15 of 18 trials, so catching regressions just above the 10% tolerance is not shown. Validation report
It works for Python apps that build prompts in code and call a model you serve (measured on vLLM). It needs a runner with Docker and access to a GPU model server for measurements; the server may be remote. It can repair one regression family: per-request values at the start of a prompt. Not yet: TypeScript, latency on hosted APIs, and other repairs, which it refuses rather than guesses. The GitHub flow ran end to end once on a public repository (a check run on the right commit, a draft fix, real webhooks); that is one live trial, not a track record.
On your machine. The runner downloads your repository with a token scoped to that one repository and runs your tests in disposable container copies with no test-time network and a non-root user. Dependency installation has network access. Trusted suite Python runs on the host. Prompts go to your configured model server. Security controls and their tests
No external users or customer deployments are claimed. Furnace is an independent prototype, verified on fixture apps on one laptop GPU, with a recorded end-to-end run on a public GitHub repository.
Yes. From a clone, Python 3.12 alone can run python experiments/prefix-cache/review.py to check saved timings, cache counters and published tables. The Forge-test rehearsal also runs on CPU. Repeating the serving measurements requires the documented model, Docker and GPU setup. These checks establish internal consistency, not independent authentication of where a measurement originated.
BUILT TO BE INSPECTED