pytorch
5271494e - [CUDA graphs] Fixes errors in RNG seed (#84967)

Commit
2 years ago
[CUDA graphs] Fixes errors in RNG seed (#84967) Fixes #84614 Prior to this PR CUDAGraph did not store the RNG seed, that is why `torch.cuda.manual_seed(new_seed)` would only reset the offset but not update the seed at all keeping whatever value was used during graph capture. Pull Request resolved: https://github.com/pytorch/pytorch/pull/84967 Approved by: https://github.com/ngimel
Author
Committer
Parents
Loading