Zach Mueller
Zach Mueller
CC @pacman100
Can you try updating your accelerate version to see if we fixed it in the prior releases?
Nice idea! Would you like to attempt a PR with your solution? :)
I suppose we can do so. i think it *might* be better to have users use the raw accelerate FSDP plugin here, let me think on this!
A dataclass similar to the `AcceleratorConfig` would be the way to go here. @kmehant would you like to take a stab at it? :)
I suppose there actually wouldn't be a harm in just importing the FSDP one. My only fear would be how easy it is to pull up the docs/get to the...
@pedrobrs can you rebase from main? This should fix the failing tests
looks like this logic broke some of the tests in test_trainer.py: ``` tests/trainer/test_trainer_callback.py::TrainerCallbackTest::test_stateful_duplicate_callbacks ``` Looks like this is because this change doesn't actually wind up restoring the state?
cc @ArthurZucker for final 🚀
@JasonZhu1313 if you run `make fixup` it should fix the quality tests :) Otherwise as Marc said, let us know when we're okay to land this and we'll merge it...