"vscode:/vscode.git/clone" did not exist on "5da3db3fd5c070107df717a13382ccf1fe1efbe4"
changing find_batch_size to work with tokenizer outputs (#11890)
* changing find_batch_size to work with tokenizer outputs
trainer_pt_utils.find_batch_size does not recognize the batch size of BatchEncoding objects. This can cause an error when a trainer relies on find_batch_size to report the number of observed examples in the evaluation loop.
* Trigger CI
Co-authored-by:
jrenner <joseph.renner@inria.fr>
Showing
Please register or sign in to comment