ysh329 commented on issue #18392:
URL: https://github.com/apache/tvm/issues/18392#issuecomment-3446837502

   > [@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']
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to