Fix big model inference for T5 models in float16 (#22095)
* Fix big model inference for T5 models in float16
* Apply suggestions from code review
Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
* Style
* Trigger CI with latest release
---------
Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>