Skip to content

Conversation

@yiyixuxu
Copy link
Collaborator

WIP
mellon related, will add a mellon guide in this PR as well

@HuggingFaceDocBuilderDev

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.

@yiyixuxu yiyixuxu requested a review from sayakpaul January 29, 2026 04:30
@yiyixuxu
Copy link
Collaborator Author

still working on a couple other things in this PR but mellon guide is ready for review @sayakpaul @asomoza

Copy link
Member

@sayakpaul sayakpaul left a 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)
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants