Skip to content

Add fallible AD transform APIs - #22

Merged
shinaoka merged 1 commit into
mainfrom
codex/fallible-ad-transforms
May 5, 2026
Merged

Add fallible AD transform APIs#22
shinaoka merged 1 commit into
mainfrom
codex/fallible-ad-transforms

Conversation

@shinaoka

@shinaoka shinaoka commented May 5, 2026

Copy link
Copy Markdown
Member

Summary

  • Add try_differentiate, try_transpose, try_eager_transpose_fragment, and try_backward_dag APIs that propagate ADRuleError.
  • Keep existing infallible APIs as compatibility wrappers.
  • Thread fallible eager transpose through BackwardCallbacks and add regression coverage.

Dependency

Validation

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo nextest run --release --workspace --no-fail-fast
  • cargo test --doc --release --workspace
  • cargo llvm-cov nextest --workspace --release --json --output-path coverage.json
  • python3 scripts/check-coverage.py coverage.json
  • cargo doc --workspace --no-deps
  • python3 scripts/check-docs-site.py

Implemented with OpenAI Codex.

@shinaoka
shinaoka enabled auto-merge (squash) May 5, 2026 08:24
@shinaoka
shinaoka merged commit 1acc5d9 into main May 5, 2026
5 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