transformers
Update `dtype_byte_size` to handle torch.float8_e4m3fn/float8_e5m2 types
#30488
Merged

Update `dtype_byte_size` to handle torch.float8_e4m3fn/float8_e5m2 types #30488

asartran merged 4 commits into huggingface:main from mgoin:patch-1
mgoin
mgoin Update modeling_utils/dtype_byte_size to handle float8 types
9119b7bd
mgoin mgoin changed the title Update `modeling_utils/dtype_byte_size` to handle float8 types Update `dtype_byte_size` to handle torch.float8_e4m3fn/float8_e5m2 types 2 years ago
robertgshaw2-redhat
asartran
asartran commented on 2024-04-25
mgoin Add a test for dtype_byte_size
81ce419c
mgoin
asartran
asartran approved these changes on 2024-04-25
asartran
mgoin Format
db147751
mgoin Fix bool
a0eb75c0
asartran asartran merged 20081c74 into main 2 years ago
mgoin mgoin deleted the patch-1 branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone