10000 Make require_contiguous require exact strides instead of stride order by eellison · Pull Request #148235 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

Make require_contiguous require exact strides instead of stride order #148235

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

Open
wants to merge 2 commits into
base: gh/eellison/767/base
Choose a base branch
from

Conversation

[ghstack-poisoned]
Copy link
pytorch-bot bot commented Mar 1, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/148235

Note: Links to docs will display an error until the docs builds have been completed.

❌ 24 New Failures, 1 Unrelated Failure

As of commit 3d8508c with merge base 4e160d5 (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

8000

eellison added a commit that referenced this pull request Mar 1, 2025
@eellison eellison added the topic: not user facing topic category label Mar 1, 2025
[ghstack-poisoned]
eellison added a commit that referenced this pull request Mar 1, 2025
@eellison
Copy link
Contributor Author
eellison commented Mar 3, 2025

cc @leslie-fang-intel I made this pr after our difficulties with ir.require_contiguous in #146746. now i'm seeing a number of mkldnn/cpu errors. would you mind debugging ?

@leslie-fang-intel
Copy link
Collaborator

I think it may relate to mkldnn tensor, which seems fail to get the data ptr. cc @CaoE will help on this.

CaoE pushed a commit to CaoE/pytorch that referenced this pull request Mar 4, 2025
@CaoE
Copy link
Collaborator
CaoE commented Mar 4, 2025

Hi @eellison This is because the mkldnn tensor returns an invalid stride and fail to get the data ptr. I added a check for mkldnn tensor to see if it can fix these failures #148424.

CaoE pushed a commit to CaoE/pytorch that referenced this pull request Mar 5, 2025
@eellison
Copy link
Contributor Author

any updates @CaoE and @leslie-fang-intel ?

@leslie-fang-intel
Copy link
Collaborator

any updates @CaoE and @leslie-fang-intel ?

Hi @CaoE, I thought we already fix it. Doesn't we?

@CaoE
Copy link
Collaborator
CaoE commented Mar 14, 2025

Hi @eellison @leslie-fang-intel #148424 This test shows adding checks for mkldnn tensor could fix it.
How to place these checks still needs to be confirmed #148424 (comment).

pytorch-bot bot pushed a commit that referenced this pull request Mar 14, 2025
pytorch-bot bot pushed a commit that referenced this pull request May 5, 2025
pytorch-bot bot pushed a commit that referenced this pull request May 12, 2025
Copy link
Contributor

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions bot added the Stale label May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0