Add CohereLabs/North-Mini-Code-1.0 recipe - #748
Open
abtraore wants to merge 1 commit into
Open
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces the model configuration for Cohere's North-Mini-Code-1.0, a 30B Mixture-of-Experts model, detailing its architecture, dependencies, features, and deployment variants. Additionally, Cohere Labs is registered as a provider in src/lib/providers.js. I have no feedback to provide on these changes.
abtraore
force-pushed
the
add-north-mini-code
branch
from
August 5, 2026 02:20
910a55c to
5703d11
Compare
abtraore
force-pushed
the
add-north-mini-code
branch
from
August 5, 2026 02:29
5703d11 to
dcaae99
Compare
Cohere's first open-weights agentic coding model (30B-A3B MoE, Apache 2.0), with the FP8 checkpoint as a variant. Registers the CohereLabs provider. Signed-off-by: abtraore <abdrahtraore97@gmail.com>
abtraore
force-pushed
the
add-north-mini-code
branch
from
August 5, 2026 02:31
dcaae99 to
2d00456
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a recipe for CohereLabs/North-Mini-Code-1.0 — Cohere's first open-weights agentic coding model (June 2026, Apache 2.0): 30B-total / 3B-activated MoE (128 experts, top-8 sigmoid routing, interleaved SWA-4096 + global attention), 256K context with 64K output. First CohereLabs recipe in the catalog, so this also registers the provider.
What's in the recipe
--moe-backend tritonper the card, VRAM sized from the real 32 GB footprint since attention/router/lm_head stay high-precision).KeyError: 'layers.0.mlp.down_proj.weight'([Bug]: cohere2_moe failing withvLLM>=v0.22.1vllm#46366, a Transformers >= 5.10 config interaction fixed by [Cohere] Fix Cohere2MoE weight loading when using Transformers ≥5.10 vllm#44747, first in a stable release at v0.24.0). The guide documents the trap.cohere_melody>=0.9.0dependency — thecohere_command4tool/reasoning parsers import it at startup (the floor matches vLLM's own test requirements); the guide notes the official Docker images don't bundle it and shows the 2-line image extension.--max-model-len 320000(the validated 256K-input + 64K-output window; config ceiling is 500000), and the card's benchmark headline numbers.meta.hardware: rtx_5090_2x: verified.Tested
Verified end-to-end on 2x RTX 5090 (TP=2) with the recipe's exact FP8 command: boots with the full
--max-model-len 320000window (15.1 GiB weights/GPU, 12.1 GiB KV, 919,703-token pool), 206 tok/s single-stream, reasoning extracted intoreasoning_content, tool-call round-trip clean. We also serve this FP8 checkpoint in production on 4x RTX 5090 (TP=4 +--enable-expert-parallel, 256K context).node scripts/build-recipes-api.mjspasses (154 models); the synthesized default command matches Cohere's reference serve command exactly.