Skip to content
Research

FlashSampling: Fast and Memory-Efficient Exact Sampling.

arXiv:2603.15854v3 Announce Type: replace-cross Abstract: Sampling from a categorical distribution is mathematically simple, but in large-vocabulary decoding, it often triggers extra memory traffic and extra kernels after the LM head. We present FlashSampling,

arXiv cs.AIResearch source·