You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enzyme reverse fails type analysis on a chunked run with two draws when coverage is on #1042
Problem. In the AD workflow's Enzyme reverse job, the chunked-run gradient item fails on the scenario "Recurrence two draws on one pool with a flow between" with IllegalTypeAnalysisException. The failing call is the gradient of the run in three chunks (test/ad/chunked.jl, parts = gradient(θ -> s.loss(chunked(3), θ), ...)).
Suspected cause. It fails only with --code-coverage=user, which the CI job passes. Without coverage the same item passes locally. Coverage instrumentation likely leaves a value whose type Enzyme cannot analyse in the resumed call with that modifier.
Proposed fix. Run the AD backend jobs without coverage, or find the union in the resumed call that coverage exposes and remove it. Setting Enzyme.API.strictAliasing!(false) would hide it, not fix it.
Activity