ysh329 left a comment (apache/tvm#18392) > [@ysh329](https://github.com/ysh329) You need to install tvm-ffi package > which in 3rdparty/tvm-ffi
Thanks and you are right. The unexpected behavior earlier really gave me a scare 😅 ```bash cd 3rdparty/tvm-ffi pip3 install . ``` After commands above, everything ran smoothly: ```bash @ysh329 ➜ /workspaces/test_tvm_v0.22.0.rc0/github/apache-tvm-src-v0.22.0 $ python3 Python 3.12.1 (main, Jul 10 2025, 11:57:50) [GCC 13.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tvm tvm.__path__ /home/codespace/.python/current/lib/python3.12/site-packages/tvm_ffi/_optional_torch_c_dlpack.py:625: UserWarning: Failed to load torch c dlpack extension: Ninja is required to load C++ extensions,EnvTensorAllocator will not be enabled. warnings.warn( >>> tvm.__path__ ['/workspaces/test_tvm_v0.22.0.rc0/github/apache-tvm-src-v0.22.0/python/tvm'] ``` -- Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/issues/18392#issuecomment-3446837502 You are receiving this because you are subscribed to this thread. Message ID: <apache/tvm/issues/18392/[email protected]>
