+
Skip to content

Allocating gradients in backward op #663

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

Merged
merged 2 commits into from
Apr 4, 2023
Merged

Allocating gradients in backward op #663

merged 2 commits into from
Apr 4, 2023

Conversation

coreylowman
Copy link
Owner

@coreylowman coreylowman commented Apr 4, 2023

Resolves #662

This also happens to generally speed up cuda a bit since there are less allocations.

@coreylowman coreylowman merged commit c46fb5a into main Apr 4, 2023
@coreylowman coreylowman deleted the alloc-grads-once branch April 4, 2023 19:38
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.

Multiple re-allocations of gradients
1 participant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载