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

Initialize benchmarks with device type. #7321

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

ysiraichi
Copy link
Collaborator

This PR makes benchmark initialization more consistent. This is in line with pytorch/benchmark#2292, which makes moco check for xla device for initializing its process group.

cc @miladm @vanbasten23 @zpcore

@ysiraichi
Copy link
Collaborator Author

I haven't tested this PR on a TPU machine (I don't have access to one). @zpcore Could you test if it works on TPU benchmark runs?

Copy link
Collaborator

@zpcore zpcore left a comment

Choose a reason for hiding this comment

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

Works fine for TPU, thanks!

@ysiraichi ysiraichi merged commit bb27cb2 into master Jun 21, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants