Skip to content

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

@digital-carver

Description

@digital-carver

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions