Skip to content

feat: support forward-mode Mooncake [experimental] #813

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

gdalle
Copy link
Member

@gdalle gdalle commented Jun 18, 2025

Warning

Do not merge, this is just for testing.

Adds support for Mooncake in forward mode, through the AutoMooncakeForward backend object.

Relies on:

To try it out, install the following branches first:

using Pkg
Pkg.add(; url="https://github.com/gdalle/Mooncake.jl", rev="gd/forward")
Pkg.add(; url="https://github.com/SciML/ADTypes.jl", rev="gd/forward_mooncake")
Pkg.add(;
    url="https://github.com/JuliaDiff/DifferentiationInterface.jl",
    rev="gd/forward_mooncake",
)

This currently passes all the tests that I subject reverse-mode Mooncake to.

Copy link

codecov bot commented Jun 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 9.20%. Comparing base (8c234e6) to head (6df2ac6).

❗ There is a different number of reports uploaded between BASE (8c234e6) and HEAD (6df2ac6). Click for more details.

HEAD has 28 uploads less than BASE
Flag BASE (8c234e6) HEAD (6df2ac6)
DI 22 0
DIT 7 1
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #813       +/-   ##
==========================================
- Coverage   88.42%   9.20%   -79.23%     
==========================================
  Files         128      20      -108     
  Lines        7726    2096     -5630     
==========================================
- Hits         6832     193     -6639     
- Misses        894    1903     +1009     
Flag Coverage Δ
DI ?
DIT 9.20% <ø> (-86.41%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gdalle gdalle added the skipci Don't run CI tests and docs label Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skipci Don't run CI tests and docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant