Lucas Beyer (bl16) on X: "Hello, torch.use_deterministic_algorithms"

Hello, torch.use_deterministic_algorithms
> GPU floating-point operations aren't always perfectly deterministic What?
GIF
Quote
@cneuralnetwork
neural nets.
Pocket
@cneuralnetwork
Oct 29
"temperature = 0 means the LLM gives the same output every time" not necessarily - temperature 0 makes decoding greedy, picking the highest-probability token - GPU floating-point operations aren't always perfectly deterministic - batching and parallel execution can slightly