transformers
Fix dtype casting in swinv2 and swinv2sr to allow non-FP32 inference
#31589
Merged

Fix dtype casting in swinv2 and swinv2sr to allow non-FP32 inference #31589

aliencaocao
aliencaocao Fix dtype casting in modeling_swin2sr to allow non-FP32 inference
d87a5e23
aliencaocao Fix formattting
631174c7
aliencaocao Fix for swinv2 too
2b83074d
aliencaocao aliencaocao changed the title Fix dtype casting in modeling_swin2sr to allow non-FP32 inference Fix dtype casting in swinv2 and swinv2sr to allow non-FP32 inference 2 years ago
amyeroberts
amyeroberts commented on 2024-06-25
aliencaocao Update src/transformers/models/swin2sr/modeling_swin2sr.py
bfe3ff8c
aliencaocao Update src/transformers/models/swinv2/modeling_swinv2.py
3ddf1e97
aliencaocao Add FP16 tests for swin2sr and swinv2
606f1d35
aliencaocao
amyeroberts amyeroberts added run-slow
amyeroberts
amyeroberts
amyeroberts approved these changes on 2024-06-26
HuggingFaceDocBuilderDev
aliencaocao [run_slow] swin2sr, swinv2
1a2a92e7
aliencaocao
aliencaocao
amyeroberts
aliencaocao
amyeroberts
amyeroberts
aliencaocao [run_slow] swin2sr, swinv2
266a6e13
aliencaocao
amyeroberts
amyeroberts amyeroberts merged 1f9f57ab into main 2 years ago
aliencaocao aliencaocao deleted the fix-swin2sr-dtype branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone