-
Notifications
You must be signed in to change notification settings - Fork 79
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
Dynamicrafter: mint op adaptation #765
base: v0.3.0-dev
Are you sure you want to change the base?
Conversation
examples/dynamicrafter/README.md
Outdated
| dynamicrafter | 1 | 1 | 16x576x1024 | DDIM | 50 | fp16 | O1 | 1~2 mins | 1.42 | 71 | | ||
| dynamicrafter | 1 | 1 | 16x320x512 | DDIM | 50 | fp16 | O1 |1~2 mins | 0.42 | 21 | | ||
| dynamicrafter | 1 | 1 | 16x256x256 | DDIM | 50 | fp16 | O1 |1~2 mins | 0.26 | 13 | | ||
| dynamicrafter | 1 | 1 | 16x576x1024 | DDIM | 50 | fp16 | O0 | 1~2 mins | 1.56 | 78 | |
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.
为什么改jit_level
@@ -35,12 +35,12 @@ def __init__(self, *, dim, dim_head=64, heads=8): | |||
self.heads = heads | |||
inner_dim = dim_head * heads | |||
|
|||
self.norm1 = nn.LayerNorm([dim], epsilon=1e-05) | |||
self.norm2 = nn.LayerNorm([dim], epsilon=1e-05) | |||
self.norm1 = mint.nn.LayerNorm([dim], eps=1e-05) |
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.
mint的weight的name应该改掉了,ckpt是不是需要刷一下
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.
转换ckpt时保存的参数名已相应修改:
examples/dynamicrafter/tools/ms_param_256.txt
examples/dynamicrafter/tools/ms_param_512_1024.txt
TODO:
Update the MS CANN version in README.
What does this PR do?
Fixes # (issue)
Adds # (feature)
Before submitting
What's New
. Here are thedocumentation guidelines
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@xxx