Cohere · 8 सित॰ 2026 · उल्लेखनीय
Cohere megakernel — एक CUDA फ़ाइल से North Mini Code, vLLM से तेज़ चलता है
संक्षेप में
Cohere ने North Mini Code के लिए एक decode megakernel को ओपन सोर्स किया है, जो एक single H100 पर vLLM से end to end 1.25x से 1.41x तेज़ चलता है। यह पूरे decode step को बिना किसी compiler dependency के एक persistent CUDA kernel में जोड़ देता है।
Cohere · 8 सित॰ 2026 · 2 जाँचे गए स्रोत

Cohere ने North Mini Code के पूरे decode step को एक single persistent CUDA kernel में फ़्यूज़ कर दिया है।
मुख्य स्पेक्स
| Decode throughput | 292 tok/s on one H100 |
|---|---|
| Speed vs v llm (batch 1) | 1.58x |
यह क्या है?
Cohere ने North Mini Code के लिए एक serving engine प्रकाशित किया है, जो decode megakernel पर आधारित है, और CUDA source को GitHub पर Apache-2.0 लाइसेंस के तहत जारी किया है। North Mini Code Cohere का 30B mixture-of-experts coding model है, जिसमें हर token पर 3.3B parameters active रहते हैं। यह engine एक single NVIDIA H100 को लक्ष्य करता है, batch size आठ तक सपोर्ट करता है, और इसके लिए CUDA 13, Python 3.12 और Linux चाहिए।
यह कैसे काम करता है?
Megakernel किसी decode step के कई छोटे GPU operations को एक persistent kernel में जोड़ देता है, ताकि launches के बीच GPU कभी खाली न बैठे। Cohere के अनुसार H100 पर batch size 1 में यह 292 tokens per second देता है, जो उस hardware की theoretical speed-of-light का 62% है, और vLLM v0.24 की तुलना में decode speed 1.58x है। AIME 2025, GPQA, MMLU-Pro, SciCode और LiveCodeBench पर end to end मापने पर यह engine 1.25x से 1.41x तेज़ है, और accuracy सामान्य run-to-run spread के भीतर रहती है।
यह क्यों मायने रखता है?
किसी छोटे mixture-of-experts model को अच्छी तरह serve करना मुख्य रूप से launch-overhead की समस्या है, गणित की नहीं, और यह दिखाता है कि कितनी क्षमता अभी बाकी है: वही H100, वही weights, end-to-end throughput में 41% तक ज़्यादा। Cohere इस kernel को बिना compiler dependencies वाली एक single CUDA फ़ाइल के रूप में जारी करता है, इसलिए यह अपना persistent kernel लिखने वालों के लिए एक व्यावहारिक उदाहरण के रूप में भी काम करता है।
यह किसके लिए है?
inference engineers और CUDA developers
आज़माएँ
git clone --recurse-submodules https://github.com/cohere-ai/cohere-megakernel