Skip to content

reset deterministic in tearDownClass#11785

Merged
sayakpaul merged 6 commits into
huggingface:mainfrom
jiqing-feng:test
Jul 1, 2025
Merged

reset deterministic in tearDownClass#11785
sayakpaul merged 6 commits into
huggingface:mainfrom
jiqing-feng:test

Conversation

@jiqing-feng

Copy link
Copy Markdown
Contributor

In #11738 , we enabled deterministic but forgot to reset it to False. Setting deterministic to False in tearDownClass will make the deterministic only have impacts for the test class and won't influence other tests.

@jiqing-feng jiqing-feng marked this pull request as draft June 24, 2025 05:25
@jiqing-feng jiqing-feng marked this pull request as ready for review June 24, 2025 06:58
@jiqing-feng

Copy link
Copy Markdown
Contributor Author

Hi @sayakpaul . Could you please review it? Thanks!

@jiqing-feng

jiqing-feng commented Jul 1, 2025

Copy link
Copy Markdown
Contributor Author

Hi @sayakpaul . Please let me know if anything needs to be changed before merging. Thanks!

@sayakpaul sayakpaul merged commit f3e1310 into huggingface:main Jul 1, 2025
7 checks passed
@sayakpaul

Copy link
Copy Markdown
Member

Thanks for your contributions!

tolgacangoz pushed a commit to tolgacangoz/diffusers that referenced this pull request Jul 5, 2025
* reset deterministic in tearDownClass

Signed-off-by: jiqing-feng <jiqing.feng@intel.com>

* fix deterministic setting

Signed-off-by: jiqing-feng <jiqing.feng@intel.com>

---------

Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
@jiqing-feng jiqing-feng deleted the test branch May 27, 2026 06:39
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.

3 participants