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

Fix test_randperm_device_compatibility for 1 GPU (#59484) #59502

Merged
merged 1 commit into from
Jun 5, 2021

Conversation

malfet
Copy link
Contributor

@malfet malfet commented Jun 5, 2021

Fixes #{issue number}

Summary:
Do not try to create tensors on 2nd device if device_count() == 1

Fixes #{issue number}

Pull Request resolved: pytorch#59484

Reviewed By: ngimel

Differential Revision: D28910673

Pulled By: malfet

fbshipit-source-id: e3517f31a463dd049ce8a5155409b7b716c8df18
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Jun 5, 2021

💊 CI failures summary and remediations

As of commit 39300ee (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@malfet malfet mentioned this pull request Jun 5, 2021
@malfet malfet merged commit bc446f6 into pytorch:release/1.9 Jun 5, 2021
@malfet malfet deleted the malfet/cp-59484 branch June 5, 2021 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants