Skip to content

[Feature] Reuse JIT code path for building AOT wheel #791

Open
@abcdabcd987

Description

Currently we maintain AOT csrc and JIT csrc separately. Since JIT is the priority and AOT is tested less often, AOT falls out of sync with JIT from time to time. This causes lots of issues (e.g., compilation failure, linking failure, missing symbols at runtime, falling back to JIT) and duplicated work must be paid to bring the changes to AOT. This is clearly not sustainable.

On the other hand, we do want to have a wheel that have some common kernels precompiled.

My proposal is: Get rid of AOT csrc. Use JIT code path to generate and compile kernels during wheel build time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions