Coder390-27B Q4LynnStyle
a model for code generation and long-context analysis
2 min readupdated
The new 27.78B-parameter language model is built on the Qwen3.5 architecture (a hybrid mix of attention and GDN linear layers) with a strong focus on programming and repository-level tasks. It comes in an optimized .ninfer format featuring hybrid quantization (averaging 5.74 bits per parameter) and native support for a massive context window of up to 262K tokens. The model combines a text component, an MTP (Multi-Token Prediction) head to accelerate generation, and a vision module. It is an ideal fit for developers looking to run an advanced coding agent or assistant locally on high-end GPUs.
Key features
- Hybrid architecture: Combines classic attention with Qwen-based linear context GDN layers.
- Massive context: Supports a logical window of up to 262K tokens (practically stable at 100K–131K).
- Precise quantization: The Q4LynnStyle variant uses mixed-precision distribution (ranging from Q4 to Q8) across layers to maximize quality retention.
- Built-in MTP: An integrated text generation acceleration head (Q4_0 MTP) baked right into the model weights.
What you can do
- Run a local server: Spin up a backend for writing, reviewing, and debugging code using an OpenAI-compatible NInfer engine.
- Analyze repositories: Ingest large source code files thanks to long-context support.
- Tune reasoning: Control the length of the model's chain of thought via generation parameters (including a direct-answer mode).
Example
Launching the model server with a 100K token context and MTP prediction:
ninfer-serve.exe Coder390-27B-Q4LynnStyle-Q4MTP-ninfer-v3.ninfer ^
--model-id coder390-q4 --device 1 --host 127.0.0.1 --port 19099 ^
--max-context 102400 --kv-capacity 102400 --kv-dtype rk8v4 ^
--gdn-state-fp16 ^
--spec mtp --draft-tokens 3 ^
--default-reasoning-effort none ^
--chat-template chat_template.jinjaRead more
DetailsFile size: 18.55 GiB (19.91 billion bytes).
Hardware requirements: Tested on an RTX 3090 (24 GB) with 131K context.
Metrics (author's): GPQA — 175/198, MMLU — 448/500, LiveCodeBench — 89/100.
Features: Weights obtained by repacking from the author's repository without additional fine-tuning.










Comments