Merak Forge

Faster training and inference on your own GPUs. Verified.

AI agents rewrite your training or serving code. An independent judge times every change on your hardware and checks that nothing broke. You get a pull request and the report to back it.

How Forge works

From your repository to a speedup you can merge

  1. Step 1

    Share code, workload, GPU type

    Training: your repository and the command that times one step. Inference: the open model you serve with SGLang and your request mix. Weights can stay on your machines.

  2. Step 2

    Agents work in parallel

    Several AI agents try changes at once. One judge measures every candidate against your original code: a quick screen first, then a slower run measured the way you measure.

  3. Step 3

    Review a pull request

    A code change against your base commit, with paired timings on your GPUs and every correctness check it passed. Nothing changes until you merge.

Verification

Any agent can claim a speedup. Forge has to prove it.

The models behind the agents are the same ones you can use yourself. The difference is the judge: how speed is measured, and how we show the result is still correct.

Paired timing

Each candidate runs next to the original on the same machine, after we measure run-to-run noise. A gain inside the noise does not count.

Two-tier confirmation

Fast screening finds candidates; a slow run confirms them. Many quick "2×" results disappear at this step, and they never reach you.

No benchmark gaming

Agents cannot edit timing code or change what is trained or served. A change that is faster because it does less work is rejected.

Correctness checks

Loss and gradients against the original for training; bitwise-identical outputs for inference. The report shows each check and its margin.

Who Forge is for

Where the biggest gains are

Custom architectures

New attention variants, hybrid state-space layers, custom MoE routing: where off-the-shelf fused kernels do not fit and generic code is slow.

Fine-tuning at scale

Teams that train again and again on Hugging Face or plain PyTorch, where a faster step shows up on every GPU bill.

Self-hosted inference

Teams serving open models with SGLang on their own GPUs who want more throughput from hardware they already pay for.

See Forge on a workload like yours.

Book a demo