-
Notifications
You must be signed in to change notification settings - Fork 6.7k
[Modular] mellon doc etc #13051
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
base: main
Are you sure you want to change the base?
[Modular] mellon doc etc #13051
Conversation
…e some generic template for custom node
|
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. |
|
still working on a couple other things in this PR but mellon guide is ready for review @sayakpaul @asomoza |
sayakpaul
left a comment
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.
Thank you! Looks great
| from diffusers.modular_pipelines.mellon_node_utils import MellonPipelineConfig | ||
|
|
||
| # Generate the default config template (assume you already loaded your custom blocks into `blocks`) | ||
| mellon_config = MellonPipelineConfig.from_custom_block(blocks) |
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.
Let's also initialize something simple into blocks for completeness?
| - Drag a **Dynamic Block Node** from the ModularDiffusers section | ||
| - Enter your `repo_id` (e.g., `YiYiXu/gemini-prompt-expander`) | ||
| - Click **Load Custom Block** | ||
| - The node will transform to show your block's inputs and outputs No newline at end of file |
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.
Maybe show a screenshot of how it should render?
| --> | ||
|
|
||
|
|
||
| ## Using Custom Blocks with Mellon |
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.
Not strongly opinionated but WDYT of including the important guides (I think this is one) as a list in the overview page?
WIP
mellon related, will add a mellon guide in this PR as well