~/talk

DualPipe from Scratch: Implementing DeepSeek's 5D Parallelism in PyTorch

links:none on file
slides:none on file

Implementation-first walkthrough of a PyTorch DualPipe reference that reproduces DeepSeek V3 at 2,048+ GPUs and explains the missing details: exact warm-up formula warmup = floor(P/2) + 2(M-1) that yields 3% bubble overhead and avoids deadlocks; why K_PE is shared across heads* in decoupled RoPE; bias update must run before routing and EMA init = 1/num_experts; sigmoid routing separates selection from gate weights; fix causal-mask offsets; hierarchical all-to-all halves inter-node traffic. Code and tests on github.com/DevJadhav/deepseek-from-scratch.

AI-written summary · about

  1. 0:00DualPipe introduction
  2. 1:03What is DualPipe
  3. 4:36DualPipe in PyTorch
  4. 6:02Warm-up formula
  5. 7:25PyTorch schedule
  6. 8:30Async communication
  7. 9:32First silent bug
  8. 10:37Second silent bug
  9. 12:02Third silent bug
  10. 12:43Tensor parallelism
  11. 13:26Hierarchical all-to-all
  12. 14:28Fourth silent bug
  13. 15:32Fifth silent bug
  14. 16:13Three abstractions
  15. 17:19Benchmark results
  16. 18:25Why DualPipe matters
  17. 19:28Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.