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

Some broadcasting fixes #710

Merged
merged 6 commits into from
Apr 25, 2023
Merged

Some broadcasting fixes #710

merged 6 commits into from
Apr 25, 2023

Conversation

mcabbott
Copy link
Member

@mcabbott mcabbott commented Apr 10, 2023

Fixes #708.

Maybe this closes JuliaDiff/ChainRulesCore.jl#618 too -- it narrows the cases for which it uses frule_via_ad to those with one real number; perhaps you could allow structs containing one real number, but anything worse won't work.

Failure on 32-bit systems doesn't seem related, also happened before? https://github.com/JuliaDiff/ChainRules.jl/actions/runs/4654246289/jobs/8235815448

test/rulesets/Base/broadcast.jl Outdated Show resolved Hide resolved
@mcabbott mcabbott merged commit 677d528 into JuliaDiff:main Apr 25, 2023
@mcabbott mcabbott deleted the broadcast4 branch April 25, 2023 01:07
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

Successfully merging this pull request may close these issues.

Cannot generate frule seed via one(x) unbroadcast fails for Matrix{Tangent} due to zero(::Tangent)
2 participants