Skip to content
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

test_custom_4d_attention_mask skip with sliding window attn #30833

Merged
merged 1 commit into from
May 23, 2024

Conversation

poedator
Copy link
Contributor

This is a follow-up to #30348
tests/models/qwen2/test_modeling_qwen2.py::Qwen2ModelTest::test_custom_4d_attention_mask was failing because of use of sliding window attention.
While this sliding window attention does not preclude use of custom 4D masks, it requires modification of the original test_custom_4d_attention_mask.

Summoning @ArthurZucker @gante to review

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.

Sounds good, cc @ydshieh will help you 😉

@ArthurZucker ArthurZucker merged commit 6739e1d into huggingface:main May 23, 2024
19 checks passed
@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.

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.

None yet

3 participants