Skip to content

scan-based GRU falls back to nn.GRU when bidirectional is true.#8984

Merged
tengyifei merged 2 commits intopytorch:masterfrom
iwknow:fallback
Apr 17, 2025
Merged

scan-based GRU falls back to nn.GRU when bidirectional is true.#8984
tengyifei merged 2 commits intopytorch:masterfrom
iwknow:fallback

Conversation

@iwknow
Copy link
Copy Markdown
Collaborator

@iwknow iwknow commented Apr 16, 2025

This change makes scan-based GRU implementation to fall back to the standard pytorch GRU when bidirectional is true. scan-based GRU will not support bidirectional unless there is enough demand. for details: #8860

@iwknow
Copy link
Copy Markdown
Collaborator Author

iwknow commented Apr 16, 2025

@tengyifei please review

@qihqi qihqi requested a review from tengyifei April 16, 2025 17:57
Copy link
Copy Markdown
Collaborator

@tengyifei tengyifei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Our CI got some troubles yesterday. Once you rebase the PR on the latest master branch, it should be landable.

@tengyifei tengyifei enabled auto-merge (squash) April 17, 2025 20:44
@tengyifei tengyifei merged commit 0239d8c into pytorch:master Apr 17, 2025
23 of 24 checks passed
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

Successfully merging this pull request may close these issues.

2 participants