Name Date Size #Lines LOC

..--

backends/H25-Apr-2025-5938

dialect/H25-Apr-2025-11679

infra/H25-Apr-2025-716525

tests/H25-Apr-2025-6044

utils/H25-Apr-2025-1,008686

README.mdH A D25-Apr-20251.1 KiB2117

__init__.pyH A D25-Apr-2025330 1312

annotate_getitem_nodes.pyH A D25-Apr-20251.9 KiB4537

fake_tensor_prop.pyH A D25-Apr-20252.7 KiB7156

graph_drawer.pyH A D25-Apr-202517.2 KiB444367

graph_manipulation.pyH A D25-Apr-20253.9 KiB11289

graph_transform_observer.pyH A D25-Apr-20252.9 KiB9271

net_min_base.pyH A D25-Apr-202533.6 KiB925740

operator_support.pyH A D25-Apr-20257.5 KiB216154

param_fetch.pyH A D25-Apr-20253.4 KiB6754

pass_manager.pyH A D25-Apr-20257 KiB255196

reinplace.pyH A D25-Apr-202532.6 KiB676417

runtime_assert.pyH A D25-Apr-202527.4 KiB606443

shape_prop.pyH A D25-Apr-20257.2 KiB197149

split_module.pyH A D25-Apr-202523.9 KiB576428

split_utils.pyH A D25-Apr-202511 KiB304195

splitter_base.pyH A D25-Apr-202532.6 KiB899696

tools_common.pyH A D25-Apr-202510.9 KiB304234

README.md

1## FX Pass Infrastructure
2This folder contains the pass infrastructure and passes for transforming fx.Graph.
3
4
5## Code Structure
6
7* [infra](infra) - Common infrastructure, such as PassManager, PassBase
8    * [partitioner.py](infra/partitioner.py) - backend agnostic FX graph partitioner
9* [utils](utils) - Utility classes and functions
10    * [common.py](utils/common.py) - common utility functions
11    * [fuser_utils.py](utils/fuser_utils.py) - utility functions for fusing list of nodes into a single node
12* [dialect](dialect) - dialect specific passes
13    * [common](dialect/common) - common passes that can be shared by all dialects
14        * [cse_pass.py](dialect/common/cse_pass.py) - a CSE pass
15    * [aten](dialect/aten) - aten dialect specific passes
16    * [prims](dialect/prims) - prim dialect specific passes
17* [backends](backends) - Backend specific passes
18    * [nvfuser](backends/nvfuser) - passes for nvfuser
19        * [operator_support.py](backends/nvfuser/operator_support.py) - nvFuser supported ops
20* [conversion](conversion) - Conversion passes between dialects
21