KEMBAR78
Reapply "Make functionalization `ViewMeta` serializable with pickle. (#143712)" by Lucaskabela · Pull Request #163769 · pytorch/pytorch · GitHub
Skip to content

Conversation

@Lucaskabela
Copy link
Contributor

@Lucaskabela Lucaskabela commented Sep 24, 2025

Summary:

NOTE: This is a re-export of #161994 ; the changes between these two PRs is exclusively to the buck/build files

(Summary from #161994 )
Attempted rebase of #143712.

This reverts commit 6c713cc.

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

imported-using-ghimport

Test Plan: Imported from OSS

Differential Revision: D81524507

Pulled By: Lucaskabela

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

@pytorch-bot
Copy link

pytorch-bot bot commented Sep 24, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 296733f with merge base 754c7e2 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@facebook-github-bot
Copy link
Contributor

@Lucaskabela has exported this pull request. If you are a Meta employee, you can view the originating diff in D81524507.

@Lucaskabela
Copy link
Contributor Author

Lucaskabela commented Sep 24, 2025

Copying justification from other PR:

It looks like the original PR renamed a few functionalization-related torchgen functions. It's a bit unfortunate that these API's are technically public in the torchgen namespace. Given that these are only used inside of functionalization codegen directly, I wouldn't expect them to be used outside of the torchgen package, so I'm adding the suppress-bc-linter tag.

@Lucaskabela Lucaskabela added suppress-bc-linter Suppresses the failures of API backward-compatibility linter (Lint/bc_linter) release notes: composability release notes category labels Sep 24, 2025
@pytorch pytorch deleted a comment from pytorch-bot bot Sep 24, 2025
@Lucaskabela Lucaskabela changed the title Reapply "Make functionalization ViewMeta serializable with pickle. (#143712)" (#161994) Reapply "Make functionalization ViewMeta serializable with pickle. (#143712)" Sep 24, 2025
@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 24, 2025
@albanD albanD removed their request for review September 24, 2025 20:12
@facebook-github-bot
Copy link
Contributor

@Lucaskabela has exported this pull request. If you are a Meta employee, you can view the originating diff in D81524507.

Lucaskabela pushed a commit to Lucaskabela/pytorch that referenced this pull request Sep 24, 2025
…ytorch#143712)" (pytorch#163769)

Summary:
Pull Request resolved: pytorch#163769

Pull Request resolved: pytorch#161994

Attempted rebase of pytorch#143712. First I'm sanity checking that OSS CI passes. I'll probably need to abandon this PR and make a diff to check internal CI

This reverts commit 6c713cc.

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

imported-using-ghimport

Test Plan: Imported from OSS

Differential Revision: D81524507

Pulled By: Lucaskabela
@dolpm dolpm self-requested a review September 24, 2025 22:39
Copy link
Contributor

@dolpm dolpm left a comment

Choose a reason for hiding this comment

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

syminteq stuff looks fine. rest has been reviewed prior, so will approve

@facebook-github-bot
Copy link
Contributor

@Lucaskabela has exported this pull request. If you are a Meta employee, you can view the originating diff in D81524507.

Lucaskabela pushed a commit to Lucaskabela/pytorch that referenced this pull request Sep 24, 2025
…ytorch#143712)" (pytorch#163769)

Summary:
Pull Request resolved: pytorch#163769

Pull Request resolved: pytorch#161994

Attempted rebase of pytorch#143712. First I'm sanity checking that OSS CI passes. I'll probably need to abandon this PR and make a diff to check internal CI

This reverts commit 6c713cc.

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

imported-using-ghimport

Test Plan: Imported from OSS

Reviewed By: dolpm

Differential Revision: D81524507

Pulled By: Lucaskabela
@facebook-github-bot
Copy link
Contributor

@Lucaskabela has exported this pull request. If you are a Meta employee, you can view the originating diff in D81524507.

Lucaskabela pushed a commit to Lucaskabela/pytorch that referenced this pull request Sep 24, 2025
…ytorch#143712)" (pytorch#163769)

Summary:
Pull Request resolved: pytorch#163769

Pull Request resolved: pytorch#161994

Attempted rebase of pytorch#143712. First I'm sanity checking that OSS CI passes. I'll probably need to abandon this PR and make a diff to check internal CI

This reverts commit 6c713cc.

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

imported-using-ghimport

Test Plan: Imported from OSS

Reviewed By: dolpm

Differential Revision: D81524507

Pulled By: Lucaskabela
@facebook-github-bot
Copy link
Contributor

@Lucaskabela has exported this pull request. If you are a Meta employee, you can view the originating diff in D81524507.

Lucaskabela pushed a commit to Lucaskabela/pytorch that referenced this pull request Sep 24, 2025
…ytorch#143712)" (pytorch#163769)

Summary:
Pull Request resolved: pytorch#163769

Pull Request resolved: pytorch#161994

Attempted rebase of pytorch#143712. First I'm sanity checking that OSS CI passes. I'll probably need to abandon this PR and make a diff to check internal CI

This reverts commit 6c713cc.

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

imported-using-ghimport

Test Plan: Imported from OSS

Reviewed By: dolpm

Differential Revision: D81524507

Pulled By: Lucaskabela
…ytorch#143712)" (pytorch#163769)

Summary:
Pull Request resolved: pytorch#163769

Pull Request resolved: pytorch#161994

Attempted rebase of pytorch#143712. First I'm sanity checking that OSS CI passes. I'll probably need to abandon this PR and make a diff to check internal CI

This reverts commit 6c713cc.

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

imported-using-ghimport

Test Plan: Imported from OSS

Reviewed By: dolpm

Differential Revision: D81524507

Pulled By: Lucaskabela
@facebook-github-bot
Copy link
Contributor

@Lucaskabela has exported this pull request. If you are a Meta employee, you can view the originating diff in D81524507.

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@Lucaskabela
Copy link
Contributor Author

@pytorchbot cherry-pick --onto release/2.9 --fixes vllm-project/vllm#24547 -c regression

@Lucaskabela
Copy link
Contributor Author

For context for dev-infra team: This PR, along with #163571, is required to fix a major issue with standalone compile for some models in vLLM (Gemma3, Qwen3) which was unmasked in 2.8. We need these to be cherrypicked in 2.9, otherwise standalone compile will be turned off for ~2-3 months (until these PRs are released in another branch cut)

@pytorchbot
Copy link
Collaborator

Cherry picking #163769

Command git -C /home/runner/work/pytorch/pytorch cherry-pick -x 7d710403b003e44bf31d367673a05468e49df75d returned non-zero exit code 1

Auto-merging .gitignore
Auto-merging BUILD.bazel
Auto-merging aten/src/ATen/FunctionalStorageImpl.cpp
Auto-merging aten/src/ATen/FunctionalTensorWrapper.cpp
CONFLICT (content): Merge conflict in aten/src/ATen/FunctionalTensorWrapper.cpp
Auto-merging buckbuild.bzl
Auto-merging build_variables.bzl
Auto-merging caffe2/CMakeLists.txt
Auto-merging test/functorch/test_aotdispatch.py
Auto-merging torch/_C/__init__.pyi.in
Auto-merging torch/_functorch/_aot_autograd/autograd_cache.py
Auto-merging torch/_functorch/_aot_autograd/runtime_wrappers.py
Auto-merging torch/csrc/Module.cpp
Auto-merging torch/fx/experimental/symbolic_shapes.py
error: could not apply 7d710403b00... Reapply "Make functionalization `ViewMeta` serializable with pickle. (#143712)"  (#163769)
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Details for Dev Infra team Raised by workflow job

Lucaskabela pushed a commit that referenced this pull request Sep 25, 2025
…143712)"  (#163769)

NOTE: This is a re-export of #161994 ; the changes between these two PRs is exclusively to the buck/build files

(Summary from #161994 )
Attempted rebase of #143712.

This reverts commit 6c713cc.

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

imported-using-ghimport

Test Plan: Imported from OSS

Differential Revision: D81524507

Pulled By: Lucaskabela

Pull Request resolved: #163769
Approved by: https://github.com/dolpm

Co-authored-by: Brian Hirsh <hirsheybar@fb.com>
(cherry picked from commit 7d71040)
Lucaskabela pushed a commit that referenced this pull request Sep 25, 2025
…143712)"  (#163769)

NOTE: This is a re-export of #161994 ; the changes between these two PRs is exclusively to the buck/build files

(Summary from #161994 )
Attempted rebase of #143712.

This reverts commit 6c713cc.

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

imported-using-ghimport

Test Plan: Imported from OSS

Differential Revision: D81524507

Pulled By: Lucaskabela

Pull Request resolved: #163769
Approved by: https://github.com/dolpm

Co-authored-by: Brian Hirsh <hirsheybar@fb.com>
(cherry picked from commit 7d71040)
@Lucaskabela
Copy link
Contributor Author

Manual cherry pick: #163873

jainapurva pushed a commit that referenced this pull request Sep 29, 2025
…143712)"  (#163769)

### Summary:
NOTE: This is a re-export of #161994 ; the changes between these two PRs is exclusively to the buck/build files

(Summary from #161994 )
Attempted rebase of #143712.

This reverts commit 6c713cc.

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

imported-using-ghimport

Test Plan: Imported from OSS

Differential Revision: D81524507

Pulled By: Lucaskabela

Pull Request resolved: #163769
Approved by: https://github.com/dolpm

Co-authored-by: Brian Hirsh <hirsheybar@fb.com>
pytorchmergebot pushed a commit that referenced this pull request Oct 2, 2025
…143712)"  (#163769)

NOTE: This is a re-export of #161994 ; the changes between these two PRs is exclusively to the buck/build files

(Summary from #161994 )
Attempted rebase of #143712.

This reverts commit 6c713cc.

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

imported-using-ghimport

Test Plan: Imported from OSS

Differential Revision: D81524507

Pulled By: Lucaskabela

Pull Request resolved: #163769
Approved by: https://github.com/dolpm

Co-authored-by: Brian Hirsh <hirsheybar@fb.com>
(cherry picked from commit 7d71040)
atalman pushed a commit that referenced this pull request Oct 2, 2025
…zation ViewMeta serializable with pickle #163769` (#163873)

Reapply "Make functionalization `ViewMeta` serializable with pickle. (#143712)"  (#163769)

NOTE: This is a re-export of #161994 ; the changes between these two PRs is exclusively to the buck/build files

(Summary from #161994 )
Attempted rebase of #143712.

This reverts commit 6c713cc.

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

imported-using-ghimport

Test Plan: Imported from OSS

Differential Revision: D81524507

Pulled By: Lucaskabela

Pull Request resolved: #163769
Approved by: https://github.com/dolpm


(cherry picked from commit 7d71040)

Co-authored-by: Brian Hirsh <hirsheybar@fb.com>
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 fb-exported Merged meta-exported module: dynamo release notes: composability release notes category suppress-bc-linter Suppresses the failures of API backward-compatibility linter (Lint/bc_linter)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants