transformers
bef7dded - Replace deprecated batch_size with max_batch_size when using HybridCache (#35498)

Commit
331 days ago
Replace deprecated batch_size with max_batch_size when using HybridCache (#35498) * Replace deprecated batch_size with max_batch_size - Functionality remains the same, because property getter batch_size(self) returned max_batch_size anyways. - This change just avoids an unnecessary warning about deprecation. * Use max_batch_size instead of deprecated batch_size with HybridCache * Use max_batch_size instead of deprecated batch_size with HybridCache - Change generated code to match original source
Author
Parents
Loading