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

Fix Zygote accum for CA in GPU broadcasting #221

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

avik-pal
Copy link
Contributor

Continuing my saga of upstreaming pirated patches from Lux. Zygote + AMDGPU + CAs.jl don't play too well. See https://buildkite.com/julialang/lux-dot-jl/builds/634#018ab9ff-bbcb-47bf-aa05-079929053253/6-4602.

This is mostly a hacky patch, but it fixes it.

@codecov-commenter
Copy link

codecov-commenter commented Sep 22, 2023

Codecov Report

Merging #221 (b269890) into main (140b899) will increase coverage by 0.07%.
The diff coverage is 100.00%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

@@            Coverage Diff             @@
##             main     #221      +/-   ##
==========================================
+ Coverage   73.16%   73.24%   +0.07%     
==========================================
  Files          22       23       +1     
  Lines         723      725       +2     
==========================================
+ Hits          529      531       +2     
  Misses        194      194              
Files Changed Coverage Δ
ext/ComponentArraysZygoteExt.jl 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jonniedie
Copy link
Owner

Related to #186, I think

@jonniedie jonniedie merged commit bfdd286 into jonniedie:main Sep 22, 2023
6 checks passed
@avik-pal avik-pal deleted the ap/zygote_amd branch September 22, 2023 19:44
@avik-pal
Copy link
Contributor Author

Related to #186, I think

Not really. I think it is mostly on AMDGPU side not being very robust to broadcasting. I have faced it in places completely detached from Zygote and CAs

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.

3 participants