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

About the for loop GRU #1

Open
whmrtm opened this issue Jun 25, 2020 · 0 comments
Open

About the for loop GRU #1

whmrtm opened this issue Jun 25, 2020 · 0 comments

Comments

@whmrtm
Copy link

whmrtm commented Jun 25, 2020

I am trying to replicate this work. The code runs but I found that using a for-loop for GRUCell is really slow compared with directly using nn.GRU. Is there a way to accelerate it? I ran a profiler and it seems to me after break down the RNN to for-loops, the GPU usage is decreased. Any options or suggestions are appreciated

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