You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Julia v1.10, I used Aqua to detect method ambiguities in my package impICNF/ContinuousNormalizingFlows.jl#356 and some of its report were related to this package:
Ambiguity #44broadcasted(f, gs::Zygote.Grads, a::Union{AbstractArray{<:T}, T}where T<:Number) @ Zygote ~/.julia/packages/Zygote/WOy6z/src/compiler/interface.jl:381broadcasted(::Base.Broadcast.AndAnd, a, b) @ Base.Broadcast broadcast.jl:196
Possible fix, define
broadcasted(::Base.Broadcast.AndAnd, ::Zygote.Grads, ::Union{AbstractArray{<:T}, T}where T<:Number)
Ambiguity #45broadcasted(f, gs::Zygote.Grads, gss::Union{Zygote.Grads, AbstractDict}...) @ Zygote ~/.julia/packages/Zygote/WOy6z/src/compiler/interface.jl:378broadcasted(style::Base.Broadcast.BroadcastStyle, f::F, args...) where F @ Base.Broadcast broadcast.jl:1349
Possible fix, define
broadcasted(::Base.Broadcast.BroadcastStyle, ::Zygote.Grads, ::Vararg{Union{Zygote.Grads, AbstractDict}})
Ambiguity #46broadcasted(f, a::Union{AbstractArray{<:T}, T}where T<:Number, gs::Zygote.Grads) @ Zygote ~/.julia/packages/Zygote/WOy6z/src/compiler/interface.jl:380broadcasted(style::Base.Broadcast.BroadcastStyle, f::F, args...) where F @ Base.Broadcast broadcast.jl:1349
Possible fix, define
broadcasted(::Base.Broadcast.BroadcastStyle, ::F, ::Zygote.Grads) where F<:(Union{AbstractArray{<:T}, T} where T<:Number)
Ambiguity #47broadcasted(f, gs::Zygote.Grads, a::Union{AbstractArray{<:T}, T}where T<:Number) @ Zygote ~/.julia/packages/Zygote/WOy6z/src/compiler/interface.jl:381broadcasted(::Base.Broadcast.OrOr, a, b) @ Base.Broadcast broadcast.jl:203
Possible fix, define
broadcasted(::Base.Broadcast.OrOr, ::Zygote.Grads, ::Union{AbstractArray{<:T}, T}where T<:Number)
Ambiguity #48broadcasted(f, a::Union{AbstractArray{<:T}, T}where T<:Number, gs::Zygote.Grads) @ Zygote ~/.julia/packages/Zygote/WOy6z/src/compiler/interface.jl:380broadcasted(::Base.Broadcast.OrOr, a, b) @ Base.Broadcast broadcast.jl:203
Possible fix, define
broadcasted(::Base.Broadcast.OrOr, ::Union{AbstractArray{<:T}, T}where T<:Number, ::Zygote.Grads)
Ambiguity #49broadcasted(f, gs::Zygote.Grads, gss::Union{Zygote.Grads, AbstractDict}...) @ Zygote ~/.julia/packages/Zygote/WOy6z/src/compiler/interface.jl:378broadcasted(::Base.Broadcast.AndAnd, a, b) @ Base.Broadcast broadcast.jl:196
Possible fix, define
broadcasted(::Base.Broadcast.AndAnd, ::Zygote.Grads, ::Union{Zygote.Grads, AbstractDict})
Ambiguity #50broadcasted(f, a::Union{AbstractArray{<:T}, T}where T<:Number, gs::Zygote.Grads) @ Zygote ~/.julia/packages/Zygote/WOy6z/src/compiler/interface.jl:380broadcasted(::Base.Broadcast.AndAnd, a, b) @ Base.Broadcast broadcast.jl:196
Possible fix, define
broadcasted(::Base.Broadcast.AndAnd, ::Union{AbstractArray{<:T}, T}where T<:Number, ::Zygote.Grads)
Ambiguity #52broadcasted(f, ps::Zygote.Params) @ Zygote ~/.julia/packages/Zygote/WOy6z/src/compiler/interface.jl:260broadcasted(style::Base.Broadcast.BroadcastStyle, f::F, args...) where F @ Base.Broadcast broadcast.jl:1349
Possible fix, define
broadcasted(::Base.Broadcast.BroadcastStyle, ::F) where F<:Zygote.Params
Ambiguity #53broadcasted(f, gs::Zygote.Grads, a::Union{AbstractArray{<:T}, T}where T<:Number) @ Zygote ~/.julia/packages/Zygote/WOy6z/src/compiler/interface.jl:381broadcasted(style::Base.Broadcast.BroadcastStyle, f::F, args...) where F @ Base.Broadcast broadcast.jl:1349
Possible fix, define
broadcasted(::Base.Broadcast.BroadcastStyle, ::Zygote.Grads, ::Union{AbstractArray{<:T}, T}where T<:Number)
Ambiguity #54broadcasted(f, gs::Zygote.Grads, gss::Union{Zygote.Grads, AbstractDict}...) @ Zygote ~/.julia/packages/Zygote/WOy6z/src/compiler/interface.jl:378broadcasted(::Base.Broadcast.OrOr, a, b) @ Base.Broadcast broadcast.jl:203
Possible fix, define
broadcasted(::Base.Broadcast.OrOr, ::Zygote.Grads, ::Union{Zygote.Grads, AbstractDict})
Ambiguity #85map(::typeof(Zygote._project), args::Tuple{Zygote.Params}, grad) @ Zygote ~/.julia/packages/Zygote/WOy6z/src/compiler/interface.jl:217map(f, t::Tuple, s::Tuple) @ Base tuple.jl:320
Possible fix, define
map(::typeof(Zygote._project), ::Tuple{Zygote.Params}, ::Tuple)
Ambiguity #86map(::typeof(Zygote._project), args::Tuple{Zygote.Params}, grad) @ Zygote ~/.julia/packages/Zygote/WOy6z/src/compiler/interface.jl:217map(f, t1::Tuple, t2::Tuple, ts::Tuple...) @ Base tuple.jl:339
Possible fix, define
map(::typeof(Zygote._project), ::Tuple{Zygote.Params}, ::Tuple)
Ambiguity #87map(::typeof(Zygote._project), args::Tuple{Zygote.Params}, grad) @ Zygote ~/.julia/packages/Zygote/WOy6z/src/compiler/interface.jl:217map(f, t::Tuple{Any}, s::Tuple{Any}) @ Base tuple.jl:318
Possible fix, define
map(::typeof(Zygote._project), ::Tuple{Zygote.Params}, ::Tuple{Any})
Ambiguity #88map(::typeof(Zygote._project), args::Tuple{Zygote.Params}, grad) @ Zygote ~/.julia/packages/Zygote/WOy6z/src/compiler/interface.jl:217map(f, t::Tuple, s::Tuple{}) @ Base tuple.jl:316
Possible fix, define
map(::typeof(Zygote._project), ::Tuple{Zygote.Params}, ::Tuple{})
I would appreciate your attention to this issue.
The text was updated successfully, but these errors were encountered:
As far as I can tell, these were never used, tested or documented.
Moreover, they don't make sense semantically since `Grads` behaves like a Dict rather than an ordinal-indexed collection like an Array.
Meanwhile, their continued existence is causing issues like #1484.
In Julia v1.10, I used Aqua to detect method ambiguities in my package impICNF/ContinuousNormalizingFlows.jl#356 and some of its report were related to this package:
I would appreciate your attention to this issue.
The text was updated successfully, but these errors were encountered: