transformers
20081c74 - Update `dtype_byte_size` to handle torch.float8_e4m3fn/float8_e5m2 types (#30488)

Commit
1 year ago
Update `dtype_byte_size` to handle torch.float8_e4m3fn/float8_e5m2 types (#30488) * Update modeling_utils/dtype_byte_size to handle float8 types * Add a test for dtype_byte_size * Format * Fix bool
Author
Parents
Loading