Views
No views yet
deepseek-ai/DeepSeek-V4-Flash-0731
release for DSV4-aware Apple Silicon MLX runtimes, with QAT-grade
error-compensated weight codes on all routed experts.9e165c30e2704aec5d9d593cce3eebd58bbef1cb.| Source | deepseek-ai/DeepSeek-V4-Flash-0731 |
| Source revision | 9e165c30e2704aec5d9d593cce3eebd58bbef1cb |
| License | MIT, inherited from upstream |
| Format | JANG mixed affine, GPTQ-optimized codes |
| Bundle size | 102.00 GB / 94.995 GiB |
| Weight shards | 102 |
| Indexed tensor keys | 101,295 |
| Context configuration | 1,048,576 tokens with YaRN |
| Runtime cache schema | deepseek_v4_v9 |
| Measured decode | ~20 tok/s steady on a 128 GB M5 Max, stock OS config |
| MTP / DSpark | Dropped from this runtime artifact |
temperature=0.6 is now the stamped
deployment default (see below).low, high, and max reasoning effort, with Low as the
reasoning default.mlx_lm quant. A loader that applies one global bit
width cannot interpret this bundle correctly.| Tensor role | Bits | Group size | Policy |
|---|---|---|---|
Routed expert gate / w1 | 2 | 64 | Default |
Routed expert gate / w1 in layers 5, 14, 30, 34, 37, 42 | 3 | 64 | Quality lifts |
Routed expert down / w2 | 2 | 32 | All routed layers |
Routed expert up / w3 | 2 | 64 | All routed layers |
| Attention, Compressor, Indexer, shared expert | 8 | 64 | Non-routed fidelity floor |
| Token embedding and output head | 8 | 64 | Bookends |
| Norms, router, mHC, sinks and controls | Source dtype | — | Critical F32 retained |
chat_template.jinja and leaves
tokenizer_config.json.chat_template unset. Use
encoding/encoding_dsv4.py:1from encoding.encoding_dsv4 import (
2 encode_messages,
3 parse_message_from_completion_text,
4)
5
6messages = [{"role": "user", "content": "Explain why 17 is prime."}]
7
8# Native default reasoning: thinking mode, Low effort.
9prompt = encode_messages(messages, thinking_mode="thinking")
10
11# Non-reasoning / Instruct behavior.
12chat_prompt = encode_messages(messages, thinking_mode="chat")
13
14# Explicit 0731 reasoning rails.
15high_prompt = encode_messages(
16 messages, thinking_mode="thinking", reasoning_effort="high"
17)
18max_prompt = encode_messages(
19 messages, thinking_mode="thinking", reasoning_effort="max"
20)thinking_mode="chat";thinking_mode="thinking", reasoning_effort="low";reasoning_effort="high";reasoning_effort="max".<tool_result>...</tool_result> blocks. See
encoding/README.md for the complete OpenAI-compatible
message conversion and parser contract.generation_config.json contains:1do_sample=true
2temperature=0.6
3top_p=0.95
4top_k=0
5bos_token_id=0
6eos_token_id=1temperature=0.6 is this bundle's deliberate deployment default, tuned for
coding and agentic use (it is also the setting DeepSeek used for DSV4 pass@1
coding evaluation). The upstream model card documents 1.0 as its general
default; clients may explicitly select it, or any other policy, per request.
The same defaults are declared in jang_config.json chat metadata so both
declarations agree. There is no non-neutral repetition-penalty override.1 and the 0731 role-boundary tokens
User 128803, Assistant 128804, and latest-reminder 128828 where the API
surface uses boundary stopping.DSV4_POOL_QUANT=0 only
for an explicit diagnostic comparison.1hf download OsaurusAI/DeepSeek-V4-Flash-0731-JANG \
2 --local-dir ~/models/DeepSeek-V4-Flash-0731-JANGdeepseek-ai/DeepSeek-V4-Flash-0731 릴리스를 Apple Silicon
용으로 AWQ 및 diagonal imatrix가 적용된 affine JANG 양자화에 GPTQ 계열
오류-보상 코드 최적화를 더한 94.995 GiB 번들입니다. 저장 포맷과 커널은
기존과 동일하며, 배포 기본 샘플링은 코딩에 맞춘 temperature 0.6 / top-p
0.95입니다. 기본 추론 모드는 Reasoning Low이고 Low/High/Max와 비추론
Instruct 모드를 지원합니다. vMLX Python 0.22에서 이 번들 그대로 일관된
생성(정확한 지시 수행, 코드 식별자 재현, 도구 호출)과 128 GB M5 Max 기준
약 20 tok/s 디코드를 확인했습니다. 장문 컨텍스트 전체 매트릭스는 아직
완전히 재검증되지 않았습니다.