Skip to content

Conversation

@pytorch-bot
Copy link

pytorch-bot bot commented Mar 11, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures, 2 Unrelated Failures

As of commit d66dde3 with merge base dcc502f (image):

NEW FAILURES - The following jobs have failed:

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

  • linux-binary-manywheel / manywheel-py3_9-cuda12_8-test / test (gh) (similar failure)
    RuntimeError: cuDNN version incompatibility: PyTorch was compiled against (9, 8, 0) but found runtime version (9, 7, 1). PyTorch already comes bundled with cuDNN. One option to resolving this error is to ensure PyTorch can find the bundled cuDNN. one possibility is that there is a conflicting cuDNN in LD_LIBRARY_PATH.

BROKEN TRUNK - The following job failed but was present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@anijain2305 anijain2305 added ciflow/trunk Trigger trunk jobs on your pull request topic: not user facing topic category labels Mar 11, 2025
unimplemented("NYI: invoke_subgraph with mutated inputs")

if not supports_aliasing and subtracer.has_aliasing():
unimplemented("NYI: invoke_subgraph with aliasing")
Copy link
Contributor

Choose a reason for hiding this comment

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

can I get an unimplemented_v2 lol

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Big YES!! Will move over.

should_flatten_outputs=False,
under_activation_checkpoint=False,
supports_input_mutation=True,
supports_aliasing=True,
Copy link
Contributor

Choose a reason for hiding this comment

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

Can the default for this be False? Also ideally we would go through all HOPs that use the _has_potential_branch_input_alias check and update them to use this (could you file an issue for that?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not sure if the default should be False. For example, for activation checkpointing, it might be ok with aliasing? I will open an issue to track for sure.

Copy link
Contributor

Choose a reason for hiding this comment

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

activation checkpointing is OK with it. The way I'd pitch this is: "supports_aliasing=False" is a safer default, because otherwise, someone writing a new HOP may run into silent incorrectness. For example, if someone is writing invoke_subgraph2, if they set supports_aliasing=True but do not handle it separately, they will get silen tincorrectness.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames

[ghstack-poisoned]
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames

[ghstack-poisoned]
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames

[ghstack-poisoned]
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Mar 12, 2025
ghstack-source-id: 7efac3d
Pull Request resolved: #148997
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Mar 14, 2025
ghstack-source-id: ffc382a
Pull Request resolved: #148997
anijain2305 added a commit that referenced this pull request Mar 14, 2025
ghstack-source-id: ffc382a
Pull Request resolved: #148953

[dynamo][invoke_subgraph] Faster aliasing checks

ghstack-source-id: ffc382a
Pull Request resolved: #148997
@anijain2305
Copy link
Contributor Author

Squashed in #148953 for easier merge.

Will manually port over Richard's comment to that PR.

anijain2305 added a commit that referenced this pull request Mar 15, 2025
ghstack-source-id: d4ebb4e
Pull Request resolved: #148953

[dynamo][invoke_subgraph] Faster aliasing checks

ghstack-source-id: d4ebb4e
Pull Request resolved: #148997
anijain2305 added a commit that referenced this pull request Mar 17, 2025
ghstack-source-id: 88eb6a3
Pull Request resolved: #148953

[dynamo][invoke_subgraph] Faster aliasing checks

ghstack-source-id: 88eb6a3
Pull Request resolved: #148997
anijain2305 added a commit that referenced this pull request Mar 17, 2025
ghstack-source-id: 3d40a3f
Pull Request resolved: #148953

[dynamo][invoke_subgraph] Faster aliasing checks

ghstack-source-id: 3d40a3f
Pull Request resolved: #148997
anijain2305 added a commit that referenced this pull request Mar 18, 2025
ghstack-source-id: 429f645
Pull Request resolved: #148953

[dynamo][invoke_subgraph] Faster aliasing checks

ghstack-source-id: 429f645
Pull Request resolved: #148997
anijain2305 added a commit that referenced this pull request Mar 20, 2025
ghstack-source-id: 3b3ac68
Pull Request resolved: #148953

[dynamo][invoke_subgraph] Faster aliasing checks

ghstack-source-id: 3b3ac68
Pull Request resolved: #148997
anijain2305 added a commit that referenced this pull request Mar 25, 2025
ghstack-source-id: 07aed05
Pull Request resolved: #148953

[dynamo][invoke_subgraph] Faster aliasing checks

ghstack-source-id: 07aed05
Pull Request resolved: #148997
@github-actions github-actions bot deleted the gh/anijain2305/698/head branch April 20, 2025 02:21
Divigroup-RAP pushed a commit to Divigroup-RAP/PYTORCH that referenced this pull request Apr 22, 2025
ghstack-source-id: 4d85ff1
Pull Request resolved: pytorch/pytorch#148953

[dynamo][invoke_subgraph] Faster aliasing checks

ghstack-source-id: 4d85ff1
Pull Request resolved: pytorch/pytorch#148997
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request module: dynamo topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants