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

Gradient broken on 1.10 #5

Closed
roflmaostc opened this issue Jan 3, 2024 · 1 comment
Closed

Gradient broken on 1.10 #5

roflmaostc opened this issue Jan 3, 2024 · 1 comment

Comments

@roflmaostc
Copy link
Owner

Similar to sdobber/FluxArchitectures.jl#60

Test gradients: Error During Test at /home/felix/.julia/dev/DiffImageRotation.jl/test/runtests.jl:78
  Got exception outside of a @test
  type Nothing has no field method
  Stacktrace:
    [1] getproperty(x::Nothing, f::Symbol)
      @ Base ./Base.jl:37
    [2] has_chain_rrule(T::Type)
      @ Zygote ~/.julia/packages/Zygote/IoW2g/src/compiler/chainrules.jl:21
    [3] #s85#1906
      @ ~/.julia/packages/Zygote/IoW2g/src/compiler/interface2.jl:20 [inlined]
    [4] var"#s85#1906"(::Any, ctx::Any, f::Any, args::Any)
      @ Zygote ./none:0
    [5] (::Core.GeneratedFunctionStub)(::UInt64, ::LineNumberNode, ::Any, ::Vararg{Any})
      @ Core ./boot.jl:602
    [6] _pullback(f::Function, args::Matrix{Float64})
      @ Zygote ~/.julia/packages/Zygote/IoW2g/src/compiler/interface.jl:34
    [7] pullback(f::Function, args::Matrix{Float64})
      @ Zygote ~/.julia/packages/Zygote/IoW2g/src/compiler/interface.jl:40
    [8] gradient(f::Function, args::Matrix{Float64})
      @ Zygote ~/.julia/packages/Zygote/IoW2g/src/compiler/interface.jl:75
    [9] macro expansion
      @ ~/.julia/dev/DiffImageRotation.jl/test/runtests.jl:86 [inlined]
   [10] macro expansion
      @ ~/.julia/juliaup/julia-1.10.0+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
   [11] top-level scope
      @ ~/.julia/dev/DiffImageRotation.jl/test/runtests.jl:80
   [12] include(fname::String)
      @ Base.MainInclude ./client.jl:489
   [13] top-level scope
      @ REPL[5]:1
   [14] eval
      @ Core ./boot.jl:385 [inlined]
   [15] eval_user_input(ast::Any, backend::REPL.REPLBackend, mod::Module)
      @ REPL ~/.julia/juliaup/julia-1.10.0+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/REPL.jl:150
   [16] repl_backend_loop(backend::REPL.REPLBackend, get_module::Function)
      @ REPL ~/.julia/juliaup/julia-1.10.0+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/REPL.jl:246
   [17] start_repl_backend(backend::REPL.REPLBackend, consumer::Any; get_module::Function)
      @ REPL ~/.julia/juliaup/julia-1.10.0+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/REPL.jl:231
   [18] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool, backend::Any)
      @ REPL ~/.julia/juliaup/julia-1.10.0+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/REPL.jl:389
   [19] run_repl(repl::REPL.AbstractREPL, consumer::Any)
      @ REPL ~/.julia/juliaup/julia-1.10.0+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/REPL.jl:375
   [20] (::Base.var"#1013#1015"{Bool, Bool, Bool})(REPL::Module)
      @ Base ./client.jl:432
   [21] #invokelatest#2
      @ Base ./essentials.jl:887 [inlined]
   [22] invokelatest
      @ Base ./essentials.jl:884 [inlined]
   [23] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool)
      @ Base ./client.jl:416
   [24] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:333
   [25] _start()
      @ Base ./client.jl:552

@roflmaostc
Copy link
Owner Author

Ultimately depends on this: JuliaImages/ImageTransformations.jl#168

Somehow blocks Zygote update

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

No branches or pull requests

1 participant