-
Notifications
You must be signed in to change notification settings - Fork 77
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
Add MovieGen - TAE #778
Add MovieGen - TAE #778
Conversation
@@ -0,0 +1,50 @@ | |||
#!/bin/bash |
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.
move to mindone common dir?
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.
rm as it is not related to this PR
examples/moviegen/README.md
Outdated
@@ -0,0 +1,151 @@ | |||
# Movie Gen Video based on MindSpore | |||
|
|||
This project is built on the [Movie Gen](https://arxiv.org/abs/2410.13720) paper by Meta for video generation, personalization, and editing. We aim to explore an efficient implementation based on MindSpore and Ascend NPUs. |
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.
Set a link to doc/report?
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.
done
def construct(self, x): | ||
if self.with_conv: | ||
pad = ((0, 0), (0, 0), (0, 1), (0, 1)) | ||
x = nn.Pad(paddings=pad)(x) |
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.
use mint.nn.function.pad?
# export ASCEND_RT_VISIBLE_DEVICES=7 | ||
# improve data loading performance for distributed training: 1 | ||
export MS_ENABLE_NUMA=0 | ||
# plot memory usage, feature/model: 1 |
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.
- # plot memory usage, feature/model: 1
-export MS_MEMORY_STATISTIC=0
-export MS_DATASET_SINK_QUEUE=8
+# plot memory usage and compile info
+# export MS_DEV_RUNTIME_CONF="memory_statistics:True,compile_statistics:True"
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