Skip to content

[Rope] Revert #43410 and make inheritance implicit again#43620

Merged
vasqu merged 2 commits intomainfrom
revert-rope-inheritance
Jan 30, 2026
Merged

[Rope] Revert #43410 and make inheritance implicit again#43620
vasqu merged 2 commits intomainfrom
revert-rope-inheritance

Conversation

@vasqu
Copy link
Contributor

@vasqu vasqu commented Jan 30, 2026

As per title, this is mainly due to the fact that we have little control over remote code which could lead to solutions like

  • Closes [Rope] Re-Enable remote code #43609 --> makes the whole mixin behave like a static holder for methods...
  • Modify methods/inherited classes on the fly --> risky and unnatural behavior might be introduced

Imo, this is the best for now without incurring too many risks

@github-actions
Copy link
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: afmoe, apertus, arcee, aria, bamba, bitnet, blt, chameleon, cohere, cohere2, csm, cwm, dbrx, deepseek_v2, deepseek_v3, dia

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

@vasqu vasqu marked this pull request as ready for review January 30, 2026 11:51
Copy link
Member

@zucchini-nlp zucchini-nlp left a comment

Choose a reason for hiding this comment

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

Nice!

Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

😢 I'm sorry I was the one who suggested this change!
I agree that forcing remote code config to inherit is brittle and it does not really hurt so yeah let's keep that!

@vasqu
Copy link
Contributor Author

vasqu commented Jan 30, 2026

No worries! Glad it's at least after the big release so no patch required, merging since the failing test is unrelated

@vasqu vasqu merged commit 4bb0a86 into main Jan 30, 2026
25 of 27 checks passed
@vasqu vasqu deleted the revert-rope-inheritance branch January 30, 2026 15:43
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