mllm
mllm copied to clipboard
如何注册一个新算子?
如果要注册一个新算子,我都要在哪些文件中添加相关的内容?
In v1(main),see https://ubiquitouslearning.github.io/mllm_website/zh/contributing/add_new_operator/; v2 ,see https://ubiquitouslearning.github.io/mllm/quick_start/how_to_add_op.html
In mllm-v2 we’ve also added an OpPackage feature that lets users register a whole set of Ops at runtime by loading a dynamic library on the fly—no need to rebuild the main mllm library or other backends. See the Plugin example in Tests. https://github.com/UbiquitousLearning/mllm/tree/v2/tests/plugin
好的谢谢