junrushao1994 commented on pull request #8789: URL: https://github.com/apache/tvm/pull/8789#issuecomment-901528736
@vinx13 this snippet does work, but i am not sure if it is the best way to do: ```python import importlib.util spec = importlib.util.spec_from_file_location("mymodule", "/home/jrshao/Projects/tvm-tensorir-dev/tests/python/tir/util.py") foo = importlib.util.module_from_spec(spec) spec.loader.exec_module(foo) ``` -- 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: commits-unsubscr...@tvm.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org