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

Create RNN states dynamically #10

Merged
merged 1 commit into from
Sep 24, 2023
Merged

Create RNN states dynamically #10

merged 1 commit into from
Sep 24, 2023

Conversation

jerinphilip
Copy link
Owner

The SSRU had states that were modified during a loop across time-steps
statefully. This PR changes these to be created dynamically during each
call. The objective is to not have race-conditions when the same model
is used by multiple worker threads in a multi-threaded translation setting.

@jerinphilip jerinphilip marked this pull request as ready for review September 24, 2023 17:50
@jerinphilip jerinphilip merged commit 06fd500 into main Sep 24, 2023
@jerinphilip jerinphilip deleted the lift-rnn-state-out branch September 24, 2023 17:54
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.

1 participant