AI that makes your models faster
— and can't lie about it.
Not a chatbot guessing at code. Kernalin's copilot studies where your GPU time actually goes, writes faster versions of your model, tests each one, and hands you only the version that's provably correct and genuinely faster. Everything that cheats or breaks, it throws away.
It writes kernels. Then it proves them.
@triton.jit
def softmax(x_ptr, y_ptr, n):
- m = tl.max(x, 0)
- e = tl.exp(x - m)
+ m = tl.max(x, 0, keep_dims=True)
+ e = tl.exp(x - m) # fused, online
+ s = tl.sum(e, 0, keep_dims=True)
tl.store(y_ptr, e / s) Online softmax fuses the max/exp/sum reduction into one pass, cutting a full DRAM round-trip. Grounded in the profiler's memory-bound diagnosis.
From workload to best verified implementation.
Workload
The kernel or module you want faster, under its real shapes and dtypes.
Profiler telemetry
The copilot reads timing and profiles (and hardware counters when available) — it optimizes from evidence, not guesswork.
Hypotheses
It forms ranked, confidence-scored hypotheses grounded in the named bottleneck.
Kernel variants
Each hypothesis becomes a concrete rewrite — Triton today, CUDA C++ in preview — not a suggestion.
Benchmark
Variants race under distribution-aware measurement, clock-locked when the host permits.
Verification
Every survivor clears the correctness gate, anti-cheat, and the statistical verdict.
Best verified impl
You get the fastest implementation that provably still computes the right thing.
- 01 tile 64×64 credibly faster kept −12.3%
- 02 vectorize loads correctness gate · shape sweep revert
- 03 fuse epilogue credibly faster kept −8.4%
- 04 enable fast-math numerics off unless asked revert
- 05 stage in shared credibly faster kept −16.2%
- 06 unroll ×8 within noise · ROPE equivalent revert
Watch it live: the reverts are the point — a variant dies the moment it fails correctness, reaches for numerics it wasn't granted, or lands inside the noise. Best-so-far only ever ratchets down.
Techniques grounded in a 6-tier playbook.
Kernel fusion
Mixed precision
Tensor-core targeting
Memory improvements
Vectorized loads
Coalescing
The playbook
Illustrative tiering. The copilot escalates only when profiler evidence justifies the risk.
Every variant is verification-gated.
Typical AI optimizer
UnprovenA headline number with nothing behind it. If the kernel dropped an op, ignored an input, or memorized the reference output, you ship a bug at speed.
Kernalin
VerifiedEvery speedup survives correctness, anti-cheat, and statistical checks before it counts. The number you see is the number you can ship.
PyTorch → Triton, automatically.
Verification-gated kernel rewrites in Triton; CUDA C++ in preview. PyTorch → Triton conversion for elementwise ops.
PyTorch → Triton conversion for more of a module: reductions and fused chains.
Optimization you can act on.
Put a verification-gated copilot on your hottest kernels. Join the early-access program.