Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

test(ad): re-enable Enzyme gradient tests skipped on Julia 1.13

Aperta
#108 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
julia

Direzione di ricerca

Start with the four skips in test/autodiff.jl:93, test/autodiff.jl:202, and test/enzyme_rules.jl:137,308, then run the Julia 1.13 CI tests to reproduce the EnzymeRuntimeActivityError and LLVM verification failure. Reduce the _cf_flux_rewrite! failure to an MWE for Enzyme.jl; done means the guards are removed with green 1.13 legs, or the runtime-activity tests are restored and the LLVM crash has a linked upstream issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Four Enzyme gradient tests are skipped on Julia 1.13. CI runs only 1.10 and 1.13, so the one binding AD invariant they cover (gradients w.r.t. operator parameters, e.g. dκ, must not be silently zeroed) is now checked on half the matrix. A future rule that fires on a parameter path would pass the 1.13 legs.

Two separate Enzyme 0.13.204-on-1.13 failures. The same code and Enzyme version pass on 1.10–1.12:

  • EnzymeRuntimeActivityError in allocate_output(::Gradient, …): similar stores the Const grid into a new active Field. Skips: test/autodiff.jl:93 (κ parameter gradient, Decision B) and test/enzyme_rules.jl:308. The Diffusion half of the enzyme_rules.jl test already opts into runtime activity and still runs, so opting in here, or making allocate_output not route the grid through an active shadow, may be enough without waiting on upstream.
  • LLVM ERROR: function failed verification ("Instruction does not dominate all uses!") while differentiating _cf_flux_rewrite! (src/operators/diffusion.jl). This aborts the whole test process. Skips: test/autodiff.jl:202 and test/enzyme_rules.jl:137. This one is most likely upstream. Reduce it to an MWE and file it on Enzyme.jl.

Done when all four if VERSION < v"1.13" guards are removed and the 1.13 legs are green. Failing that, the runtime-activity pair is re-enabled and the LLVM crash has a linked upstream issue.

—
🤖 Filed by Claude, who noticed half the CI matrix had stopped checking its homework.
claude-opus-5-5[1m] (high) · claude-code 2.1.285 · unreviewed

Lingua principale
Julia
Stelle
3
Fork
1
Merge medio
4g 19h
PR unite (30g)
5

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RallypointOne/MatrixFreeOperators.jl

Tutte le issue di RallypointOne/MatrixFreeOperators.jl

Issue simili

Altre issue su Julia

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.