Closed callumtilbury closed 11 months ago
Open Q: should I add checkpointing options to config, or only later, when we find a need?
Open Q: should I add checkpointing options to config, or only later, when we find a need?
Thanks for the PR @callumtilbury, in my opinion, I think it will be better to make it optional and also make the model_name
a config param
What?
Ability to checkpoint the
learner_state
usingorbax
as a base.Why?
Important for our research in multiple dimensions.
How?
Built in the same way as for internal CityLearn code, wrapping
orbax
's functionality.Extra
This PR adds simple checkpointing to each system, but we can remove that by default, if preferred. It does not include any checkpoint reloading, but that can be done in the following way (example for Rec MAPPO with RWARE):
But I do want to think of cleaner ways to reloadāperhaps for a later PR?