huggingface / parler-tts

Inference and training library for high-quality TTS models.
Apache License 2.0
4.68k stars 475 forks source link

Current version might be broken #157

Open medemi68 opened 3 weeks ago

medemi68 commented 3 weeks ago

Hey Team,

I just spinned up an instance and noticed that the most recent commit to the master branch produces the following error:

Traceback (most recent call last): File "/parler-tts/stream-working.py", line 5, in from parler_tts import ParlerTTSForConditionalGeneration, ParlerTTSStreamer File "/parler-tts/parler_tts/init.py", line 8, in from .modeling_parler_tts import ( File "/parler-tts/parler_tts/modeling_parler_tts.py", line 64, in AutoConfig.register("dac", DACConfig) File "/usr/local/lib/python3.11/dist-packages/transformers/models/auto/configuration_auto.py", line 1070, in register CONFIG_MAPPING.register(model_type, config, exist_ok=exist_ok) File "/usr/local/lib/python3.11/dist-packages/transformers/models/auto/configuration_auto.py", line 769, in register raise ValueError(f"'{key}' is already used by a Transformers config, pick another name.") ValueError: 'dac' is already used by a Transformers config, pick another name.

Any ideas? Should I try using an older branch/commit tag?

medemi68 commented 3 weeks ago

For anyone who needs to use Parler right away and can't wait for a response, you can revert back to the previous commit using

pip install git+https://github.com/huggingface/parler-tts.git@5d0aca9753ab74ded179732f5bd797f7a8c6f8ee

That is the previous commit.

bocklucas commented 2 weeks ago

For anyone who needs to use Parler right away and can't wait for a response, you can revert back to the previous commit using

pip install git+https://github.com/huggingface/parler-tts.git@5d0aca9753ab74ded179732f5bd797f7a8c6f8ee

That is the previous commit.

Can confirm it was broken for me as well and reverting fixed it, thanks @medemi68 !