[ `T5`] fix fp16 loading issue (#20878)
* fix fp16 loading issue * add backward compatibility * better refactor * better readability - remove `force_upcast_dtype` as it is used once - use `inspect` - add `TODO`
Showing
Please register or sign in to comment