Skip to content

Conversation

@mhauru
Copy link
Member

@mhauru mhauru commented Jan 14, 2025

We define a Zygote.@adjoint for mapvcat manually. This seems unnecessary to me. Moreover, the implementation is wrong, since it ignores the vcat part of mapvcat. I've added a test that would have caught this.

Closes #361

Copy link
Member

@yebai yebai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @mhauru!

@mhauru
Copy link
Member Author

mhauru commented Jan 15, 2025

Thanks @yebai. I bumped the patch version as well.

@yebai yebai merged commit df3695c into master Jan 15, 2025
31 of 33 checks passed
@yebai yebai deleted the mhauru/mapvcat-zygote branch January 15, 2025 21:40
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.

Zygote is broken for Stacked transformations

3 participants