Skip to content

Revert "add attention_mask and position_ids in assisted model"#27523

Merged
patrickvonplaten merged 2 commits intomainfrom
revert-26892-assist
Nov 16, 2023
Merged

Revert "add attention_mask and position_ids in assisted model"#27523
patrickvonplaten merged 2 commits intomainfrom
revert-26892-assist

Conversation

@patrickvonplaten
Copy link
Contributor

Reverts #26892 as it breaks speculative decoding of Whisper

@jiqing-feng
Copy link
Contributor

jiqing-feng commented Nov 16, 2023

Hi @patrickvonplaten . Sorry for making this mistake, would you please wait for the new PR merge, it should have fixed the problem.

@gante
Copy link
Contributor

gante commented Nov 16, 2023

@patrickvonplaten -- @jiqing-feng's PR should fix it :) The PR being reverted here did break speculative decoding for encoder-decoder architectures. CI did not caught it since the non-slow test is based on sample and it had a lucky run.

@patrickvonplaten
Copy link
Contributor Author

Merging so that distil whisper works again

@patrickvonplaten patrickvonplaten merged commit 5603fad into main Nov 16, 2023
@patrickvonplaten patrickvonplaten deleted the revert-26892-assist branch November 16, 2023 13:50
EduardoPach pushed a commit to EduardoPach/transformers that referenced this pull request Nov 19, 2023
…ngface#27523)

* Revert "add attention_mask and position_ids in assisted model (huggingface#26892)"

This reverts commit 184f60d.

* more debug
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