megakernel-zoo 的做法是一個 checkpoint 配一張卡:整個 decode 步驟,包含所有層、選下一個 token、再餵回去,壓成一個 persistent CUDA kernel,token 之間不再逐算子啟動,也不再同步回 host。
README 給的數字是 batch 1 比同一張卡上最快的通用引擎快 1.13 到 1.77 倍,換掉權重存放方式的 track B 最高 2.05 倍。引擎本身是 coding agent 在固定 evaluator 上自己跑出來的,每次提交的程式碼、假設和分數都留在 runs 目錄。
代價也寫得很清楚:引擎綁死一個 checkpoint 和一種卡,steady decode 只吃 8 條序列和 2048 的 context,取樣放到 mkserve 裡跑會掉 1 到 11%。
2
1
22
Two models on the same vLLM server can pass messages to each other without a network link between them and without a shared filesystem.
The sender changes the shape of its requests, the receiver reads it back out of how its own forward pass behaves, because kernel choice and batching shift the numbers slightly. In the colour guessing game Bob got Alice's colour right 1221 times out of 1221.
They had to fine-tune the models to pick the signal up, so this isn't something that happens by itself yet. But two models served on one engine are not isolated from each other.
1
12
