DeepSeek V4 Flash DS4 Q2 Imatrix

This repository is a checksum-preserving mirror of the DS4-native DeepSeek V4 Flash Q2 imatrix artifact published by antirez/deepseek-v4-gguf at revision 9170bf42beb77f38006e016503ecace31f2bd9a0.

The quantization was produced by antirez for the ds4 inference engine. This mirror is maintained under andreaborio for availability and integration testing; it does not claim independent authorship of the quantization.

Verified artifact

Property Value
File DeepSeek-V4-Flash-IQ2XXS-w2Q2K-AProjQ8-SExpQ8-OutQ8-chat-v2-imatrix.gguf
Size 86,720,111,488 bytes (80.76 GiB)
SHA-256 efc7ed607ff27076e3e501fc3fefefa33c0ed8cf1eff483a2b7fdc0c2e616668
Base model deepseek-ai/DeepSeek-V4-Flash
Source revision 9170bf4

The mirror is copied server-side through Hugging Face Xet and accepted only when its Hub-reported size and LFS SHA-256 exactly match the source pin.

Quantization layout

  • routed expert gate/up tensors: IQ2_XXS;
  • routed expert down tensors: Q2_K;
  • attention projections, shared experts, and output head: Q8_0;
  • embedding, router, indexer, compressor, and hyper-connection tensors: selected F16/F32 types;
  • routed experts use the published DS4 activation imatrix.

This mixed layout spends precision on routing and shared/dense paths while compressing the much larger routed-expert payload.

Run locally

Use the current andreaborio/ds4 main branch on Apple Silicon:

git clone https://github.com/andreaborio/ds4.git
cd ds4
make -j

./ds4 \
  --metal --power 100 --ssd-streaming \
  -m /absolute/path/to/DeepSeek-V4-Flash-IQ2XXS-w2Q2K-AProjQ8-SExpQ8-OutQ8-chat-v2-imatrix.gguf \
  --ctx 8192

On a 64 GB Mac, SSD streaming is required. DSBox applies its guarded adaptive cache policy and monitors memory pressure and swap while the runtime is active. The 128 GB class is the more comfortable target for this 80.76 GiB artifact.

DSBox

The root dsbox.json makes the mirror explicitly installable by DSBox while leaving the checksum-pinned DwarfStar source as the catalog's recommendation. Downloads remain explicit, resumable, and pinned to one Hub revision.

Retained reference measurements

The current DSBox documentation records these bounded runs with this exact 86.72 GB GGUF:

Host Workload Generation throughput
MacBook Pro M5 Pro, 64 GB Two DSBox API requests, 22-23 prompt + 64 output tokens 9.88 / 12.86 t/s
MacBook Pro M5 Pro, 64 GB ds4-bench, 128 prompt + 64 decode tokens 13.05 / 13.59 t/s

These are measured bounded workloads, not universal throughput guarantees.

License and attribution

The source repository declares MIT. DeepSeek retains the base-model copyright; the GGUF is redistributed under the base model's release terms. Quantization credit belongs to antirez and the DS4 project.

Downloads last month
98
GGUF
Model size
284B params
Architecture
deepseek4
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for andreaborio/DeepSeek-V4-Flash-DS4-GGUF

Quantized
(106)
this model