---
title: "Discussion on \"Same model, same prompt, different answer: where LLM nondeterminism really comes from\" | Hashnode"
description: "Discussion on \"Same model, same prompt, different answer: where LLM nondeterminism really comes from\". Originally published on dev.to. Every number below comes from a script I ran on my laptop (PyTorch 2.10, CPU, 8 threads). The script is at the end, so you can run it on yours.\n\nSet temperature to 0. S"
url: "https://hashnode.com/posts/same-model-same-prompt-different-answer-where-llm-nondeterminism-really-comes-from/6b0c5ba4ecbc180c51788f75"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Same model, same prompt, different answer: where LLM nondeterminism really comes from](https://vahana.hashnode.dev/same-model-same-prompt-different-answer-where-llm-nondeterminism-really-comes-from?utm_source=hashnode&utm_medium=feed)

Originally published on dev.to. Every number below comes from a script I ran on my laptop (PyTorch 2.10, CPU, 8 threads). The script is at the end, so you can run it on yours. Set temperature to 0. S

1d ago · 6 min read · vahana.hashnode.dev  
Read the article

-   [#llm](https://hashnode.com/tag/llm)
-   [#machine-learning](https://hashnode.com/tag/machine-learning)

## Written by

[Vahana](https://hashnode.com/@vahana)

@vahana

  
[View profile](https://hashnode.com/@vahana)

Notes on LLM inference, GPU/CPU kernels, MoE serving and reproducible AI. Every number comes with the script that produced it.

Vahana is an open-source engine for exact Mixture-of-Experts inference: models bigger than your GPU, bit-identical output on any CPU or GPU. pip install vahana

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
