Cast TF generate() inputs (#19232)
* Just stick a couple of casts into generate()
* Cast decoder_input_ids too
* Don't accidentally cast floats
* Move to _generate()
* Move to after input validation
Co-authored-by:
Your Name <you@example.com>
Showing
Please register or sign in to comment