Skip to content

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