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

Move aot_cudagraphs backend here #757

Merged
merged 3 commits into from
Aug 10, 2022
Merged

Move aot_cudagraphs backend here #757

merged 3 commits into from
Aug 10, 2022

Conversation

ezyang
Copy link
Contributor

@ezyang ezyang commented Aug 9, 2022

Previously it was in pytorch/pytorch but it depends on torchdynamo
code more closely, so this seems like the logical place.

Previously at pytorch/pytorch#80566

Signed-off-by: Edward Z. Yang ezyang@fb.com

Previously it was in pytorch/pytorch but it depends on torchdynamo
code more closely, so this seems like the logical place.

Previously at pytorch/pytorch#80566

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
@ezyang ezyang merged commit 3f2decb into pytorch:main Aug 10, 2022
@ezyang ezyang deleted the cudagraphs branch August 10, 2022 03:48
@anijain2305
Copy link
Contributor

@ezyang Should we also add a aot_nvfuser_cudagraphs i.e. AOTAutograd + Ts-nvfuser with Cudagraphs

@ezyang
Copy link
Contributor Author

ezyang commented Aug 10, 2022

We have aot nvfuser, but I'm not sure how the cudagraphs integration with nvfuser works. @Chillee might know more, he said he hacked in inductor's cuda graphs support to nvfuser. Note that cuda graphs is antipattern for dynamic shapes, and also there is quite a bit of logic needed to get it right (which I think is being duped between this backend and inductors' cudagraphs support)

pytorchmergebot pushed a commit to pytorch/pytorch that referenced this pull request Aug 10, 2022
facebook-github-bot pushed a commit to pytorch/pytorch that referenced this pull request Aug 11, 2022
)

Summary:
These files are now in pytorch/torchdynamo#757

Pull Request resolved: #83128
Approved by: https://github.com/ezyang

Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/0e8beb7d0d1c10e155d650dcf57a8468b3faa423

Reviewed By: seemethere

Differential Revision: D38600199

Pulled By: msaroufim

fbshipit-source-id: 04906e1907fc916a4b22158c277d5ca6cf49bfd7
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.

4 participants