petals icon indicating copy to clipboard operation
petals copied to clipboard

replaced call to `_prepare_decoder_attention_mask()` with `_prepare_4d_causal_attention_mask()`

Open poedator opened this issue 7 months ago • 1 comments

fixes issue #536 edited calls to mask methods consistently with https://github.com/huggingface/transformers/pull/27086

poedator avatar Nov 21 '23 22:11 poedator