Skip to content

Conversation

@DhairyaLGandhi
Copy link
Member

Handles the case when there are no gradients to accumulate, as a follow on to #1574

cc @ChrisRackauckas

PR Checklist

  • Tests are added
  • Documentation, if applicable

@ChrisRackauckas
Copy link
Member

add a test?

@DhairyaLGandhi
Copy link
Member Author

It's somewhat non trivial to trigger this from a simple example

@ChrisRackauckas
Copy link
Member

@oxinabox

Copy link
Member

@oxinabox oxinabox left a comment

Choose a reason for hiding this comment

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

This is obviously correct

@CarloLucibello CarloLucibello merged commit 6bab1f5 into FluxML:master Jun 10, 2025
9 of 11 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.

4 participants