Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(test): correct nightly tests with random sampling #117

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

tengomucho
Copy link
Collaborator

What does this PR do?

Since the random sampling has changed, some tests were now broken. It seems that when the seed is 0, the sampling gets really close to whatever the greedy search was doing. To avoid further issues, the seed has been set to something else.

Note this has been validated with https://github.com/huggingface/optimum-tpu/actions/runs/11949379268/job/33308708427

Since the random sampling has changed, some tests were now broken.
It seems that when the seed is 0, the sampling gets really close to
whatever the greedy search was doing. To avoid further issues, the seed
has been set to something else.
Copy link
Contributor

@baptistecolle baptistecolle left a comment

Choose a reason for hiding this comment

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

LGTM

@tengomucho tengomucho merged commit e7474e0 into main Nov 21, 2024
4 checks passed
@tengomucho tengomucho deleted the fix-nightlies branch November 21, 2024 10:54
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.

2 participants