Making Long-Context Training Practical
Preparing DeepSeek V4 for 1M context: rethink attention scores, communication, loss computation, graph lifetimes, and even integer indexing.
I like figuring out how computers work, building little tools, and writing down the bits that finally make sense.
Away from the keyboard, I take photos, play Balatro and Slay the Spire, and occasionally get very invested in making hot chocolate. Some of that ends up here, too.
from my camera, with love.
Swipe or scroll sideways to browse.
For a longer read
Preparing DeepSeek V4 for 1M context: rethink attention scores, communication, loss computation, graph lifetimes, and even integer indexing.
Correcting the Critic in Asynchronous PPO, Not Just the Actor
用直觉读懂 LLM RL:GRPO、PPO Clipping、DAPO/Dr.GRPO/GSPO、Rollout、Async RL 与训推数值一致性。
In between posts
防御龙在读完 Defensive Writing In GPT Models 后依然选择防御。
一年一度的选课又来了。去年写的东西已经不能用了。今年再写一个:
Not everything needs a whole blog post.