8000 Added CumMax in core/graph by janpfeifer · Pull Request #475 · gomlx/gomlx · GitHub
[go: up one dir, main page]

Skip to content

Added CumMax in core/graph - #475

Merged
janpfeifer merged 2 commits into
mainfrom
cummax
Oct 31, 2026
Merged

janpfeifer merged 2 commits into
mainfrom
cummax

Conversation

@janpfeifer
Copy link
Copy Markdown
Contributor

Summary

  • Added CumMax in core/graph to compute the cumulative maximum along a given axis, reusing CumSumOptions for Exclusive and Reverse configurations.
  • Added cumMaxDecomposed (MaxPool-based fallback) for backends that do not natively implement OpTypeCumMax.
  • Added reverse-mode autodiff support (cumMaxVJP) using checkedSelectAndScatter.
  • Added unit tests for CumMax and its gradients in core/graph/ops_util_test.go.
  • Updated github.com/gomlx/compute dependency and regenerated graph ops (NodeTypeCumMax, backendCumMax).

@janpfeifer
janpfeifer merged commit cb19478 into main Oct 31, 2026
4 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.

1 participant

0