Closed Alonelymess closed 2 months ago
Would you mind sharing a link to a Google Colab that one can just click and run to reproduce the issue?
Would you mind sharing a link to a Google Colab that one can just click and run to reproduce the issue?
I'm not sure google colab can create a new environment with python 3.10? I just create a new virtual env use python 3.10.12, then pip install pyannote.audio. The "from pyannote.audio.pipelines import SpeakerDiarization" right from the beginning lead to that error
Anyway I just comment the line:
# if has_triton_package():
# import triton
# common_constant_types.add(triton.language.dtype)
from ".../miniconda3/envs/py310/lib/python3.10/site-packages/torch/_dynamo/utils.py", line 1066 (Because this line cause the error above) I check the triton version is 3.0.0 And it works !!? Very strange tho
Tested versions
pyannote.audio 3.3.1
System information
Ubuntu 22.04
Issue description
I want to use Speaker diarization Here is the code I use:
Then it raise an error show that triton doesn't have module language
I just create a virtual env in python 3.10.12 and pyannote.audio 3.3.1
Minimal reproduction example (MRE)
Create new env with python 3.10 using virtual env pip install pyannote.audio Run the code above