[`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
Showing
+107 -66
Please register or sign in to comment