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

142 adam optimizer performance improvements #143

Closed

Conversation

chaseWillden
Copy link
Collaborator

Add an explicit scale function to the tensor
Optimize the to_device logic for Tensor::Zeros
Finally, reduce the amount of operations in the Adam optimizer. It at least shaves a 15-20 seconds per Epoch

@chaseWillden chaseWillden linked an issue Dec 17, 2024 that may be closed by this pull request
@chaseWillden chaseWillden deleted the 142-adam-optimizer-performance-improvements branch December 22, 2024 03:22
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.

Adam Optimizer Performance Improvements
1 participant