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][Step2] Enable plugin with manager, test plugins in compile pipeline #16581

Merged
merged 1 commit into from Feb 20, 2024

Conversation

Archermmt
Copy link
Contributor

@Archermmt Archermmt commented Feb 16, 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 custom convert map in relax.frontend.torch.from_fx.

cc @Hzfengsy , some changes are needed in relax.frontend.torch.from_fx to support custom ops, could you please help to review this part?

@Hzfengsy Hzfengsy merged commit 2066ce9 into apache:main Feb 20, 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