Skip to content

[codex] add edge-based reverse graph api#10

Draft
shinaoka wants to merge 2 commits intomainfrom
redesign-edge-based-autograd
Draft

[codex] add edge-based reverse graph api#10
shinaoka wants to merge 2 commits intomainfrom
redesign-edge-based-autograd

Conversation

@shinaoka
Copy link
Copy Markdown
Member

Summary

  • add edge-based reverse graph support to tidu and introduce the new value/function/op-facing API surface
  • split the engine into focused modules and add explicit docs/plans for the edge-based autograd transition
  • add regression coverage for value, function, and multi-output op behavior on the new reverse graph model

Why

tenferro-rs currently depends on the edge-based reverse work and cannot replace its local tidu path dependency until this branch exists as a GitHub PR target. This PR upstreams the tidu side of that transition.

Validation

  • cargo fmt --all
  • cargo clippy --workspace
  • cargo nextest run --release --workspace

shinaoka and others added 2 commits March 28, 2026 10:12
Pin to the squash-merged commit on chainrules-rs main that includes
forward_tangents and the updated pullback_with_tangents signature.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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