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

Refactor batched_vec #464

Merged
merged 1 commit into from
Jan 24, 2023
Merged

Refactor batched_vec #464

merged 1 commit into from
Jan 24, 2023

Conversation

jondeuce
Copy link
Contributor

Branching on the type of the second argument in batched_vec caused a subtle performance bug when differentiating via Zygote.

Fixes #462.

Branching on the type of the second argument caused a subtle performance bug when differentiating via `Zygote`; see FluxML#462
@CarloLucibello CarloLucibello merged commit 7f6ea50 into FluxML:master Jan 24, 2023
@jondeuce jondeuce deleted the patch-1 branch January 24, 2023 06:54
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.

batched_vec >1000X slower than batched_mul
2 participants