philschmid / deep-learning-pytorch-huggingface

MIT License
580 stars 138 forks source link

Deprecation warnings. #52

Open hohoCode opened 2 months ago

hohoCode commented 2 months ago

Thanks for the great work.

Just a very gentle reminder, so far it works but may not be in near future due to the warnings.

''' ...accelerate/accelerator.py:436: FutureWarning: Passing the following arguments to Accelerator is deprecated and will be removed in version 1.0 of Accelerate: dict_keys(['dispatch_batches', 'split_batches', 'even_batches', 'use_seedable_sampler']). Please pass an accelerate.DataLoaderConfiguration instead: dataloader_config = DataLoaderConfiguration(dispatch_batches=None, split_batches=False, even_batches=True, use_seedable_sampler=True) '''