pytorch/test/cpp
Yiming Zhou 71499fee6b [3/3] Add build rule and test for Graph in nativert (#154532)
We split the large PR for adding Graph.h and Graph.cpp to nativert into 3 smaller PRs:

1. Add header file
2. Add source file
3. **Add test and build rules**

Torch Native Runtime RFC: https://github.com/pytorch/rfcs/pull/72

4 classes have been introduced: `Graph`, `Node`, `Value`, `Type`
- `Type` represents the kind of a `Value`
- `Value` represents a single symbolic value, it could be any kind that exists in `Type`. Values are inputs and outputs of a `Node`.
- `Node` represents a single unit of execution, typically a PyTorch op.
- `Graph` represents a model's computation graph, which is designed to facilitate transformation/analysis.

Differential Revision: [D75495273](https://our.internmc.facebook.com/intern/diff/D75495273/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/154532
Approved by: https://github.com/SherlockNoMad
ghstack dependencies: #154530, #154531
2025-06-03 21:52:05 +00:00
..
aoti_abi_check Move c10/macros/Export.h to torch/standalone (#154850) 2025-06-03 06:18:59 +00:00
aoti_inference Fix some CMake issues (#153686) 2025-05-19 00:31:34 +00:00
api [Lint] Update clang-format to 19.1.4 (#153889) 2025-05-20 14:12:46 +00:00
c10d Revert "[c10d] Separate monitoring thread into a class in PGNCCL (#153977)" 2025-05-30 03:46:43 +00:00
common [AOTI] Add ABI-compatiblity tests (#123848) 2024-04-19 00:51:24 +00:00
dist_autograd Fix some CMake issues (#153686) 2025-05-19 00:31:34 +00:00
jit [Lint] Update clang-format to 19.1.4 (#153889) 2025-05-20 14:12:46 +00:00
lazy Fix some CMake issues (#153686) 2025-05-19 00:31:34 +00:00
lite_interpreter_runtime Fix some CMake issues (#153686) 2025-05-19 00:31:34 +00:00
monitor
nativert [3/3] Add build rule and test for Graph in nativert (#154532) 2025-06-03 21:52:05 +00:00
profiler [Lint] Update clang-format to 19.1.4 (#153889) 2025-05-20 14:12:46 +00:00
rpc Fix some CMake issues (#153686) 2025-05-19 00:31:34 +00:00
tensorexpr [Lint] Update clang-format to 19.1.4 (#153889) 2025-05-20 14:12:46 +00:00
__init__.py