Code terminates without training while using accelerate

First thing I see, don’t do this. Trainer uses Accelerate so no need to do any of this :slight_smile: