ADTypes.jl icon indicating copy to clipboard operation
ADTypes.jl copied to clipboard

Adapt to Enzyme 0.13

Open wsmoses opened this issue 1 year ago • 5 comments

Enzyme has a pending breaking release upcoming.

One notable addition is runtime activity being part of the mode now, we well as (potentially) moving whether the primal is returned as part of the mode.

Runtime activity probably makes sense to add to ADTypes, whether to return the primal, also potentially (though the latter hasn't even landed yet)

wsmoses avatar Sep 16 '24 01:09 wsmoses

Well, if everything becomes part of the mode, I guess we're fine cause ADTypes already include the mode field in AutoEnzyme?

gdalle avatar Sep 16 '24 05:09 gdalle

@wsmoses do you think we have anything to change here?

gdalle avatar Sep 19 '24 07:09 gdalle

See also:

  • https://github.com/EnzymeAD/Enzyme.jl/issues/1861
  • https://github.com/gdalle/DifferentiationInterface.jl/issues/468

gdalle avatar Sep 19 '24 07:09 gdalle

@gdalle can this be reopened. I still think it's worth adding runtime activity here or something

wsmoses avatar Sep 25 '24 18:09 wsmoses

Why, if it is already in the mode?

gdalle avatar Sep 25 '24 18:09 gdalle