Closed danielamassiceti closed 3 years ago
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)
If you are using dataparalle, then you can profile(m.module, blabla) to perform the similar function.
profile(m.module, blabla)
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)