mlc-llm icon indicating copy to clipboard operation
mlc-llm copied to clipboard

[Bug] can't find crate for 'core' when cross-compiling for aarch64-linux-android during package

Open jordanqi opened this issue 6 months ago • 0 comments

🐛 Bug

To Reproduce

Steps to reproduce the behavior:

I encountered the following error while trying to package the project for Android (aarch64-linux-android) using Rust, I tried "rustup target add aarch64-linux-android " and set path but does not solve problem. Image

Expected behavior

Environment

  • Platform (e.g. WebGPU/Vulkan/IOS/Android/CUDA): Android
  • Operating system (e.g. Ubuntu/Windows/MacOS/...): Ubuntu
  • Device (e.g. iPhone 12 Pro, PC+RTX 3090, ...)
  • How you installed MLC-LLM (conda, source): conda
  • How you installed TVM-Unity (pip, source): pip
  • Python version (e.g. 3.10): 3.11
  • GPU driver version (if applicable):
  • CUDA/cuDNN version (if applicable):
  • TVM Unity Hash Tag (python -c "import tvm; print('\n'.join(f'{k}: {v}' for k, v in tvm.support.libinfo().items()))", applicable if you compile models):
  • Any other relevant information:

Additional context

jordanqi avatar Apr 13 '25 02:04 jordanqi