Skip to content

Fix RNG state setting for HPU - #3936

Merged
SunMarc merged 1 commit into
huggingface:mainfrom
michaelbenayoun:fix_hpu_set_rng_state
Feb 25, 2026
Merged

Fix RNG state setting for HPU#3936
SunMarc merged 1 commit into
huggingface:mainfrom
michaelbenayoun:fix_hpu_set_rng_state

Conversation

@michaelbenayoun

Copy link
Copy Markdown
Member

What does this PR do?

The RNG state for HPUs is not properly set because rng_state is used instead of rng_type. Fixing it.

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@IlyasMoutawwakil IlyasMoutawwakil left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@SunMarc SunMarc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks !

@SunMarc
SunMarc merged commit ddfcb63 into huggingface:main Feb 25, 2026
14 of 25 checks passed
@michaelbenayoun
michaelbenayoun deleted the fix_hpu_set_rng_state branch February 25, 2026 16:53
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.

4 participants