determinism
2 readings ordered as a path, each with one line on why it earns your time.
Current work, at the depth practitioners actually argue about.
- toolDeepInfer: DeepSeek's inference framework
The engine behind DeepSeek's own production service, open-sourced for DeepSeek-V4.1-Flash on NVIDIA SM100 and Huawei Ascend 950. It is one place to see FlashMLA, DeepGEMM and DeepEP wired together with attention data parallelism, expert parallelism with load balancing, and a scheduler that overlaps batch preparation with the GPU. Two details are worth reading closely. Speculative decoding verifies drafts on a confidence schedule instead of a fixed length. Batch-invariant kernels with deterministic sampling make output independent of what else is in the batch, on NVIDIA only. This release runs offline only. The KV cache system, prefill and decode disaggregation and load balancing across replicas are left out, so it shows the inside of one replica, not the whole service.
#kernels#moe#speculative-decoding#determinism#scheduling - articleDefeating Nondeterminism in LLM Inference
Temperature zero is not determinism. A thousand identical requests gave eighty different completions, because kernel output depends on batch size, and batch size depends on who else is on the server.
Horace He#determinism#kernels#batching