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

Ensure decoder mask is on same device as other tensors #1977

Merged

Conversation

joecummings
Copy link
Contributor

In testing on a Bento notebook, located another device mismatch bug that - if user was using a GPU and decoder - the decoder mask would be on the CPU.

Test plan: N2615118

Should unblock AI for CS workflow and others.

Copy link
Contributor

@Nayef211 Nayef211 left a comment

Choose a reason for hiding this comment

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

LGTM

@joecummings joecummings merged commit 055778d into pytorch:main Oct 31, 2022
@joecummings joecummings deleted the complete-device-mismatch-bug-fix branch October 31, 2022 21:24
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.

3 participants