Files
vllm/tests
Woosuk KwonandClaude 50cfbbca7a [MRV2] Draw 64-bit uniforms for fp32 Gumbel sampling
tl.rand only resolves the uniform down to 2**-31, which hard-caps the
fp32 Gumbel noise at ~21.5 and coarsely buckets the argmax-deciding
tail. Philox already generates 128 bits per call (tl.rand discards 96),
so draw 64 bits instead and convert uint64 -> fp32 directly: the tail
now resolves down to 2**-64 (noise up to ~44.4) with no fp64 arithmetic
and no measurable cost. The fp64 path is unchanged.

Co-authored-by: Claude
Signed-off-by: Woosuk Kwon <woosuk@inferact.ai>
2026-07-03 06:22:59 +00:00
..
2026-06-23 13:11:40 -05:00
2026-07-02 12:32:05 -07:00
2026-07-01 15:36:13 +08:00
2026-07-02 17:45:23 -07:00