Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMP dtype incompatibility #159

Closed
danieltudosiu opened this issue May 31, 2023 · 0 comments
Closed

AMP dtype incompatibility #159

danieltudosiu opened this issue May 31, 2023 · 0 comments

Comments

@danieltudosiu
Copy link

danieltudosiu commented May 31, 2023

Thank you for the amazing work you are all doing and opensourcing.

I was trying to use blip2_t5 with caption_coco_flant5xl weights but it seems it is hardcoded to use AMP with bfloat16 during forward passes.

Sadly, my current hardware is unable to support bfloat16.

Is there an "official" way of fixing this or I need to just inherit the class and modify the method that causes issues?

Thank you for your help and time <3

@danieltudosiu danieltudosiu closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant