vfdff opened a new issue, #17698: URL: https://github.com/apache/tvm/issues/17698
As we known, for a PE binary, we can use ldd to show the active dynamic library we used, but we don't have similar method to get it for a script ### Expected behavior I expect I use the libtvm.so matched to my configuration PYTHONPATH, but it seems it may use another libtvm.so For example, When I config the following **PYTHONPATH**, I expected we use the libtvm.so under /home/zhongyunde/tvm/python, but in fact we don't have the libtvm.so under /home/zhongyunde/tvm/python, and it still can find the tvm module when we run the python script ``` export TVM_HOME=/home/zhongyunde/tvm export PYTHONPATH=$TVM_HOME/python (mlir_venv) (base) root@998ee80b761b:/home/zhongyunde/tvm# ls /home/zhongyunde/tvm/build/libtvm.so -lt -rwxr-xr-x 1 root root 183057984 Mar 3 03:05 /home/zhongyunde/tvm/build/libtvm.so ``` ### Environment Any environment details, such as: Operating System, TVM version, etc ``` Ubuntu 7.5.0-3ubuntu1~18.04 (cat /proc/version) Python 3.11.0 ``` ### Steps to reproduce 1、we build the libtvm.so local with source, and we add string **dd zyd** to mask my local building file libtvm.so  2、run the python matmul_ansor.py after we config the PYTHONPATH as following,but we still get **Generate Sketches without dd zyd** after we took a look at the run log, so we can make sure we don't use the libtvm.so new modified source ``` export TVM_HOME=/home/zhongyunde/tvm export PYTHONPATH=$TVM_HOME/python ``` (/py311-tts) root@998ee80b761b:/home/zhongyunde/source/test/ansor# python matmul_ansor.py * the snip of the run log  refer to https://github.com/apache/tvm/issues/17692 -- 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]
