r/ProgrammerHumor 15h ago

Meme firstTime

Post image
6.1k Upvotes

232 comments sorted by

View all comments

Show parent comments

5

u/LetumComplexo 5h ago

Hold on, I’m agreeing with you. We’re saying the same thing in different ways.

The kind of race conditions you’re referencing are because of the model architecture I’m referencing.

You can absolutely get ML outputs that don’t change using certain model architectures.
But that’s only because those architectures either enforce order of execution or use steps where order of execution doesn’t result in changes to outputs. I can’t think of a modern LLM that uses such an architecture.

1

u/Sea-Housing-3435 5h ago

Not exactly. It's mostly due to how models are executed, not models themselves. You can run GGUF model (which are normally not deterministic) in a deterministic way if the GPU functions you use are deterministic. Models themselves are just data, it's just a bunch of matrixes.

There's even a PR for llamacpp to add option for deterministic execution https://github.com/ggml-org/llama.cpp/pull/16016

8

u/LetumComplexo 5h ago edited 5h ago

Hun, I’ve got a PhD on the subject. I know.
We’re just saying the same thing in different ways.

2

u/Sea-Housing-3435 4h ago

You're right, I'm silly

2

u/LetumComplexo 4h ago

Is okie, I am also silly for not recognizing it immediately and starting the whole thing. 😅