whn09 ee9e3aaed9 Neuron DSpark: draft sampling as one region graph for greedy rows; token embedding on device by default
- DFlash._greedy_drafts: post norm, LM head, Markov bias, confidence head and
  the argmax of the 5 draft steps as one region graph when every row is greedy
  with no top-p/top-k filter.
- DEEPINFER_NEURON_HOST_EMBED defaults off: in torch-neuronx every host<->device
  copy drains the stream, and the host lookup (D2H ids, H2D rows) left the cores
  idle for 50-100 ms gaps between the draft graphs (runtime trace bench36).
- Eager device embedding lookups are one F.embedding with a validity mask (no
  host scalar operand).
- bench34 / bench37 (512 in, 128 out, TP=64, nextn=5): TPOT 268.2 -> 264.0 ->
  234.7 ms, step 1025 -> 907 ms, TTFT 5.44 -> 5.01 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 06:06:50 +08:00
..
eplb initial commit 2026-10-20 12:09:42 +08:00
input_metadata initial commit 2026-10-20 12:09:42 +08:00
layers Neuron DSpark: draft sampling as one region graph for greedy rows; token embedding on device by default 2026-10-25 06:06:50 +08:00
models Neuron DSpark: draft sampling as one region graph for greedy rows; token embedding on device by default 2026-10-25 06:06:50 +08:00
parallel_utils initial commit 2026-10-20 12:09:42 +08:00
__init__.py initial commit 2026-10-20 12:09:42 +08:00
layer_utils.py initial commit 2026-10-20 12:09:42 +08:00
model_loader.py Neuron: CP group as a replicated-decode group; MoE all-reduce mode (#28) 2026-10-23 22:46:04 +08:00
model_metadata_utils.py Neuron: prompt chunks through the decode region graphs (issue #26) 2026-10-23 03:19:56 +08:00
model_output.py initial commit 2026-10-20 12:09:42 +08:00
sampling_inputs.py initial commit 2026-10-20 12:09:42 +08:00
utils.py Neuron: static decode graphs, static-shape MoE, trn2 e4m3 fp8 (issues #9, #12, #24) 2026-10-22 11:59:37 +08:00