triton-lang / triton

Development repository for the Triton language and compiler
https://triton-lang.org/
MIT License
12.77k stars 1.54k forks source link

RuntimeError: 2 active drivers ([<class 'c.CudaDriver'>, <class 'nvi.CudaDriver'>]). #2985

Open srush opened 8 months ago

srush commented 8 months ago

I get this error when install 3.0 from source. Any suggestions?

kuterd commented 5 months ago

I had the same issue with pytorch-triton 3.0.0 nightly.

There seems to be two backends for nvidia gpus cuda and nvidia not exactly sure whats going on (still a newbie with trtion). Removing one rm -r <install location>/triton/backends/cuda worked in my case. But don't know what the root cause is.