Most pipelines come with an EXAMPLE_DOC_STRING in Python files. Simply copy and run it to quickly give it a try. Dive in and experiment! Here's an example of AnimateDiffPipeline:
Due to the Flash Attention feature in mindone.diffusers being available only after MindSpore version 2.3, the current environment with MindSpore version 2.2.10 may encounter insufficient NPU memory issues, particularly for pipelines such as video generation that involve long sequences length. As a result, we have lowered the image resolution in the example doc string of the I2VGenXLPipeline, which might impact the quality of video generation.
Static Graph Availability
The render model utilized by Shap-E, which incorporates flexible model architectures and input/output formats, might not be supported in static graph mode due to its design. Therefore, it is recommended to use dynamic graph models when running pipelines related to Shap-E to ensure compatibility and proper functionality.
What's more about this PR
The content in this PR relies on #523 and #543
ControlNet for BLIP model is incoming after @Cui-yshoho tests BLIP models
Before submitting
[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes? E.g. record bug fixes or new features in What's New. Here are the
documentation guidelines
[ ] Did you build and run the code without any errors?
[ ] Did you report the running environment (NPU type/MS version) and performance in the doc? (better record it for data loading, model inference, or training tasks)
[ ] Did you write any new necessary tests?
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.
What does this PR do?
What's New
🔥 Plenty of pipelines are available now.
New Pipelines
Usage Example
Most pipelines come with an
EXAMPLE_DOC_STRING
in Python files. Simply copy and run it to quickly give it a try. Dive in and experiment! Here's an example ofAnimateDiffPipeline
:Limitations
NPU Memory Limitation
Due to the Flash Attention feature in mindone.diffusers being available only after MindSpore version 2.3, the current environment with MindSpore version 2.2.10 may encounter insufficient NPU memory issues, particularly for pipelines such as video generation that involve long sequences length. As a result, we have lowered the image resolution in the example doc string of the
I2VGenXLPipeline
, which might impact the quality of video generation.Static Graph Availability
The render model utilized by Shap-E, which incorporates flexible model architectures and input/output formats, might not be supported in static graph mode due to its design. Therefore, it is recommended to use dynamic graph models when running pipelines related to Shap-E to ensure compatibility and proper functionality.
What's more about this PR
Before submitting
What's New
. Here are the documentation guidelinesWho 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.
@geniuspatrick @CaitinZhao @SamitHuang