Basalt
nvfp4
dense

Basalt

Qwen3.8-27B for Basalt on Blackwell

Website: basalt.jgulfo.com

Model file for Basalt, a fast local inference engine for NVIDIA Blackwell (sm_120), compatible with the OpenAI and Anthropic APIs. Qwen3.8-27B is a dense model and runs on one GPU. Needs Basalt 0.4.0 or later.

Qwen3.8-27B-QUASAR-NVFP4.basalt (19.7 GiB) is self-contained: weights, tokenizer, MTP layer, DFlash 2 block drafter and vision tower. It is built from QUASAR's quantization-aware NVFP4 checkpoint:

  • GDN, attention and MLP projections: QUASAR's NVFP4, bit for bit.
  • Output head: QUASAR's BF16 head as FP8 rows, rounded once.
  • GDN a/b projections: BF16. Token embedding and vision tower: BF16, as stored.
  • MTP layer and block drafter: Q8_0 (drafts only; the model checks every draft, so they cannot change output).

Decode keeps 16-bit activations; only prompt reads use 4-bit activations, as QUASAR was trained for.

Speed

basalt-bench, one RTX 5090 at 400 W, --kv fp16, cold first runs, tokens/s. Numbers move with every release.

tok/s
Prompt read, 4k / 16k / 32k / 64k tokens 12,735 / 10,850 / 8,751 / 6,201
Decode, plain 90
Decode, drafted: chat / structured / prose 262 / 776 / 194
Decode, --parallel 2 / --parallel 4, all slots together 408 / 566

Greedy output with drafting is exactly plain greedy output. Sampled requests draw their drafts and keep them by speculative sampling, so the tokens follow the model's distribution exactly.

Quality

Measured with basalt-bench --quality: 100 chunks of wikitext-2 (512 tokens each), against the BF16 model (how quality is measured). The BF16 reference is in basalt-kld-bases.

KV cache PPL KLD mean same top-1
fp16 6.839 0.0262 92.82%
int8 6.826 0.0259 92.89%

The BF16 model's PPL on the same rows is 6.741. Every rounding the engine does is listed in the precision docs.

Run

Build the engine as described in the Basalt README, then:

hf download jesdga/Qwen3.8-27B-Basalt Qwen3.8-27B-QUASAR-NVFP4.basalt --local-dir models

basalt_config.json (int8 KV fits the full 262,144-token context on a 32 GB card):

{
  "version": 2,
  "models": [{ "model": "models/Qwen3.8-27B-QUASAR-NVFP4.basalt", "kv": "int8", "max-context": 262144, "vision": "dynamic" }],
  "server": { "port": 8080 }
}
bin/basalt serve --config basalt_config.json

The same file can be built locally with tools/convert/convert.py; see docs/model-file.md.

Sources

License

The model, QUASAR's checkpoint and the DFlash 2 drafter are Apache-2.0; this file is distributed under the same LICENSE. The Basalt engine itself is MIT.

Downloads last month
116,391
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for jesdga/Qwen3.8-27B-Basalt

Base model

Qwen/Qwen3.8-27B
Finetuned
(4)
this model