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

[examples] upgrade code for seed setting #3387

Merged
merged 2 commits into from
Feb 11, 2025
Merged

Conversation

faaany
Copy link
Contributor

@faaany faaany commented Feb 8, 2025

What does this PR do?

As the title suggests, this PR updates the code for seed setting in cv_example.py. The current code only applies for cuda device.

cc @SunMarc and @muellerzr

@faaany faaany marked this pull request as ready for review February 8, 2025 07:15
Copy link
Member

@SunMarc SunMarc left a comment

Choose a reason for hiding this comment

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

Thanks ! Just a nit

examples/cv_example.py Outdated Show resolved Hide resolved
@HuggingFaceDocBuilderDev

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.

@SunMarc SunMarc merged commit 24f8d02 into huggingface:main Feb 11, 2025
25 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.

3 participants