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

Doesn't work with nn.DataParallel #131

Closed
danielamassiceti opened this issue Jul 19, 2021 · 1 comment
Closed

Doesn't work with nn.DataParallel #131

danielamassiceti opened this issue Jul 19, 2021 · 1 comment

Comments

@danielamassiceti
Copy link

Hi there - I just wanted to flag that I ran into an issue when my model was wrapped around a nn.DataParallel - thop gave an error that said the model was on a different device (cpu) to the input (gpu)

@Lyken17
Copy link
Owner

Lyken17 commented Sep 10, 2021

If you are using dataparalle, then you can profile(m.module, blabla) to perform the similar function.

@Lyken17 Lyken17 closed this as completed Sep 10, 2021
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

No branches or pull requests

2 participants