Fix kwargs handling in generate_with_fallback (#29225)
* Fix generate_with_fallback **kwargs * Change pop to get * Delete keys from kwargs to prevent overriding generation_config * Revert to passing kwargs by reference, but make a (shallow) copy * dict -> copy.copy * Add test_whisper_longform_multi_batch_beam
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user