[nativert] move layout planner algorithms to libtorch (#156508)

Summary: tt

Test Plan:
ci

Rollback Plan:

Differential Revision: D76832891

Pull Request resolved: https://github.com/pytorch/pytorch/pull/156508
Approved by: https://github.com/zhxchen17
This commit is contained in:
dolpm
2025-06-21 07:35:36 +00:00
committed by PyTorch MergeBot
parent bf50d71553
commit eab45643f2
7 changed files with 280 additions and 0 deletions

View File

@ -610,6 +610,8 @@ libtorch_nativert_sources = [
"torch/nativert/detail/ITree.cpp",
"torch/nativert/kernels/C10Kernel.cpp",
"torch/nativert/kernels/AutoFunctionalizeKernel.cpp",
"torch/nativert/executor/memory/GreedyBySize.cpp",
"torch/nativert/executor/memory/Bump.cpp",
]
torch_mobile_tracer_sources = [