mirror of
https://github.com/deepseek-ai/DeepInfer.git
synced 2026-10-29 07:17:08 +08:00
- 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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| dflash.py | ||