Skip to content

LoadError: UndefVarError: T not defined in ChainRules #826

@giordano

Description

@giordano
  [082447d4] ChainRules v1.72.6
  [d360d2e6] ChainRulesCore v1.26.0
[...]
ERROR: LoadError: UndefVarError: `T` not defined in `ChainRules`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
  [1] top-level scope
    @ ~/.julia/packages/ChainRules/14CDN/src/rulesets/LinearAlgebra/utils.jl:33
  [2] include(mapexpr::Function, mod::Module, _path::String)
    @ Base ./Base.jl:310
  [3] top-level scope
    @ ~/.julia/packages/ChainRules/14CDN/src/ChainRules.jl:53
  [4] include(mod::Module, _path::String)
    @ Base ./Base.jl:309

Seen in https://github.com/EnzymeAD/Enzyme.jl/actions/runs/18861268947/job/53820384813#step:12:283.

The stacktrace confuses me though, the offending line is

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