Skip to content

AOT Refactor #1064

Closed
Closed
@abcdabcd987

Description

@abcdabcd987

Tracking ticket for the implementation of unifying JIT and AOT code path (#791).

High level approach:

  1. Capture the building instructions for each torch cpp extension in a JitSpec object.
  2. Generate ninja file for each JitSpec. Notably, the output target should be $name/$name.so, i.e., including the name of the torch cpp extension.
  3. Generate a wrapper ninja file that use subninja to include all ninja files.
  4. After building all torch cpp extensions, copy the .so files to data/aot/ and ship the package.

Tasks:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions