Closed
Description
Checks
- This template is only for bug reports, usage problems go with 'Help Wanted'.
- I have thoroughly reviewed the project documentation but couldn't find information to solve my problem.
- I have searched for existing issues, including closed ones, and couldn't find a solution.
- I am using English to submit this issue to facilitate community communication.
Environment Details
not related
Steps to Reproduce
When the train goes to validate and save checkpoint it will crash by:
self.accelerator.unwrap_model(self.optimizer).state_dict()
it says that self.optimizer is not a nn.Module class
✔️ Expected Behavior
No response
❌ Actual Behavior
No response