DeepSeek-V4-Flash-0731 GGUF โ Quantized by BatiAI
The 2026-07-31 refresh of DeepSeek-V4-Flash โ quantized from the official weights, verified in Korean. 284B-A13B MoE with CSA+HCA hybrid attention. Runs on a single high-RAM Mac.
๐ฆ Quantizations
| Quant | Size | Shards | Best for |
|---|---|---|---|
| Q3_K_M | 135 GB | 4 | M4 Max 128GB (tight) โ 192GB Mac Studio |
| Q4_K_M | 172 GB | 4 | M2 Ultra 192GB / server |
Built directly from official DeepSeek weights via a Q8_0 intermediate, BatiAIโsigned
(general.author: BatiAI). Q5+ intentionally omitted โ the size/benefit tradeoff doesn't
land on any real Mac tier.
๐ What changed in 0731. Same architecture as the original V4โFlash (43 layers, 256 experts, vocab 129280) with refreshed weights โ and a new storage format: experts are stored INT8 with UE8M0 scales (
scale_fmt: ue8m0) instead of plain FP8. That is why these files are slightly larger than our earlier V4โFlash GGUFs, and why conversion needstorch>=2.7(E8M0 dtype).
โ Verified (this build, Q3_K_M)
Captured greedy runs โ not copied from the base model card:
| Test | Output |
|---|---|
| Math | 127+58= โ 185 |
| Korean | "์์ธ์ ๋ํ๋ฏผ๊ตญ์ ์๋๋ก, ์ญ์ฌ์ ํ๋๊ฐ ๊ณต์กดํ๋ ์ญ๋์ ์ธ ๋์์ ๋๋ค. / ๋ถ๊ณ ๊ธฐ๋ ๋ฌ์ฝคํ ๊ฐ์ฅ ์๋ ์ ์ฌ์ด ์๊ณ ๊ธฐ๋ฅผ ๋ถ์ ๊ตฌ์๋ด๋โฆ / ๋น๋น๋ฐฅ์ ๋ฐฅ ์์ ๋ค์ํ ๋๋ฌผ๊ณผ ๊ณ ๊ธฐ, ๊ณ ์ถ์ฅ์ ์น์ดโฆ / ๊น์น๋ ๋ฐฐ์ถ๋ฅผ ์๊ธ์ ์ ์ฌ ๊ณ ์ถง๊ฐ๋ฃจ์ ์ ๊ฐ ๋ฑ์ผ๋ก ์๋ ํด ๋ฐํจ์ํจโฆ" โ fluent, zero token mixing or loops |
| Tool call | {"tool":"get_weather","args":{"city":"๋ถ์ฐ"}} โ exact JSON |
๐ Usage
โ๏ธ Runtime: batiai/bati.cpp โ DeepSeekโV4's CSA+HCA hybrid attention (
deepseek4) is not in mainline llama.cpp. Build our fork.
hf download batiai/DeepSeek-V4-Flash-0731-GGUF "DeepSeek-V4-Flash-0731-Q3_K_M-*.gguf" --local-dir ./v4f
./llama-cli -m ./v4f/DeepSeek-V4-Flash-0731-Q3_K_M-00001-of-00004.gguf -ngl 99 -c 8192
โ ๏ธ Two things the base repo doesn't tell you (we hit both)
- No chat template ships with this model โ neither the original nor the GGUF has one.
Use DeepSeek's format explicitly:
<๏ฝUser๏ฝ>your question here<๏ฝAssistant๏ฝ> - CUDA offload used to abort in
ggml_cuda_op_concat(GGML_ASSERT(src0->type == GGML_TYPE_F32)) because the backend advertised concat support for types its kernel can't handle. Fixed in bati.cpp โ the CUDA backend now reports concat support only for F32, so those nodes fall back to CPU instead of crashing. Use bati.cpp at or after that fix, or run CPU/Metal. (Apple Metal users were never affected.)
โจ What BatiAI did
- Quantized from the official DeepSeek weights โ never a reโquant of someone else's GGUF
- Handled the new UE8M0 / INT8โexpert storage format end to end
- Verified in Korean โ most GGUF publishers never check this
- Fixed the runtime bug we found along the way, in the open, in bati.cpp
- BatiAI metadataโsigned
๐ License โ MIT
Base model ยฉ DeepSeek, MIT. Quantized weights redistributed under the same terms.
Who we are. BatiAI builds onโdevice Korean AI โ BatiFlow runs LLMs, speechโtoโtext (batisay), document OCR (batisee) and speaker diarization locally on a Mac. No audio, no documents, no prompts leave the device. Browse the whole line at huggingface.co/batiai.
- Downloads last month
- 251
3-bit
Model tree for batiai/DeepSeek-V4-Flash-0731-GGUF
Base model
deepseek-ai/DeepSeek-V4-Flash-0731