We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@timed
This works in julia 1.6 but fails on julia 1.11.2:
julia> gradient(x -> first(@timed x), 0) ERROR: `llvmcall` requires the compiler Stacktrace: [1] macro expansion @ ~/.julia/dev/Zygote/src/compiler/interface2.jl:0 [inlined] [2] _pullback(::Zygote.Context{…}, ::Core.IntrinsicFunction, ::String, ::Type{…}, ::Type{…}, ::Ptr{…}, ::Int64) @ Zygote ~/.julia/dev/Zygote/src/compiler/interface2.jl:91 [3] atomic_add! @ ./atomics.jl:412 [inlined] [4] lock_profiling @ ./atomics.jl:84 [inlined] [5] _pullback(ctx::Zygote.Context{false}, f::typeof(Base.Threads.lock_profiling), args::Bool) @ Zygote ~/.julia/dev/Zygote/src/compiler/interface2.jl:0 [6] #13 @ ./timing.jl:575 [inlined] [7] _pullback(ctx::Zygote.Context{false}, f::var"#13#14", args::Int64) @ Zygote ~/.julia/dev/Zygote/src/compiler/interface2.jl:0 [8] pullback(f::Function, cx::Zygote.Context{false}, args::Int64) @ Zygote ~/.julia/dev/Zygote/src/compiler/interface.jl:90 [9] pullback(f::Function, args::Int64) @ Zygote ~/.julia/dev/Zygote/src/compiler/interface.jl:88 [10] gradient(::Function, ::Int64, ::Vararg{Int64}) @ Zygote ~/.julia/dev/Zygote/src/compiler/interface.jl:147 [11] top-level scope @ REPL[7]:1 Some type information was truncated. Use `show(err)` to see complete types.
It is one of the currently failing tests.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This works in julia 1.6 but fails on julia 1.11.2:
It is one of the currently failing tests.
The text was updated successfully, but these errors were encountered: