-
Notifications
You must be signed in to change notification settings - Fork 322
Various Corrdiff optimizations for drastic increase of training efficiency #809
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
/blossom-ci |
What's the status of this? I would love to make use of these in ReGen. |
@simonbyrne it's currently blocked by #790 and under review, but that will be merged in the coming days. |
Signed-off-by: Neal Pan <[email protected]>
Signed-off-by: jialusui1102 <[email protected]>
Signed-off-by: Neal Pan <[email protected]>
Signed-off-by: jialusui1102 <[email protected]>
dcf1ac4
to
6ae6f05
Compare
Signed-off-by: jialusui1102 <[email protected]>
…mization perf w torch.compile Signed-off-by: jialusui1102 <[email protected]>
Signed-off-by: jialusui1102 <[email protected]>
Signed-off-by: jialusui1102 <[email protected]>
Signed-off-by: jialusui1102 <[email protected]>
/blossom-ci |
/blossom-ci |
Signed-off-by: jialusui1102 <[email protected]>
/blossom-ci |
Hey @jialusui1102, @CharlelieLrt and talked about the backward compatibility issues this PR and this PR #790 raised. For now we can get this in but I will fix the backward compatibility stuff ASAP after. @CharlelieLrt and I discussed a solution that seems to solve all the issues. Ill need you @jialusui1102 to take a look at the PR when the time comes though to make sure this works with the corrdiff model. |
Hey @loliverhennigh Thanks for letting me know and merging my PR in and thanks @CharlelieLrt for coordinating. Let me know when the PR is ready and I will test the corrdiff checkpoint to make sure everything works! |
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.
LGTM!
/blossom-ci |
/blossom-ci |
Various Corrdiff optimizations for drastic increase of training efficiency
Description
to amortize regression cost and usage of
torch.compile
modulus/models/diffusion/layers.py
to optimize data type casting workflow,avoiding unnecessary casting under autocast mode
Apex GroupNorm, fusion of activation with GroupNorm, and AMP workflow.
pos_embd
from_checkpoint
to accommodate usage of Apex GroupNormChecklist
Dependencies