Skip to content
Language models

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.jinja
Read moreDetails
File 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.
Discuss Telegram 0 1

Will it run?

Working out the memory needs

The bot is still collecting this model's weight sizes; the estimate will appear here in a few minutes. Meanwhile you can rent a GPU with headroom.

Massed ComputeOpen Massed Compute

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # tomas123123/Coder390-27B-Q4LynnStyle-Q4MTP-ninfer-v3
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download tomas123123/Coder390-27B-Q4LynnStyle-Q4MTP-ninfer-v3 --local-dir ~/models/Coder390-27B-Q4LynnStyle-Q4MTP-ninfer-v3
    # The model is in ~/models. How to run it is in the model card (link above).
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b42from December 2, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

  • MTP (multi-token prediction)0.34.0from November 16, 2026new release

    1.5–2× generation speed

    If the model has MTP layers (DeepSeek-V3/R1, Qwen3-Next, GLM, MiMo and others), it predicts several tokens per step itself.

    How to enable: vLLM / SGLang: --speculative-config '{"method": "mtp", "num_speculative_tokens": 1}'. Check the model card.

    Earlier generations (2)
    • EAGLE-3 — Speculative decoding with a small draft head. For models without their own MTP layers.
    • EAGLE-2 / Medusa — Earlier draft-head generations. Still work if that is all you find.
  • FP8 KV cache0.34.0from November 16, 2026new release

    2× more context in the same memory

    Keeps the attention cache in 8 bits, so long contexts fit where they did not.

    How to enable: vLLM: --kv-cache-dtype fp8; llama.cpp: -ctk q8_0 -ctv q8_0.

  • vLLM / SGLang0.34.0from November 16, 2026new release

    many times more tokens/s on a server

    Server engines: batching, FlashAttention, FP8 and speculative decoding out of the box.

    How to enable: vllm serve <model> — an OpenAI-compatible API.

    Earlier generations (1)
    • llama.cpp — GGUF models on any GPU, Mac or even CPU; some layers can stay in RAM.

Model family

New posts about versions of Coder390-27B-Q4LynnStyle-Q4MTP-ninfer-v3 (quants, finetunes, LoRAs) will show up under the bell.

No known relatives of this model yet. All derivatives on Hugging Face

About the model

tomas123123/Coder390-27B-Q4LynnStyle-Q4MTP-ninfer-v3
Author
tomas123123
Category
Language models
Released
Posted

On NeyroLearn

Hugging Face

10

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments