Skip to content

[loading] Allow Renaming and Converter to work on the sume subkeys - #49928

Merged
Cyrilvallez merged 6 commits into
mainfrom
separate-renaming-converter
Oct 26, 2026
Merged

Cyrilvallez merged 6 commits into
mainfrom
separate-renaming-converter

Conversation

@Cyrilvallez

@Cyrilvallez Cyrilvallez commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

🤗 Transformers CI

What does this PR do?

Supersedes part of #49773 because it's a tricky part that should not end up drowned in other things. Also simplifies the linked PR for the same result

@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.

Cyrilvallez and others added 5 commits October 23, 2026 16:57
Co-authored-by: IlyasMoutawwakil <57442720+IlyasMoutawwakil@users.noreply.github.com>
Comment on lines +1863 to +1864
# In reverse order, we must first apply the converters, then the renamings on the results from the conversion. For many-to-one and
# many-to-many conversions, this means that the renamings must be applied after calling `convert`, because otherwise the Converter

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

but at this point there's still no proper many-to-many support right ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No indeed it's extremely minimal, only the ones from Ernie

@Cyrilvallez

Copy link
Copy Markdown
Member Author

Merging to unblock!

@Cyrilvallez
Cyrilvallez merged commit d0103c9 into main Oct 26, 2026
113 of 115 checks passed
@Cyrilvallez
Cyrilvallez deleted the separate-renaming-converter branch October 26, 2026 09:59
IlyasMoutawwakil added a commit that referenced this pull request Oct 27, 2026
… small loader fixes

Rebased onto the merged reverse-escaping fix (#49772) and the rebased
MiniMax-M3-VL save-mapping PR. The reverse loading path stays main's (#49928);
this keeps the PR's other loader fixes and their tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
IlyasMoutawwakil added a commit that referenced this pull request Oct 27, 2026
… small loader fixes

Rebased onto the merged reverse-escaping fix (#49772) and the rebased
MiniMax-M3-VL save-mapping PR. The reverse loading path stays main's (#49928);
this keeps the PR's other loader fixes and their tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ydshieh pushed a commit that referenced this pull request Nov 6, 2026
… small loader fixes (#49773)

Rebased onto the merged reverse-escaping fix (#49772) and the rebased
MiniMax-M3-VL save-mapping PR. The reverse loading path stays main's (#49928);
this keeps the PR's other loader fixes and their tests.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

3 participants