Closed mjsf12 closed 5 months ago
please make sure your compiled tvm completely through the instruction, instead of just the runtime part
It was missing LLVM, I installed the dependency and rebuilt, and now it seems to work.
@mjsf12, have you collected performance metrics for both CPU and GPU modes? It would be very interesting to see.
🐛 Bug
I tried to build this to run the 128k phi-3, to compare it with the pure CPU usage without OpenCL.then I encountered this error.
To Reproduce
Steps to reproduce the behavior:
mlc_llm compile /home/mjsf12/mlc-llm/dist/prebuilt/Phi-3-mini-128k-instruct-q4f16_1-MLC/mlc-chat-config.json --device opencl -o /home/mjsf12/mlc-llm/dist/prebuilt/lib/phi3/Phi-3-mini-128k-instruct-q4f16_1-mali.so
Error:
Expected behavior
I expected to generate a library to run in the MLCEngine to perform some benchmarks.
Environment
Additional context
mlc_llm.sh:
I apologize for any confusion with my English; it's still a work in progress, and I had help from LLMs.