I am a beginner with TVM and following the official tutorial. I open the tutorial with Google Colab (Google Colab) and installed TVM using the given command:
pip install apache-tvm --pre
After installation, I tried to import tvm
, but I encountered the following errors:
ModuleNotFoundError: No module named ‘tvm._ffi._cy3.core’
and also
AttributeError: np.float_
was removed in the NumPy 2.0 release. Use np.float64
instead.
I ran the code exactly as provided in the tutorial, and I have no idea what went wrong. I also couldn’t find any similar issues or solutions online, which makes me even more confused.
I am able to run simple TVM experiments locally (after building from source), but I need to switch back to Colab for GPU usage in future tutorials.
I would really appreciate any help or suggestions on how to resolve these errors and get TVM running smoothly in Colab. Thank you!