transformers
d6bf08f7 - [`resize_embedding`] Introduce `pad_to_multiple_of` and guidance (#25088)

Commit
2 years ago
[`resize_embedding`] Introduce `pad_to_multiple_of` and guidance (#25088) * fix * revert cahnges and update resizing of embedding layer * use wraning * fixup * more styling nits * fix all tests that overload the embedding tests * 👀👀 remove breakpoint * remove useless overload + overload correctly where needed * resize lm head with new vocab size * reverse not necessary changes * style * fix CIs! * fix last CI tests, adapt bark and Marian * fixup
Author
Parents
Loading