Floating point airthmetic is not associative, that combined with GPUs running their own scheduling algorithms and also running diffrrrent floating point formats. For wuantized models, different GPUs have different strategies for what happens if the bit width of an accumulator is exceeded (which sometimes is turning it into a floating point number and back). You would need to turn off GPU scheduling, and fully audit the quantization bit width behavior and set temperature to 0 to achieve determinism with an LLM
View all comments
Show parent comment
1
u/DrDerivative 1d ago
This is only true if the LLM doesn’t use floating point arithmetic, otherwise temp=0 is only deterministic for the same model of GPUs