Skip to content

Streamline RNG state setting logic#3988

Open
aaishwarymishra wants to merge 1 commit intohuggingface:mainfrom
aaishwarymishra:rng
Open

Streamline RNG state setting logic#3988
aaishwarymishra wants to merge 1 commit intohuggingface:mainfrom
aaishwarymishra:rng

Conversation

@aaishwarymishra
Copy link
Copy Markdown

Refactor the RNG state setting logic in the load_accelerator_state function for loading all the rng states from various backends.

fixes #3960

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] RNG states from multiple backends (e.g. CUDA + HPU) are saved but only one is restored on load_state

1 participant