Closed lifelongeeek closed 8 hours ago
Thank you folks for reporting. We are taking a look.
Same issue here. Any solution?
This does not seem to help:
python -m pip install --pre -U -f https://mlc.ai/wheels mlc-llm-cpu==0.17.1 mlc-ai-cpu==0.17.1
Hi @lifelongeeek, as shown in the error message you shared, the real issue in this case is
tvm.error.InternalError: Traceback (most recent call last):
File "/Users/catalyst/Workspace/mlc-ai-package-self-runner/_work/package/package/tvm/src/tir/transforms/storage_rewrite.cc", line 1494
InternalError: Check failed: (me->coeff == 0 || info.factor() % me->coeff == 0) is false:
Could you please upgrade to the latest nightly package? We fixed it and the issue is likely gone.
@BoltzmannEntropy Could you please try the latest nightly package? You can find the installation instructions at https://llm.mlc.ai/docs/install/mlc_llm.html. Please let us know if the problem persists, thanks.
Closing the issue as it has been fixed. See also #3036
🐛 Bug
When initializing
MLCEngine
, I got following errorAttributeError: 'MLCEngine' object has no attribute '_ffi'
`` Here is the full error logTo Reproduce
Expected behavior
MLCEngine is loaded successfully.
Environment
Platform (e.g. WebGPU/Vulkan/IOS/Android/CUDA): metal
Operating system (e.g. Ubuntu/Windows/MacOS/...): MacOS
Device (e.g. iPhone 12 Pro, PC+RTX 3090, ...): Macbook M1
How you installed MLC-LLM (
conda
, source):python -m pip install --pre -U -f https://mlc.ai/wheels mlc-llm-nightly-cpu mlc-ai-nightly-cpu
How you installed TVM-Unity (
pip
, source):python -m pip install --pre -U -f https://mlc.ai/wheels mlc-ai-nightly-cpu
Python version (e.g. 3.10): 3.10
GPU driver version (if applicable): N/A
CUDA/cuDNN version (if applicable): N/A
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):