Skip to content

1.13 error with enzyme [no reactant] #1733

Description

@wsmoses

doing some initial testing infra:

julia --color=yes --project=test/integration/Lux --threads=auto --check-bounds=yes -O1 test/integration/Lux/runtests.jl
  julia --color=yes --project=test/integration/Lux --threads=auto --check-bounds=yes -O1 test/integration/Lux/runtests.jl
  shell: bash --noprofile --norc -e -o pipefail {0}
  env:
    JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager
Run '/home/runner/k8s/index.js'
using script executor
WARNING: Imported binding Test.eval_test was undeclared at import time during import to LuxTestUtils.
ERROR: LoadError: UndefVarError: `Enzyme` not defined in `LuxTestUtils`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
  [1] top-level scope
    @ ~/.julia/packages/LuxTestUtils/Nepsf/src/autodiff.jl:54
  [2] include(mapexpr::Function, mod::Module, _path::String)
    @ Base ./Base.jl:310
  [3] top-level scope
    @ ~/.julia/packages/LuxTestUtils/Nepsf/src/LuxTestUtils.jl:95
  [4] include(mod::Module, _path::String)
    @ Base ./Base.jl:309
  [5] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
    @ Base ./loading.jl:3153
  [6] top-level scope
    @ stdin:5
  [7] eval(m::Module, e::Any)
    @ Core ./boot.jl:489
  [8] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base ./loading.jl:2999
  [9] include_string
    @ ./loading.jl:3009 [inlined]
 [10] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:342
 [11] _start()
    @ Base ./client.jl:577
in expression starting at /root/.julia/packages/LuxTestUtils/Nepsf/src/autodiff.jl:54
in expression starting at /root/.julia/packages/LuxTestUtils/Nepsf/src/LuxTestUtils.jl:1
in expression starting at stdin:5

  1 dependency had output during precompilation:
┌ LuxTestUtils
│  [Output was shown above]
└  
ERROR: LoadError: The following 1 package failed to precompile:

LuxTestUtils 
Failed to precompile LuxTestUtils [ac9de150-d08f-4546-94fb-7472b5760531] to "/root/.julia/compiled/v1.13/LuxTestUtils/jl_0U24rL" (ProcessExited(1)).

in expression starting at /__w/Enzyme.jl/Enzyme.jl/test/integration/Lux/runtests.jl:2

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