transformers
Make BigBird model compatiable to fp16 dtype.
#16034
Merged

Make BigBird model compatiable to fp16 dtype. #16034

xuzhao9
HuggingFaceDocBuilderDev
patil-suraj patil-suraj requested a review from patrickvonplaten patrickvonplaten 3 years ago
xuzhao9
patrickvonplaten
patrickvonplaten commented on 2022-03-14
xuzhao9 xuzhao9 requested a review from patrickvonplaten patrickvonplaten 3 years ago
patrickvonplaten
patrickvonplaten commented on 2022-03-22
xuzhao9 xuzhao9 force pushed 3 years ago
xuzhao9 xuzhao9 requested a review from patrickvonplaten patrickvonplaten 3 years ago
xuzhao9 Make BigBird model compatiable to fp16 dtype.
d7a24ebf
xuzhao9 Use tree_map instead of map
894207d1
xuzhao9 Reformat the code
a7a1fef1
xuzhao9 Fix import order
a8a3bb7c
xuzhao9 Convert masks to the correct dtype
5e8b59b9
xuzhao9 Fix format issue
caffd653
xuzhao9 Address comments.
ca8e1bfb
xuzhao9 xuzhao9 force pushed to ca8e1bfb 3 years ago
xuzhao9
patrickvonplaten
patrickvonplaten approved these changes on 2022-03-23
patrickvonplaten
patrickvonplaten patrickvonplaten merged 5f0d07b3 into main 3 years ago
xuzhao9 xuzhao9 deleted the xz9/fix-bigbird-fp16 branch 3 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone