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

Make NestedField compatible with GPU #409

Merged
merged 1 commit into from
Sep 24, 2018
Merged

Make NestedField compatible with GPU #409

merged 1 commit into from
Sep 24, 2018

Conversation

ppuliu
Copy link
Contributor

@ppuliu ppuliu commented Sep 24, 2018

Otherwise, will get this error:

RuntimeError: legacy constructor for device type: cpu was passed device type: cuda, but device type must be: cpu

Otherwise, will get this error: 
```
RuntimeError: legacy constructor for device type: cpu was passed device type: cuda, but device type must be: cpu
```
@mttk mttk merged commit b18248e into pytorch:master Sep 24, 2018
@mttk
Copy link
Contributor

mttk commented Sep 24, 2018

Thanks!

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.

2 participants