transformers
c51dc4f9 - [torch] remove deprecated uint8 in favor of bool (#21384)

Commit
2 years ago
[torch] remove deprecated uint8 in favor of bool (#21384) * uint8 -> bool * fix copies * style * update test modeling commen when checking attention buffers * style * use logical not on random mask instead of subtraction with 1 * remove torch uint8 * quality * remove modified modeling utils * Update based on review Co-authored-by: sgugger <sylvain.gugger@gmail.com> --------- Co-authored-by: sgugger <sylvain.gugger@gmail.com>
Author
Parents
Loading