You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have met such problem when I tried to import the package,when I tried to find where the file"_C" is,I found it empty!How could I solve it?Is there anything wrong when I install triton?
Traceback (most recent call last):
File "/home/master/triton/test/my/matmul_new.py", line 4, in
import triton._C.libtriton.triton as _triton
ModuleNotFoundError: No module named 'triton._C.libtriton.triton'; 'triton._C.libtriton' is not a package
The text was updated successfully, but these errors were encountered:
I think the underlying C++ dependency (used for pybind) needs to be installed first if you are importing the triton library from source (instead of from pip install triton)
so inside the top level directory of the triton repo,
$ MAX_JOBS=16 pip install -e python
(and wait for a few minutes)
then you can see
❯ tree python/triton/_C
python/triton/_C
├── include -> ../../../include/
├── libGPUHello.so
├── libproton.so
└── libtriton.so
I have all these after install from source, but still not working. I followed the guide to install pip install ninja cmake wheel pybind11 first. Any help would be appreciated.
I have met such problem when I tried to import the package,when I tried to find where the file"_C" is,I found it empty!How could I solve it?Is there anything wrong when I install triton?
Traceback (most recent call last):
File "/home/master/triton/test/my/matmul_new.py", line 4, in
import triton._C.libtriton.triton as _triton
ModuleNotFoundError: No module named 'triton._C.libtriton.triton'; 'triton._C.libtriton' is not a package
The text was updated successfully, but these errors were encountered: