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

Tensor Size Constraint for Tensor Cores #921

Closed
zhenhuahu opened this issue Jul 25, 2020 · 1 comment
Closed

Tensor Size Constraint for Tensor Cores #921

zhenhuahu opened this issue Jul 25, 2020 · 1 comment

Comments

@zhenhuahu
Copy link

I read from here that since Cudnn 7.3 we don't need to worry about 'input channels, output channels, and batch size' in order for Tensor Core to speed FP16 computation. But I also read that this only applies to packed NCHW data. May I ask what is packed NCHW data? I understand that the channels and batch sizes doesn't need to be a multiple of 8. What about the size of H and W?

I'm asking this because I tried lightning with APex amp and pytorch 1.6 native amp. Neither of them has speeded my training process.

Thanks!

@zhenhuahu
Copy link
Author

I have found that it was the CPU bottleneck. 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

No branches or pull requests

1 participant