Skip to content

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

Merged
Hzfengsy merged 1 commit intoapache:mainfrom
Archermmt:msc
Feb 20, 2024
Merged

[Unity][MSC][M4.2][Step2] Enable plugin with manager, test plugins in compile pipeline#16581
Hzfengsy merged 1 commit intoapache:mainfrom
Archermmt:msc

Conversation

@Archermmt
Copy link
Copy Markdown
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?

@github-actions github-actions Bot requested a review from Hzfengsy February 18, 2024 02:17
@Hzfengsy Hzfengsy merged commit 2066ce9 into apache:main Feb 20, 2024
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.

2 participants