← deepseek-ai/DeepSeek-V3
CodeVetter · Repo Unpack · Risk map

deepseek-ai/DeepSeek-V3

Scanned commit 9b4e9788e4 dated 2025-08-28 — last upstream commit. Generated by codevetter codevetter 1.12.0 on 2026-09-22. Deep analysis by swe-2 via the devin CLI on 2026-09-22 (runtime not recorded).

The codebase is a demo, and its risks match: correctness depends on runtime asserts (stripped under -O), module-level globals that must be set before model construction, a hardcoded dim==7168 special case in Gate, and silent behaviors like dropping all layer-61 (MTP) weights during conversion. The distributed path uses pickle-based broadcast_object_list and suppresses stdout on non-zero ranks. Memory is pre-allocated aggressively (full-length KV caches). There is no input validation on paths and no test coverage anywhere.