# How to make HuggingFace model deterministic? (Informer)

**URL:** <https://discuss.huggingface.co/t/how-to-make-huggingface-model-deterministic-informer/36440>\
**Category:** 🤗Transformers\
**Created:** [April 13, 2023, 10:39am UTC](https://discuss.huggingface.co/t/how-to-make-huggingface-model-deterministic-informer/36440 "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](https://discuss.huggingface.co/u/SnailTheSnail)\
**Post date:** [April 13, 2023, 10:39am UTC](https://discuss.huggingface.co/t/how-to-make-huggingface-model-deterministic-informer/36440/1 "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?
