Audiocraft is a library for audio processing and generation with deep learning. It features the state-of-the-art EnCodec audio compressor / tokenizer, along with MusicGen, a simple and controllable music generation LM with textual and melodic conditioning.
MIT License
552
stars
63
forks
source link
Error caught was: No module named 'triton' in windows11 #58
E:\AIProject\audiocraft_plus>set TRANSFORMERS_CACHE=.\cache
E:\AIProject\audiocraft_plus>.\venv\Scripts\python.exe .\app.py
A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
Traceback (most recent call last):
File "E:\AIProject\audiocraft_plus\app.py", line 33, in <module>
from audiocraft.data.audio_utils import convert_audio
File "E:\AIProject\audiocraft_plus\audiocraft\__init__.py", line 24, in <module>
from . import data, modules, models
File "E:\AIProject\audiocraft_plus\audiocraft\data\__init__.py", line 10, in <module>
from . import audio, audio_dataset, info_audio_dataset, music_dataset, sound_dataset
File "E:\AIProject\audiocraft_plus\audiocraft\data\info_audio_dataset.py", line 19, in <module>
from ..modules.conditioners import SegmentWithAttributes, ConditioningAttributes
File "E:\AIProject\audiocraft_plus\audiocraft\modules\conditioners.py", line 21, in <module>
import spacy
File "E:\AIProject\audiocraft_plus\venv\lib\site-packages\spacy\__init__.py", line 14, in <module>
from . import pipeline # noqa: F401
File "E:\AIProject\audiocraft_plus\venv\lib\site-packages\spacy\pipeline\__init__.py", line 1, in <module>
from .attributeruler import AttributeRuler
File "E:\AIProject\audiocraft_plus\venv\lib\site-packages\spacy\pipeline\attributeruler.py", line 6, in <module>
from .pipe import Pipe
File "spacy\pipeline\pipe.pyx", line 1, in init spacy.pipeline.pipe
File "spacy\vocab.pyx", line 1, in init spacy.vocab
File "E:\AIProject\audiocraft_plus\venv\lib\site-packages\spacy\tokens\__init__.py", line 1, in <module>
from .doc import Doc
File "spacy\tokens\doc.pyx", line 36, in init spacy.tokens.doc
File "E:\AIProject\audiocraft_plus\venv\lib\site-packages\spacy\schemas.py", line 6, in <module>
from pydantic import StrictStr, StrictInt, StrictFloat, StrictBool, ConstrainedStr
File "E:\AIProject\audiocraft_plus\venv\lib\site-packages\pydantic\__init__.py", line 363, in __getattr__
return _getattr_migration(attr_name)
File "E:\AIProject\audiocraft_plus\venv\lib\site-packages\pydantic\_migration.py", line 302, in wrapper
raise PydanticImportError(f'`{import_path}` has been removed in V2.')
pydantic.errors.PydanticImportError: `pydantic:ConstrainedStr` has been removed in V2.
For further information visit https://errors.pydantic.dev/2.5/u/import-error
E:\AIProject\audiocraft_plus>pause
venv config
run app.py ERROR info
I don't know what to do. Please help me