whn09 39f8aa6eed Neuron DSpark: 6-row steps run the MoE as one region graph (5 graphs a layer)
A world all-reduce costs ~3.2 ms per graph that holds one, whatever it carries
(microbenchmark at 64 ranks: one all-reduce a graph 3.5 ms, ten chained in one
graph 3.6 ms; fp32 / bf16 and 1 / 6 rows alike), so the step pays per
collective-bearing graph, not per byte. The MoE's gate, experts, all-reduce
and shared expert now stay one graph at decode sizes (prompt chunks still
split). bench62 (512 in, TP=64, nextn=5): engine step 805 -> 740 ms.
Random-token prompts make greedy outputs chaotic, so a graph-boundary change
that moves bf16 rounding changes the generated tokens and the acceptance; the
step time is the comparable figure.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 00:01:52 +08:00
..
nki Neuron: per-layer region graphs + vllm-neuron#71 NKI kernels (issues #10, #11, #13, #25) 2026-10-22 17:36:54 +08:00
vendor Neuron engram shared tables: one file for the whole group (#28) 2026-10-24 07:08:37 +08:00
__init__.py Add AWS Trainium (Neuron) platform, basic mode — part 1 2026-10-20 18:34:51 +08:00
fp8_guard.py Neuron: tiny model on a NeuronCore matches the reference (issues #1, #2, #4) 2026-10-21 13:22:59 +08:00
fp8.py Neuron: full DeepSeek-V4.1-Flash load + decode region graphs at EP=64 (issues #21, #25) 2026-10-23 01:39:22 +08:00
neuron_compile.py Neuron: separate state regions, chunk-wide indexer context (issue #26) 2026-10-23 03:46:56 +08:00
NEURON_PORT.md Neuron: tiny model on a NeuronCore matches the reference (issues #1, #2, #4) 2026-10-21 13:22:59 +08:00
nki_attention.py Neuron table attention: decode only the blocks a decode step's requests reference 2026-10-25 17:58:11 +08:00
nki_gemm.py Neuron: block-quant GEMMs on both physical cores (grid 2); sync experiment knob (#27) 2026-10-23 11:08:05 +08:00
nki_hc.py Neuron: per-layer region graphs + vllm-neuron#71 NKI kernels (issues #10, #11, #13, #25) 2026-10-22 17:36:54 +08:00
nki_norm.py Neuron: full DeepSeek-V4.1-Flash load + decode region graphs at EP=64 (issues #21, #25) 2026-10-23 01:39:22 +08:00
nki_topk.py Neuron: nkilib rotational_topk for the sampler; single-host shared engram tables (#27) 2026-10-23 07:23:32 +08:00
op_census.py Neuron: compiled log-softmax + greedy argmax in the sampler; eager op census (#27) 2026-10-23 09:42:08 +08:00
regions.py Neuron DSpark: 6-row steps keep only coarse region splits (8 graphs a layer instead of 12) 2026-10-25 00:31:45 +08:00
static_moe.py Neuron DSpark: 6-row steps run the MoE as one region graph (5 graphs a layer) 2026-10-26 00:01:52 +08:00
transfer_to_neuron.py Neuron: static decode graphs, static-shape MoE, trn2 e4m3 fp8 (issues #9, #12, #24) 2026-10-22 11:59:37 +08:00