• Arthur's avatar
    [`resize_embedding`] Introduce `pad_to_multiple_of` and guidance (#25088) · d6bf08f7
    Arthur authored
    * 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
    d6bf08f7
test_modeling_common.py 125 KB