RunAnywhere says fused kernels cut a decode step 25% on Trainium2

RunAnywhere is a San Francisco startup in Y Combinator's Winter 2026 batch that serves open-weight AI models, ones whose trained weights anyone can download, through a paid service called Wally. It is aimed at developers whose voice or coding-agent products wait on a model's answers. The company says its engineers and AI agents write the low-level code for each kind of chip, and that one result of this, an open-source engine called trnRT, runs a large model on Amazon's Trainium chips.

Wally Vs Other Providers (RunAnywhere, 68 seconds)

The 68-second video above was posted on 21 September 2026 and compares Wally with other providers. Its page has no description and we did not watch the footage, so we cannot say what it shows; the numbers below come from the company's written posts.

What are inference and kernels in AI?

Running a trained model to get an answer is called inference. A model writes its reply one small piece of text (a token) at a time, and each step, a "decode step", sends the whole model's arithmetic through the chip again. Speed is usually quoted in tokens per second, plus the wait for the first token.

A kernel is a small program that runs on the accelerator chip itself: one for a matrix multiplication, one for attention, and so on. Chips differ in memory and compute units, so a kernel tuned for one is not simply reusable on another. The company's pitch is that it builds these per chip, whether for Apple's and Qualcomm's neural engines (its earlier work, on phones and laptops) or for data-centre GPUs and Trainium.

What the company says Wally does

In its launch post of 29 September 2026, the company says Wally combines its own kernels, speculative decoding (a cheap draft that proposes tokens for the big model to check) and a scheme that keeps long-prompt processing from stalling other users' streams.

380 tokens/s GLM-5.3 Flash on Wally, with a 274 ms first token, the company says; 8.6x the company's stated speed advantage over Z.ai on that model, citing Artificial Analysis (24 Sep 2026); 213 vs 47 tokens/s of wall clock, Wally vs Z.ai, in the company's own test of four providers

The company says the four-provider test ran one prompt three times in the same coding harness on Wally, Nebius, Fireworks and Z.ai, and reports 213, 149, 68 and 47 tokens per second of wall clock.

trnRT: the same idea on Amazon's chip

Trainium is Amazon Web Services' own AI chip, rented by the hour. In a post dated 4 November 2026, RunAnywhere's Aman Swar and Sanchit Monga describe serving GLM-5.3-Flash, a 320-billion-parameter open model with a million-token context, on one AWS trn2.48xlarge machine (16 Trainium2 chips). They say that when they started in early October, no AWS-supported or major open-source engine served this model on Trainium.

The central technique is what they call a layer megakernel. A model like this has 45 layers; normally each layer runs as a chain of small kernels, with results written out to the chip's main memory in between. The authors replace each half-layer with one kernel written in NKI, AWS's kernel language for Trainium, that keeps the working data in the chip's on-chip scratchpad and does the cross-chip summing inside the kernel. They also report that an attempt to fuse the attention front made a step 7.4 ms slower, and that they dropped it.

Their reported result: a decode step with eight requests per serving instance fell 25%, from 32.2 ms (their 17 October build, which already had first versions of two of the kernels) to 24.2 ms (1 November build). They also say the machine served up to 28.9 agent requests a minute on SemiAnalysis's AgentX benchmark (at 32 agents), and that one serving instance, on half the box, took a 1,039,912-token prompt to its first token in 190.8 seconds.

Conditions the authors state: the AgentX numbers are self-run, one one-hour run per point, on their internal build, and are not official InferenceX results. They have not run GPUs on the same traces, so they make no claim about Trainium2 against GPUs. The post also says a decode step is still about four times its memory floor (24.2 ms against 6.1 ms).

On price, the post lists AWS rental rates of $23.84 per terabyte-hour of accelerator memory for this machine against $48.69 for an eight-H200 box, and says these are rental prices, not serving costs.

What is claimed and what is shown

Where it stands

YC lists RunAnywhere as active, with Sanchit Monga as founder and CEO and Shubham Malhotra as founder and CTO. The company says it spent nine months on on-device engines before pointing the same work at data-centre chips. The pages we read state no funding. As next steps the trnRT post lists kernels that remove the remaining per-call cost and a loop that runs each expert in the model once for all its tokens.

Sources

Sources

Related stories

More from Lab to Launch

All stories from Lab to Launch