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

Max pooling loss is slow #97

Closed
robotnc opened this issue Sep 23, 2022 · 1 comment
Closed

Max pooling loss is slow #97

robotnc opened this issue Sep 23, 2022 · 1 comment

Comments

@robotnc
Copy link

robotnc commented Sep 23, 2022

I create a model of 100 keywords, and found that the max_pooling loss calculation is very slow. the loss calculation takes 8 second, loss.backward() takes about 16 second per batch(256).
Any plan to improve the speed of this loss ?

@robin1001
Copy link
Contributor

It's a problem if there is so much keywords. We have no bandwith to do it recently.

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