pytorch
f3da157c - Reset rng in hf before loading a model (#90936)

Commit
2 years ago
Reset rng in hf before loading a model (#90936) Reset the rng in hf before generating input and loading model, this makes the huggingface inputs+weights deterministic depending on the seed of the rng. This matches the behavior of the other test suites. Pull Request resolved: https://github.com/pytorch/pytorch/pull/90936 Approved by: https://github.com/desertfire
Author
Committer
Parents
Loading