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
Commit 76280d0
Browse filesBrowse the repository at this point in the historyBrowse files
Work around Julia 1.12 Zygote codegen segfault in CGConv/GMMConv (#695)
* Work around Julia 1.12 Zygote codegen segfault in CGConv/GMMConv
A `@warn`/`@info` logging macro inside a Zygote-differentiated branch
triggers an LLVM codegen segfault on Julia 1.12 (reported upstream as
FluxML/Zygote.jl#1662). `cg_conv` and `gmm_conv` each had a `@warn` in
their residual branch, which crashed their gradients and forced the
CGConv/GMMConv gradient tests to be disabled (#623).
Wrap those `@warn` calls in `ignore_derivatives` so the logging macro
stays out of the AD-differentiated code path. The warning still fires in
the forward pass and the primal value is unchanged. Re-enable the
disabled CGConv/GMMConv test items in both frontends.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Link PR #695 in changelog entry
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
10
10
and the packages adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
11
11
Entries link to the pull request that introduced them.
12
12
13
+
## GNNlib.jl — Unreleased (towards 1.3.1)
14
+
15
+
**Fixed**
16
+
- Worked around a Julia 1.12 code-generation segfault that crashed `CGConv` and `GMMConv` gradients: the layers' `@warn` (in the residual branch) is now wrapped in `ignore_derivatives` to keep the logging macro out of the AD-differentiated code path. Root cause reported upstream as [FluxML/Zygote.jl#1662]; re-enables the previously disabled `CGConv`/`GMMConv` gradient tests ([#695]).
17
+
13
18
## GNNLux.jl — Unreleased (towards 0.2.0)
14
19
15
20
**Added**
@@ -198,3 +203,6 @@ Lux implementations of the graph convolutional, pooling, and temporal layers
0 commit comments