DeepSeek-v4-Vision (Basalt)

Unofficial community .basalt v2 conversion of deepseek-ai/DeepSeek-V4-Flash-Vision-Exp (snapshot 6821d6ad3681a4b137b066b76094fa82ebd0a380) for Basalt, a local inference engine for NVIDIA Blackwell GPUs (sm_120).

File & Bundled Sections

Section Size Contents
Total (DeepSeek-v4-Vision.basalt) 171.2 GB (159.43 GiB) Self-contained .basalt v2 pack
experts 137.06 GiB 43 MoE layers Γ— 256 routed experts (top-6 active + 1 shared), native MXFP4 (type 39)
gguf + dense 8.57 GiB + 2.77 GiB Source FP8 linear projections converted to Q8_0; embeddings, norms & other tensors in source precision
dspark 10.12 GiB Bundled 3-stage MXFP4 DSpark speculative drafter (windows up to 6 tokens by default; --spec 0 disables)
vision/mmproj 0.87 GiB (934.5 MB) deepseek4v vision encoder & projector (--vision dynamic)
deepseek4/head 266 KiB Checkpoint-sourced hc_head_* weights from model-00045-of-00048.safetensors
tokenizer/* & meta ~11 MiB JoyAI-LLM BPE tokenizer, chat template, <think> reasoning, and DSML tool-call metadata

Model Highlights

  • Architecture: deepseek4, 43 layers, 256 routed experts (6 active per token) + 1 shared expert, 4096 hidden dimension, 64 attention heads, 128-token sliding window + compressed sparse attention (indexer top-k 512).
  • Context: Up to 1,048,576 tokens (native YaRN, 16Γ— from 65,536). KV cache reserve with --kv fp8 (default) is 0.13 GiB at 64K / 1.88 GiB at 1M (vs 0.44 GiB / 6.74 GiB for --kv fp16).
  • Vision: Multimodal image understanding via --vision dynamic (encoded inside the engine using the bundled vision/mmproj projector).

Benchmarks & Quality

Measured on a single RTX 5090 (32 GiB VRAM, 475 W power limit) + DDR5 RAM (--resident-budget-gib 145, --kv fp8, default DSpark drafting, auto expert cache ~27/256 experts/layer):

Benchmark Rate (tok/s) Notes
pp16384 2,290–2,300 Engine
tg conv / struct / prose (default lossless) 36–38 / 42–44 / 38 70% VRAM, 11% PCIe, 19% CPU
tg conv / struct / prose (--route-tail-skip 3) 55–60 / 70–76 / 57 Opt-in lossy preset

Wikitext-2 100-chunk KLD gate (25,500 rows, --kv fp8, vs llama.cpp source-precision MXFP4/Q8_0 reference base PPL 4.3379):

Mode PPL Mean KLD Median KLD Top-1 Agreement
Default lossless 3.9807 Β± 0.0595 0.15465 0.03152 88.04%
--route-tail-skip 3 (opt-in lossy) 4.6074 Β± 0.0719 0.29460 β€” 82.11%

Download & Run

hf download jabbatheduck/DeepSeek-v4-Vision DeepSeek-v4-Vision.basalt --local-dir models/DeepSeek-v4-Vision
bin/basalt serve models/DeepSeek-v4-Vision/DeepSeek-v4-Vision.basalt --vision dynamic

Note: Running deepseek4 packs requires a Basalt build with DeepSeek-V4 (deepseek4) support.

Sources & License

Downloads last month
8
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for jabbatheduck/DeepSeek-v4-Vision

Quantized
(27)
this model