DeepSeek-V4-Flash for Janas-LLM

DeepSeek's own weights (284B parameters, 13B active) on a laptop with 32 GB of memory: Janas-LLM writes with this model at about 2 tok/s, its 147 GB of experts read from the NVMe as they are needed.

On a laptop with 32 GB of memory Janas-LLM
writing, cold cache (64 tokens, a 9 GB expert cache) about 2.1 tok/s
writing a 200-token chat reply, with the MTP drafts 2.2 tok/s (1.8 without)
most likely token as llama.cpp's, on three of its layers (one of each kind), 2,400 tokens 2,359 of 2,400

Measured on 19 November 2026. The comparison with llama.cpp was made on a cut-down model of three layers, because the full weights in GGUF form did not fit on the same disk; the mean logit difference was 0.028. llama.cpp has not been measured on the whole model on this laptop. Speed depends above all on how many experts fit in memory and on the disk: on other machines the figures will differ. Details: Janas README.

The machine these figures come from

  • Debian 13 (trixie) Linux, x86-64
  • Intel Core Ultra 9 185H: 6 performance cores, 8 efficiency cores, 2 low-power cores; AVX2, FMA, F16C, AVX-VNNI
  • 32 GB of DDR5-5600 memory
  • a 1 TB NVMe SSD, about 5.7 GB/s reading

These are the model's weights converted to JNS, the format of Janas-LLM, the inference engine in C of Janas, for ordinary computers, with or without a GPU. The files are read by Janas-LLM only.

Get it

Janas-LLM for Linux x86-64 (Ubuntu 22.04, Debian 12 and later), then the model:

curl -LO https://github.com/prabanta-dev/janas/releases/latest/download/janas-linux-x86_64.tar.gz
tar xf janas-linux-x86_64.tar.gz && cd janas
./janas-get deepseek-v4-flash
./janas-chat deepseek-v4-flash

janas-get downloads the files of this repository (159 GB) and checks them against the fingerprints below. The catalog entry is in Janas from its release after 19 November 2026 on. Or convert DeepSeek's checkpoint yourself, straight from Hugging Face, nothing but the JNS written to disk:

./hf2jns_ds4 hf:deepseek-ai/DeepSeek-V4-Flash deepseek-v4-flash.jns
./hf2jns_ds4 --mtp hf:deepseek-ai/DeepSeek-V4-Flash deepseek-v4-flash-mtp.jns

Files

File Size SHA-256
deepseek-v4-flash.jns 155.48 GB 37b0d0b9a74820d2f69886b14e663b363605ab0edb2a2249072ee7230223d87a
deepseek-v4-flash-mtp.jns 3.61 GB 8d46e88068b98e520b6ccc0f463d8b4cf53597dd16f72d8a5f665cfd92ec765c

Converted from deepseek-ai/DeepSeek-V4-Flash, revision 60d8d70770c6776ff598c94bb586a859a38244f1. Each shard was checked against the SHA-256 the Hub lists, and rows of the converted tensors were checked against the checkpoint decoded independently.

The model: architecture deepseek4, 43 layers. The residual is four streams mixed by Sinkhorn's hyper-connections. Attention works over one latent per position: a window of 128, compressed latents, and an indexer that chooses 512 of them. There are 256 experts, 6 a token, plus a shared expert; the first three layers choose their experts by a table of token ids. The second file is the multi-token prediction block, whose drafts the engine checks: they speed up long replies.

What was changed

  • Routed experts: the same weights to the bit. They are FP4 (E2M1) with a power-of-two scale per 32, which is MXFP4: the same codes and scale bytes, the nibbles reordered.
  • Dense matrices: re-quantized. These are FP8 E4M3 with a scale per 128 x 128 block, written as Q8_0 (blocks of 32) from each weight's exact value, as llama.cpp's converter does.
  • Token embeddings and output head: BF16, written as Q8_0.
  • Other tensors: the router is widened to F32, the norms to F32, and the token-to-expert tables to I32 (from I64). The other BF16 and F32 tensors are kept as they are.
  • The MTP block: its e_proj and h_proj are side by side as one Q8_0 matrix.

The weights are DeepSeek's, under the MIT licence (LICENSE, as DeepSeek's repository gives it). Janas is under the GPL-3.0-or-later; the converted files are not.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for prabanta-dev/DeepSeek-V4-Flash-JNS

Quantized
(139)
this model