-
Notifications
You must be signed in to change notification settings - Fork 105
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
Check CI on Julia v1.9.2 and v1.9.3 #1618
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #1618 +/- ##
===========================================
- Coverage 96.14% 82.45% -13.69%
===========================================
Files 414 414
Lines 33942 33900 -42
===========================================
- Hits 32633 27951 -4682
- Misses 1309 5949 +4640
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I can reproduce the allocation test failures
locally only with |
Reduced example: Julia v1.9.3 default: julia> struct BroadcastRef end
julia> Base.broadcastable(b::BroadcastRef) = Ref(b)
julia> struct BroadcastTuple end
julia> Base.broadcastable(b::BroadcastTuple) = (b,)
julia> foo(a, _) = a
foo (generic function with 1 method)
julia> function test(arg)
n = 4
dst = rand(n, n)
src = rand(n, n)
@allocated begin
@. dst = foo(src, arg)
end
end
test (generic function with 1 method)
julia> test(BroadcastRef()), test(BroadcastTuple())
(0, 0) Julia v1.9.3 with julia> struct BroadcastRef end
julia> Base.broadcastable(b::BroadcastRef) = Ref(b)
julia> struct BroadcastTuple end
julia> Base.broadcastable(b::BroadcastTuple) = (b,)
julia> foo(a, _) = a
foo (generic function with 1 method)
julia> function test(arg)
n = 4
dst = rand(n, n)
src = rand(n, n)
@allocated begin
@. dst = foo(src, arg)
end
end
test (generic function with 1 method)
julia> test(BroadcastRef()), test(BroadcastTuple())
(8, 0) |
Wow! That sounds like a non-trivial MWE to create! I just confirmed: Julia v1.9.2 with julia> struct BroadcastRef end
julia> Base.broadcastable(b::BroadcastRef) = Ref(b)
julia> struct BroadcastTuple end
julia> Base.broadcastable(b::BroadcastTuple) = (b,)
julia> foo(a, _) = a
foo (generic function with 1 method)
julia> function test(arg)
n = 4
dst = rand(n, n)
src = rand(n, n)
@allocated begin
@. dst = foo(src, arg)
end
end
test (generic function with 1 method)
julia> test(BroadcastRef()), test(BroadcastTuple())
(0, 0) This confirms that is a regression since v1.9.2. If you report it, can you ping me please? |
Oh yes... it took me quite some time to get there 🙈 |
Interesting that our tests seem to catch more than the ones of the original Julia projects 😳 |
No description provided.