Skip to content

Conversation

@jiqing-feng
Copy link
Contributor

The test cannot always pass due to result unstable, so I use torch.use_deterministic_algorithms(True) just like here to get stable result so the test can always pass.

@jiqing-feng
Copy link
Contributor Author

Hi @sayakpaul , could you please review this PR?

Copy link
Member

@sayakpaul sayakpaul left a comment

Choose a reason for hiding this comment

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

Should we not use the same in test_mixed_int8.py as well?

@jiqing-feng
Copy link
Contributor Author

Should we not use the same in test_mixed_int8.py as well?

Right, thanks for your reminder.

@sayakpaul sayakpaul merged commit 0f91f2f into huggingface:main Jun 6, 2025
8 checks passed
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