Fix llava half precision and autocast issues #29721
frasermince
marked this pull request as draft 2 years ago
frasermince
changed the title Match original llava implentation by casting to pixel_values dtype. Fix llava half precision and autocast issues 2 years ago
frasermince
marked this pull request as ready for review 2 years ago
muellerzr
approved these changes
on 2024-04-24
muellerzr
approved these changes
on 2024-04-25
Ensure input_embeds and image_features are the same dtype in autocast
6d26a70e
Fix nans in half precision llava-next and fix autocasting behavior.
34e526fd
Fix styling issues.
a78ae59b
fix randn newline instantiation
3d58236a
fix broken slow llava test
f69af48d
Fix llava next init.
74fa019d
fix styling issues
30fb5ef9
[run-slow]llava,llava_next
750244ca
fix styling issues
a399e4c1
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub