mlc-llm
mlc-llm copied to clipboard
Can you give the code and guide for all models conversion?
If you give the code of the model conversion, so that everyone can apply all the models according to the code and guide. :)
All codes, including model conversion codes, are in this repo. We are going to write tutorials soon
look forward the tutorials
All codes, including model conversion codes, are in this repo. We are going to write tutorials soon
The models seem to be constructed by relax API, instead of converting from original torch.nn.Module. Could you explain why not using existing relay frontend converter to get the model? Thanks
As Relax has native dynamic shape support and modulized compilation flow, we won't waste our time on Relay in this project. And we are constructed by relax, because:
- We admit that relax does not have a well-done front-end importer
- LLM model are easy to write