Skip to content

fix: random module seeding #3846

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

Merged
merged 1 commit into from
Jun 22, 2023
Merged

fix: random module seeding #3846

merged 1 commit into from
Jun 22, 2023

Conversation

sayakpaul
Copy link
Member

Fixes: https://github.com/huggingface/diffusers/actions/runs/5322349636/jobs/9638675888#step:7:13247

FAILED tests/others/test_training.py::TrainingTests::test_training_step_equality - AttributeError: 'builtin_function_or_method' object has no attribute 'seed'

Tested on V100 and the environment as configured in https://github.com/huggingface/diffusers/blob/main/.github/workflows/push_tests.yml.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@patrickvonplaten
Copy link
Contributor

Nice catch!

@patrickvonplaten patrickvonplaten merged commit 13e781f into main Jun 22, 2023
@patrickvonplaten patrickvonplaten deleted the fix/set_seed branch June 22, 2023 10:27
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
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