Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Unity][MSC][M4.2][Step1] Enable plugin with manager, test plugins in compile pipeline #16495

Merged
merged 2 commits into from Feb 5, 2024

Conversation

Archermmt
Copy link
Contributor

@Archermmt Archermmt commented Jan 30, 2024

This is a pull request for MSC(Multi-System Compile)
RFC: https://discuss.tvm.apache.org/t/rfc-unity-msc-introduction-to-multi-system-compiler/15251/5
Tracking issue: #15233

This is the Milestone 4 for MSC: Add plugin builder, enable plugin wrap in different frameworks.
To limit each PR in reviewable size, the Milestone 4 will be split into some steps:
[M4.1] Add plugin && plugin_builder, enable build and test in different frameworks.
[M4.2] Enable plugin with manager, test plugins in compile pipeline.

To enable using plugin in compile pipeline, the plugin manager is used together with MSC Manager. Plugin manager handles the converter of plugin from training framework to relax. Codegen parts are also modified for code generation.

This PR add necessary codes in MSC. To enable using plugin in pipeline, relax.frontend.torch.from_fx should also be changed, which will be included in next PR.

cc @Hzfengsy

@Archermmt Archermmt changed the title [Unity][MSC][M4.2][Step1] Enable plugin with manager, test plugins in compile pipeline. [Unity][MSC][M4.2][Step1] Enable plugin with manager, test plugins in compile pipeline Jan 31, 2024
@Hzfengsy Hzfengsy merged commit 343435a into apache:main Feb 5, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants