Labomaru AI news, briefly

Open model github.com

DeepSeek V3 implemented in 190 lines of pure JAX

A 190-line pure JAX implementation of DeepSeek V3 is available on GitHub with a downloadable checkpoint for local testing.

Image: github.com
Announced
Published
For
Developers

What was announced

  • A 190-line pure JAX implementation of DeepSeek V3 (MLA, DeepSeekMoE, aux-loss-free balancing, MTP) was trained on a MacBook Air.[1]
  • The v1.0 release includes the exact checkpoint and data from the published run.[2]
  • The implementation uses no Flax, Equinox, or PyTorch; parameters are plain dicts of arrays and the model is readable top to bottom in a single file.[3]
  • The author reports a median speed of approximately 10.7k tokens/s.[4]
  • Users can download the 138 MB checkpoint file from the v1.0 release to try the implementation locally.[5]

What it means

  • Developers seeking a readable reference for DeepSeek V3's architecture can study the single-file source directly.
  • The 10.7k tokens/s figure is a median from the author's setup; actual throughput will vary by hardware.
  • The model was trained on a MacBook Air, indicating this is a small-scale demonstration rather than a production deployment.

From the announcement

  1. [1] GitHub - Vaibhaav-Tiwari/deepseek-v3-jax: DeepSeek V3 (MLA, DeepSeekMoE, aux-loss-free balancing, MTP) in 190 lines of pure JAX, trained on a MacBook Air.
  2. [2] The v1.0 release has the exact checkpoint and data from the published run.
  3. [3] No Flax, no Equinox, no PyTorch. Params are plain dicts of arrays and every part of the model is a function you can read top to bottom in deepseek_v3.py.
  4. [4] Speed~10.7k tokens/s (median)
  5. [5] curl -L -o runs/main/ckpt.pkl https://github.com/Vaibhaav-Tiwari/deepseek-v3-jax/releases/download/v1.0/ckpt.pkl # 138 MB

Source: Show HN: DeepSeek V3 in ~200 lines of pure Jax (github.com)

Original announcement

github.com Show HN: DeepSeek V3 in ~200 lines of pure Jax Read at the source ↗

On Hacker News: 268 points, 27 comments.