2026-10-17 20:42 UTC
All I’m saying is that determinism has a specific meaning in computer science. An LLM is code, and code is deterministic. Given the same inputs, it always produces the same output. It does not matter whether the user understands the code or operation at all. It is purely dependent on the program itself.
A non-deterministic program, is one where the output is determined by factors outside the code itself. This usually requires non-deterministic programming language constructs. For example, if you convert a set to a list in python, the order of the elements is non-deterministic. Out of the control of the program. Same inputs, different output.
Replies (1)
-
@no_name_dev_from_hell@programming.dev 2026-10-18 05:46
The seed is generated by an random sampling algorithm that works on the epoch. Yes if you keep the seed fixed, the outcome will be the same but the seed is not the same, and you don’t have any control on it anyways when you’re using an api.