# How to make HuggingFace model deterministic? (Informer)

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-make-huggingface-model-deterministic-informer%2F36440%3E%5C
**Category:** 🤗Transformers\
**Created:** [April 13, 2023, 10:39am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-make-huggingface-model-deterministic-informer%2F36440 "2023-04-13T10:39:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SnailTheSnail](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@SnailTheSnail](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FSnailTheSnail)%5C
**Post date:** [April 13, 2023, 10:39am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-make-huggingface-model-deterministic-informer%2F36440%2F1 "2023-04-13T10:39:02Z")

</div>

I am using Informer architecture and I noticed that even though I have set `torch.manual_seed(0)` the output of the model is still not deterministic and not possible to reproduce. How can I make it reproducible?
