accelerate
accelerate copied to clipboard
Split_batches argument in Accelerator.__init__ is available, but not used
System Info
accelerate==1.0.1
Reproduction
Since the latest versions split_batches is taken from DataLoaderConfiguration, but still can be passed as an argument to Accelerator constructor, which leads to unexpected behavior. You can pass Accelerator(split_batches=True), but it will still be False
Expected behavior
There should not be 2 different places where argument can be passed or an exception should be raised