Skip to content

Conversation

@f2013519
Copy link
Contributor

Background:

This PR adds Marvell software runtime support as outlined in the pre-RFC here (refer to Phasing section, Phase 2): https://discuss.tvm.apache.org/t/prerfc-byoc-integrating-marvell-ml-ai-accelerator-to-the-tvm-byoc-framework/16155

Our initial PR added basic support for partitioning and compilation (#16570).

This follow up PR integrates mrvl-tmlc (Marvell's ML compiler which generates MLIP ISA) and mrvl-mlsim which is a software simulator tool to simulate the MLIP hardware. This toolchain is hosted at our MarvellMLTools GitHub repo: https://github.com/MarvellEmbeddedProcessors/MarvellMLTools

Summary of Changes:

The mrvl-tmlc compiler is invoked during compile time to generate MLIP instructions which are embedded in the runtime. The runtime then invokes the mrvl-mlsim tool to process the input, simulate the MLIP ISA instructions and return the output to the TVM runtime.

@f2013519
Copy link
Contributor Author

cc @Hzfengsy

Copy link
Member

@Hzfengsy Hzfengsy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @f2013519!

@Hzfengsy Hzfengsy merged commit 5cf4ca6 into apache:main Apr 24, 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