Repository navigation
[inductor][refactor] Use AotOnlyBuffer for AOTI cpp_wrapper buffers - #182304
desertfire wants to merge 3 commits into
Conversation
PythonWrapperCodegen.__init__ now constructs self.header / self.prefix / self.wrapper_call via make_codegen_buffer(), which returns AotOnlyBuffer in AOT mode and plain IndentedBuffer otherwise. CppWrapperCpu picks up the right type automatically — no override needed since aot_mode is the graph-level flag that drives the choice. Authored with Claude [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/182304
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 9a37b69 with merge base 004acb4 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…r buffers" PythonWrapperCodegen.__init__ now constructs self.header / self.prefix / self.wrapper_call via make_codegen_buffer(), which returns AotOnlyBuffer in AOT mode and plain IndentedBuffer otherwise. CppWrapperCpu picks up the right type automatically — no override needed since aot_mode is the graph-level flag that drives the choice. Authored with Claude cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
PythonWrapperCodegen.__init__ now constructs self.header / self.prefix / self.wrapper_call via make_codegen_buffer(), which returns AotOnlyBuffer in AOT mode and plain IndentedBuffer otherwise. CppWrapperCpu picks up the right type automatically — no override needed since aot_mode is the graph-level flag that drives the choice. Authored with Claude ghstack-source-id: 6a8ad05 Pull Request resolved: #182304
|
@pytorchbot merge |
Merge startedYour 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 |
…r buffers" PythonWrapperCodegen.__init__ now constructs self.header / self.prefix / self.wrapper_call via make_codegen_buffer(), which returns AotOnlyBuffer in AOT mode and plain IndentedBuffer otherwise. CppWrapperCpu picks up the right type automatically — no override needed since aot_mode is the graph-level flag that drives the choice. Authored with Claude cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
PythonWrapperCodegen.__init__ now constructs self.header / self.prefix / self.wrapper_call via make_codegen_buffer(), which returns AotOnlyBuffer in AOT mode and plain IndentedBuffer otherwise. CppWrapperCpu picks up the right type automatically — no override needed since aot_mode is the graph-level flag that drives the choice. Authored with Claude ghstack-source-id: e29fbe3 Pull Request resolved: #182304
|
@pytorchbot merge |
Merge startedYour 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 |
Merge failedReason: HTTP Error 504: Gateway Timeout Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot merge |
Merge startedYour 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 |
…ytorch#182304) PythonWrapperCodegen.__init__ now constructs self.header / self.prefix / self.wrapper_call via make_codegen_buffer(), which returns AotOnlyBuffer in AOT mode and plain IndentedBuffer otherwise. CppWrapperCpu picks up the right type automatically — no override needed since aot_mode is the graph-level flag that drives the choice. Authored with Claude Pull Request resolved: pytorch#182304 Approved by: https://github.com/angelayi ghstack dependencies: pytorch#182264, pytorch#182265, pytorch#182303
…ytorch#182304) PythonWrapperCodegen.__init__ now constructs self.header / self.prefix / self.wrapper_call via make_codegen_buffer(), which returns AotOnlyBuffer in AOT mode and plain IndentedBuffer otherwise. CppWrapperCpu picks up the right type automatically — no override needed since aot_mode is the graph-level flag that drives the choice. Authored with Claude Pull Request resolved: pytorch#182304 Approved by: https://github.com/angelayi ghstack dependencies: pytorch#182264, pytorch#182265, pytorch#182303
…ytorch#182304) PythonWrapperCodegen.__init__ now constructs self.header / self.prefix / self.wrapper_call via make_codegen_buffer(), which returns AotOnlyBuffer in AOT mode and plain IndentedBuffer otherwise. CppWrapperCpu picks up the right type automatically — no override needed since aot_mode is the graph-level flag that drives the choice. Authored with Claude Pull Request resolved: pytorch#182304 Approved by: https://github.com/angelayi ghstack dependencies: pytorch#182264, pytorch#182265, pytorch#182303
…ytorch#182304) PythonWrapperCodegen.__init__ now constructs self.header / self.prefix / self.wrapper_call via make_codegen_buffer(), which returns AotOnlyBuffer in AOT mode and plain IndentedBuffer otherwise. CppWrapperCpu picks up the right type automatically — no override needed since aot_mode is the graph-level flag that drives the choice. Authored with Claude Pull Request resolved: pytorch#182304 Approved by: https://github.com/angelayi ghstack dependencies: pytorch#182264, pytorch#182265, pytorch#182303
Stack from ghstack (oldest at bottom):
PythonWrapperCodegen.init now constructs self.header / self.prefix /
self.wrapper_call via make_codegen_buffer(), which returns AotOnlyBuffer
in AOT mode and plain IndentedBuffer otherwise. CppWrapperCpu picks up
the right type automatically — no override needed since aot_mode is the
graph-level flag that drives the choice.
Authored with Claude
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @jataylo