Skip to content

[tests] consistency tests for modular index#13192

Open
sayakpaul wants to merge 4 commits intomainfrom
modular-index-tests
Open

[tests] consistency tests for modular index#13192
sayakpaul wants to merge 4 commits intomainfrom
modular-index-tests

Conversation

@sayakpaul
Copy link
Member

What does this PR do?

modular_model_index.json is a fundamental block for sharing and loading modular blocks and pipelines. This PR adds a test to ensure the integrity and consistency of a modular_model_index.json.

I think this will also be helpful for the ongoing discussions in huggingface/blog#3278 (comment).

Additionally, I can add a test to ensure the checks are held when ModularPipeline.from_pretrained() is called on a regular diffusers repo.

@sayakpaul sayakpaul requested a review from yiyixuxu February 27, 2026 09:40
Copy link
Collaborator

@yiyixuxu yiyixuxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

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.

2 participants