[Pipelines] Encode to max length of input not max length of tokenizer for batch input
I don't see a reason why we have to pad to `tokenizer.max_length` when encoding. Tokenizers automatically encode until the longest `input_ids` which is much more efficient IMO.
Update: rm'ed inaccurate comment