Skip to content
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

Compile error on latest commit/version 0.2.6, incompatible with Zygote #30

Closed
digital-carver opened this issue Jan 20, 2025 · 1 comment · Fixed by #31
Closed

Compile error on latest commit/version 0.2.6, incompatible with Zygote #30

digital-carver opened this issue Jan 20, 2025 · 1 comment · Fixed by #31

Comments

@digital-carver
Copy link

On a fresh environment, doing add Zygote ZygoteRules now results in

┌ Zygote
│  WARNING: Method definition unthunk_tangent(ChainRulesCore.AbstractThunk) in module ZygoteRules at C:\Users\Sundar\.julia\packages\ZygoteRules\KF1B6\src\adjoint.jl:40 overwritten in module Zygote at C:\Users\Sundar\.julia\packages\Zygote\59YyM\src\compiler\chainrules.jl:4.
│  ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
└

This is on my Julia 1.11.1 on Windows, but this is also the reason for CI failure on this commit.

@digital-carver digital-carver changed the title Compile error on latest commit/version 2.6, incompatible with Zygote Compile error on latest commit/version 0.2.6, incompatible with Zygote Jan 20, 2025
@ToucheSir
Copy link
Member

This is my mistake, #31 should fix it.

but this is also the reason for CI failure on this commit.

It's not directly, which is why it wasn't caught. I'm not sure why precompilation failures don't immediately terminate the CI pipeline, because otherwise they get lost in the sea of output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants