-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Fix multi-gpu case for train_cm_ct_unconditional.py
in terms of unwrapping unet
model
#8653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
For `torch.compile()` generalizability
I realized there has already been an |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! will merge once CI is green 🤗
This is OK now. |
failing tests are unrelated |
Thanks for merging! |
train_cm_ct_unconditional.py
train_cm_ct_unconditional.py
in terms of unwrapping unet
model
* Fix multi-gpu case * Prefer previously created `unwrap_model()` function For `torch.compile()` generalizability * `chore: update unwrap_model() function to use accelerator.unwrap_model()`
* Fix multi-gpu case * Prefer previously created `unwrap_model()` function For `torch.compile()` generalizability * `chore: update unwrap_model() function to use accelerator.unwrap_model()`
Proposes to fix #8477
Similar to #3673
@dg845 @sayakpaul @a-r-r-o-w