Skip to content

Count modular_model_index.json downloads for diffusers repos - #2687

Merged
Pierrci merged 1 commit into
mainfrom
pierrci/diffusers-modular-model-index-doc
Aug 6, 2026
Merged

Count modular_model_index.json downloads for diffusers repos#2687
Pierrci merged 1 commit into
mainfrom
pierrci/diffusers-modular-model-index-doc

Conversation

@Pierrci

@Pierrci Pierrci commented Aug 5, 2026

Copy link
Copy Markdown
Member

Mirrors the counting-query change from huggingface-internal/moon-landing#19441 in the docs snippet.

Changes

Adds modular_model_index.json to the should clauses of the diffusers filter snippet in docs/hub/models-download-stats.md, matching the internal codebase. Modular pipelines (e.g. MiniMaxAI/MiniMax-H3, krea/krea-realtime-video, LTX) load modular_model_index.json at the repo root instead of model_index.json; the filter now lists it as a counted file.

Exact term match, root-level only — consistent with the existing model_index.json clause.


Note

Authored by Claude Code acting for @Pierrci. Linked: huggingface-internal/moon-landing#19438, huggingface-internal/moon-landing#19441.


Note

Low Risk
Documentation-only change to an example filter snippet; no production code or download logic is modified in this repo.

Overview
Updates the documented diffusers download-counting filter in models-download-stats.md so modular pipeline repos are counted the same way as classic diffusers loads.

Adds a root-level term match for modular_model_index.json alongside model_index.json, with a short comment that modular pipelines use that file instead. This aligns the public docs with the internal counting query (moon-landing#19441).

Reviewed by Cursor Bugbot for commit 070c9d5. Bugbot is set up for automated code reviews on this repo. Configure here.

Mirror the counting query change from huggingface-internal/moon-landing#19441
in the docs snippet. Modular pipelines (e.g. MiniMaxAI/MiniMax-H3,
krea/krea-realtime-video, LTX) load modular_model_index.json at the repo root
instead of model_index.json, so the diffusers filter now lists it as a
counted file.
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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.

@Pierrci
Pierrci marked this pull request as ready for review August 5, 2026 18:11
@Pierrci
Pierrci requested a review from gary149 August 5, 2026 18:11
@Pierrci
Pierrci merged commit 12c5721 into main Aug 6, 2026
3 checks passed
@Pierrci
Pierrci deleted the pierrci/diffusers-modular-model-index-doc branch August 6, 2026 14:31
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