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

How to create these wasm/ mali-so files? #122

Open
ucalyptus2 opened this issue May 18, 2024 · 3 comments
Open

How to create these wasm/ mali-so files? #122

ucalyptus2 opened this issue May 18, 2024 · 3 comments

Comments

@ucalyptus2
Copy link

Need some manual or something

@ucalyptus2
Copy link
Author

cc: @mengshyu

@ucalyptus2
Copy link
Author

cc: @YiyanZhai

@mengshyu
Copy link
Contributor

Hi @ucalyptus2

I use the following command to compile the model library for Mali on Ubuntu (x86).
FYI

export CXX=aarch64-linux-gnu-g++
pyton -m mlc_llm compile \
    PATH_TO_mlc-chat-config.json  \
    --host "llvm -mtriple=aarch64-linux-gnu" \
    --device "mali" \
    -o PATH_TO_MODEL_LIBRARY.so

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

No branches or pull requests

2 participants