transformers
5090ea3f - Fix llava half precision and autocast issues (#29721)

Commit
1 year ago
Fix llava half precision and autocast issues (#29721) * Ensure input_embeds and image_features are the same dtype in autocast * Fix nans in half precision llava-next and fix autocasting behavior. * Fix styling issues. * fix randn newline instantiation * fix broken slow llava test * Fix llava next init. * fix styling issues * [run-slow]llava,llava_next * fix styling issues
Author
Parents
Loading