Skip to content

Remove dead code from modeling_qwen3_moe.py and modeling_qwen2.py#2302

Merged
regisss merged 2 commits into
huggingface:mainfrom
karol-brejna-i:dev/kbrejna/ignore_cache_position-fix
Oct 13, 2025
Merged

Remove dead code from modeling_qwen3_moe.py and modeling_qwen2.py#2302
regisss merged 2 commits into
huggingface:mainfrom
karol-brejna-i:dev/kbrejna/ignore_cache_position-fix

Conversation

@karol-brejna-i
Copy link
Copy Markdown
Collaborator

Fix Coverity findings regardless dead code.

@github-actions
Copy link
Copy Markdown

The code quality check failed, please run make style.

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

@karol-brejna-i karol-brejna-i force-pushed the dev/kbrejna/ignore_cache_position-fix branch from ddb4ea9 to 94decf0 Compare October 10, 2025 09:11
@karol-brejna-i karol-brejna-i marked this pull request as ready for review October 10, 2025 09:25
Copy link
Copy Markdown
Collaborator

@regisss regisss left a comment

Choose a reason for hiding this comment

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

LGTM

@regisss regisss merged commit df85684 into huggingface:main Oct 13, 2025
2 of 5 checks passed
gplutop7 pushed a commit to HabanaAI/optimum-habana-fork that referenced this pull request Oct 15, 2025
gplutop7 pushed a commit to HabanaAI/optimum-habana-fork that referenced this pull request Nov 6, 2025
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