You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Huggingface/demos requirements file specifiestransformers==4.6.1
It is my understanding from this PR in transformers that in 4.6.1 and before, T5's decoder used the encoder's attention mask when decoding and that the changes introduced in that PR (which show up in all versions of transformers>4.6.1) change the signature of T5 so that the decoder can have its own attention masking.
(Note: I didn't use the normal issue template because this isn't really a bug in TRT, but it seems worth being aware of.)
The text was updated successfully, but these errors were encountered:
The Huggingface/demos requirements file specifies
transformers==4.6.1
It is my understanding from this PR in
transformers
that in 4.6.1 and before, T5's decoder used the encoder's attention mask when decoding and that the changes introduced in that PR (which show up in all versions oftransformers>4.6.1
) change the signature of T5 so that the decoder can have its own attention masking.(Note: I didn't use the normal issue template because this isn't really a bug in TRT, but it seems worth being aware of.)
The text was updated successfully, but these errors were encountered: