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

Fixes pytest runtime error - Incompatible input shapes, broadcast not possible #1796

Open
wants to merge 1 commit into
base: transformers_future
Choose a base branch
from

Conversation

srajabos
Copy link
Contributor

This PR fixes pytest failure that causes runtime error - Incompatible input shapes, broadcast not possible in test_gpt2_reorder_and_upcast_attn

GAUDI2_CI=1 RUN_SLOW=true python -m pytest tests/transformers/tests/models/gpt2/ -s -v -k test_gpt2_reorder_and_upcast_attn

FAILED tests/transformers/tests/models/gpt2/test_modeling_gpt2.py::GPT2ModelTest::test_gpt2_reorder_and_upcast_attn - RuntimeError: Incompatible input shapes, broadcast not possible. Tensor1 Size: 32 4 14 Tensor2 Size: 32 7 14

@srajabos srajabos requested a review from ZhaiFeiyue as a code owner February 25, 2025 08:16
@srajabos
Copy link
Contributor Author

@imangohari1 - requesting review

@imangohari1
Copy link
Contributor

@regisss

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.

2 participants