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

Hotfix for new OneElement on GPU #2368

Merged
merged 2 commits into from
Jan 8, 2024
Merged

Hotfix for new OneElement on GPU #2368

merged 2 commits into from
Jan 8, 2024

Conversation

ToucheSir
Copy link
Member

Working through the remaining errors on CI, e.g. https://buildkite.com/julialang/flux-dot-jl/builds/4348#018cb8e9-4564-4edf-8f3c-84044696b2a6. I think reverse CI on FluxML/Zygote.jl#1328 didn't catch this because it only runs CPU tests. We should consider using JLArrays or something to reduce that risk.

A proper fix would be to define some * or mul! methods for ChainRules.OneElement, but until those are in place this patch should restore the old functionality.

PR Checklist

  • Tests are added
  • Entry in NEWS.md
  • Documentation, if applicable

@ToucheSir ToucheSir merged commit e17b7a5 into master Jan 8, 2024
5 of 8 checks passed
@ToucheSir ToucheSir deleted the bc/cr-onelement-gpu branch January 8, 2024 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants