PyTorch to ship new stateless RNG API after giffmana's year-long design push

giffmana · x · 2026-11-17

PyTorch core dev ezyang revealed an experimental (soon public) stateless RNG API that fixes the current interface's problems. giffmana shared the backstory: his way of contributing is to "complain until something happens" — he prototyped his ideal RNG design, used it in his research codebase, and wrote a detailed doc explaining why the current API couldn't support it.

The PyTorch team returned with a largely new design close to what he wanted, and after iterating on rough edges, the redesign is now landing.

Related event: PyTorch to ship experimental stateless RNG API(3 posts)→

Original post →

More from Infra

Infra channel →