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

Fixes In-Place Activation Reference Counting #2442

Merged
merged 2 commits into from
May 1, 2024

Conversation

fiedorowicz1
Copy link
Contributor

Fixes an issue reported by @alexandraday-nu with in-place layers. Previously, in-place activations were not having their reference counts incremented, leading to the activations prematurely being freed. This PR ensures that the reference count is properly incremented for in-place activations.

Copy link
Contributor

@tbennun tbennun left a comment

Choose a reason for hiding this comment

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

Thank you, looks good!

@fiedorowicz1 fiedorowicz1 merged commit b6188e3 into LLNL:develop May 1, 2024
1 check passed
@fiedorowicz1 fiedorowicz1 deleted the fix-inplace branch May 1, 2024 18:55
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