File tree Expand file tree Collapse file tree 3 files changed +36
-1
lines changed Expand file tree Collapse file tree 3 files changed +36
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ In addition to providing a bridge to a variety of Python based numerical program
1111
1212## Framework integrations
1313
14- * Coming soon
14+ * [ PyTorch] ( frontends/pytorch/README.md ) -- Experimental integration for
15+ extracting programs from PyTorch.
1516
1617## Python language compiler tookit
1718
Original file line number Diff line number Diff line change 1+ # NPComp - Frontends
2+
3+ NPComp maintains in-tree frontends for various popular numeric-python based
4+ frameworks. In general these are:
5+
6+ * Considered optional components
7+ * Target dialects maintained at the top-level of the project
8+ * Maintained in isolation so as to facilitate moving them out to dedicated
9+ projects at an appropriate point of the lifecycle (i.e. if NPComp is
10+ successful as a general purpose target for such frameworks, then it may
11+ make sense to contribute/build each frontend to their respective up-stream
12+ project).
13+
14+ Frontends try to stylistically fit into the outer project except for when it
15+ is more clear/advantageous to align them with the conventions of the source
16+ project. This is approached on a case by case basis as needed. Deviations
17+ should be documented in a local style guide for the frontend.
Original file line number Diff line number Diff line change 1+ # NPComp - PyTorch frontend integration
2+
3+ This directory contains optional components for interfacing PyTorch to NPComp.
4+ Integration is targeted at multiple levels:
5+
6+ * Via program capture with a ATen pseudo-device.
7+ * Via IR-level integration with PyTorch (via tracing or scripting interfaces).
8+ * Interfaces to facilitate checking against reference implementations and
9+ verification.
10+
11+ In all situations, the target dialects are maintained in the outer project,
12+ along with their lowerings to common intermediate dialects and backends. This
13+ directory should be purely about interfacing with the PyTorch/LibTorch
14+ components for extracting and executing programs.
15+
16+ See the [ overall documentation for frontends] ( ../README.md ) for further details
17+ about code layout and integration philosophy.
You can’t perform that action at this time.
0 commit comments