Skip to content

[sliding window] revert and deprecate #39301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 9, 2025

Conversation

zucchini-nlp
Copy link
Member

What does this PR do?

Fixes #39290

@zucchini-nlp zucchini-nlp added the for patch Tag issues / labels that should be included in the next patch label Jul 9, 2025
@zucchini-nlp
Copy link
Member Author

The modular file complains when we have the a property and its setter, I think I saw that once with other models 🤔

@zucchini-nlp zucchini-nlp requested review from Cyrilvallez and ArthurZucker and removed request for Cyrilvallez July 9, 2025 10:01
@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.

@Cyrilvallez
Copy link
Member

Ha indeed since the methods have the same name, one is overwritten by the other in modular linter. Let me see if I can quickly patch it

Copy link
Contributor

github-actions bot commented Jul 9, 2025

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

run-slow: cohere2, gemma3

Copy link
Member

@Cyrilvallez Cyrilvallez left a comment

Choose a reason for hiding this comment

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

Pushed the modular fix, it's now all good

@Cyrilvallez Cyrilvallez merged commit accbd8e into huggingface:main Jul 9, 2025
19 checks passed
Cyrilvallez added a commit that referenced this pull request Jul 11, 2025
* bring back and deprecate

* oops

---------

Co-authored-by: Cyril Vallez <[email protected]>
rjgleaton pushed a commit to rjgleaton/transformers that referenced this pull request Jul 17, 2025
* bring back and deprecate

* oops

---------

Co-authored-by: Cyril Vallez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for patch Tag issues / labels that should be included in the next patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v4.53.0+ starts erroring with 'Gemma3TextConfig' object has no attribute 'sliding_window_pattern' with vLLM
3 participants