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

Properly test non-contiguous input tensors. #34

Merged
merged 10 commits into from
Mar 22, 2024
Merged

Properly test non-contiguous input tensors. #34

merged 10 commits into from
Mar 22, 2024

Conversation

wujingyue
Copy link
Collaborator

The current code generates input tensors of wrong shapes, [B,H,D,S] instead of [B,H,S,D]. These wrong shapes unintentionally bypass this check, so this set of input tensors are not fed into cudnnex at all.

@wujingyue wujingyue marked this pull request as draft March 21, 2024 17:19
@wujingyue wujingyue marked this pull request as ready for review March 21, 2024 17:20
@wujingyue
Copy link
Collaborator Author

@t-vi this is ready to merge. The CI failure is unrelated and happens at head too.

@wujingyue wujingyue requested a review from mruberry as a code owner March 22, 2024 15:41
@wujingyue wujingyue enabled auto-merge (squash) March 22, 2024 17:51
@wujingyue
Copy link
Collaborator Author

CI is passing now. This PR is a port of https://github.com/Lightning-AI/lit-thunder-LEGACY/pull/2478, which was already approved. So it's ready to merge.

Copy link
Collaborator

@t-vi t-vi left a comment

Choose a reason for hiding this comment

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

Seems good, thank you @wujingyue @IvanYashchuk @vedaanta-nvidia

@wujingyue wujingyue merged commit b8074a0 into main Mar 22, 2024
36 checks passed
@wujingyue wujingyue deleted the wjy/permute branch March 22, 2024 18:45
@wujingyue wujingyue added cudnn bug Something isn't working labels Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cudnn
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants