AI-Hypercomputer / maxdiffusion

Apache License 2.0
149 stars 17 forks source link

adding single replica restore option and changing StandardSave/Restor… #120

Closed ssusie closed 6 days ago

ssusie commented 6 days ago

Added an option to pass enable_single_replica_ckpt_restoring from configs (command line) to enable restoring with single replica then broadcasting. Changed StandardSave and StandardRestore in orbax with PyTreeSave and PyTreeRestore to enable the feature above.

Removed also unnecessary tests (controlnet and dreambooth) covered in other test cases.