Skip to content

Revert "Changing Decoder trait to be more composable. (#938)"#971

Merged
Narsil merged 1 commit intomainfrom
new_decode_chain
Apr 4, 2022
Merged

Revert "Changing Decoder trait to be more composable. (#938)"#971
Narsil merged 1 commit intomainfrom
new_decode_chain

Conversation

@Narsil
Copy link
Copy Markdown
Contributor

@Narsil Narsil commented Apr 1, 2022

This reverts commit cdabef1.

Despite some efforts to try and check that this breaking change was going to be seamless for transformers, it wasn't.
Fortunately this was caught relatively early after publishing.

The decision was made to just unpublish 0.12.0 in order to not ship any breaking changes with it.
More information in transformers itself huggingface/transformers#16537 (comment)

Reflecting this on master is what this PR is for, we can then make a different attempt of modifications for : #938 without any breaking changes.

@Narsil Narsil requested review from McPatate and SaulLu April 1, 2022 12:32
Copy link
Copy Markdown
Contributor

@SaulLu SaulLu left a comment

Choose a reason for hiding this comment

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

Thanks again for all the effort! I'm sure that the PR remains a useful first version to design a second solution to make the decoders composable! 💪

Copy link
Copy Markdown
Member

@McPatate McPatate left a comment

Choose a reason for hiding this comment

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

👍🏻

@Narsil Narsil merged commit ec43947 into main Apr 4, 2022
@Narsil Narsil deleted the new_decode_chain branch April 4, 2022 07:43
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