238
submitted 2 days ago* (last edited 2 days ago) by inari@piefed.zip to c/technology@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] theunknownmuncher@lemmy.world 5 points 1 day ago

Setting the temperature parameter to 0.00 makes an LLM deterministic.

[-] sunbeam60@feddit.uk 0 points 17 hours ago

No. Floating point arithmetic and ordering of operations won’t make 0.0 deterministic.

[-] theunknownmuncher@lemmy.world 1 points 16 hours ago* (last edited 14 hours ago)

Um... yes. Matrix multiplication is deterministic, there's nothing non-deterministic about an LLM, unless you artificially add randomness to them, like randomly selecting 1 of the top N ranked tokens.

[-] sunbeam60@feddit.uk 1 points 3 hours ago* (last edited 3 hours ago)

The function is deterministic, agreed. The implementation is almost always not. Hardware floating point addition is not associative. So a GPU kernel that splits a reduction differently (ie interleaving it with anything else, like running your graphics, or sharing your work with other users on the same hardware) will produce different results over different runs even at temperature 0.0.

Determinism is almost always impossible when dealing with floating point on a multi-process/multi-user system.

There are attempts to create batch invariant language models (https://github.com/thinking-machines-lab/batch_invariant_ops) but all the major ones are not.

this post was submitted on 17 Aug 2026
238 points (89.1% liked)

Technology

87315 readers
3458 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS