[nativert] oss pass graph pass registration (#160859)

Summary: att

Test Plan:
CI

Rollback Plan:

Differential Revision: D80368343

Pull Request resolved: https://github.com/pytorch/pytorch/pull/160859
Approved by: https://github.com/georgiaphillips
This commit is contained in:
dolpm
2025-08-18 22:23:38 +00:00
committed by PyTorch MergeBot
parent 82c7a1eb4b
commit b439675ae2
9 changed files with 354 additions and 0 deletions

View File

@ -632,6 +632,8 @@ libtorch_nativert_sources = [
"torch/nativert/kernels/GeneratedStaticDispatchKernels.cpp",
"torch/nativert/kernels/GeneratedNativeStaticDispatchKernels.cpp",
"torch/nativert/graph/passes/SubgraphRewriter.cpp",
"torch/nativert/graph/passes/pass_manager/GraphPasses.cpp",
"torch/nativert/graph/passes/pass_manager/PassManager.cpp",
]
torch_mobile_tracer_sources = [