rsxdalv / tts-generation-webui

TTS Generation Web UI (Bark, MusicGen + AudioGen, Tortoise, RVC, Vocos, Demucs, SeamlessM4T, MAGNet, StyleTTS2, MMS)
https://rsxdalv.github.io/tts-generation-webui/
MIT License
1.68k stars 180 forks source link

fairseq dependency problem #229

Closed Astra060 closed 9 months ago

Astra060 commented 9 months ago

Hello. I installed the project as there were too many conflicts in the .bat file. everything is fine but fairseq, it doesn't support hydra-core==1.1 && omegaconf==2.1.2, and both of these are needed for other packages. What should I do about this.

Plus the Installer (.bat file) has problems, it really needs reworking.

SideNote*, is step 8 just outdated and not true? there is nothing to clone in that location.

rsxdalv commented 9 months ago

Why does it need reworking?

On Sat, Dec 9, 2023, 10:32 AM Astra060 @.***> wrote:

Hello. I installed the project as there were too many conflicts in the .bat file. everything is fine but fairseq, it doesn't support hydra-core==1.1 && omegaconf==2.1.2, and both of these are needed for other packages. What should I do about this.

Plus the Installer (.bat file) has problems, it really needs reworking.

SideNote*, is step 8 just outdated and not true? there is nothing to clone in that location.

— Reply to this email directly, view it on GitHub https://github.com/rsxdalv/tts-generation-webui/issues/229, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTRXIZKXQT6AOP47PMB2QLYIQOYNAVCNFSM6AAAAABANUNAVOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZTGNZSHAZDGNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Astra060 commented 9 months ago

Why does it need reworking? On Sat, Dec 9, 2023, 10:32 AM Astra060 @.> wrote: Hello. I installed the project as there were too many conflicts in the .bat file. everything is fine but fairseq, it doesn't support hydra-core==1.1 && omegaconf==2.1.2, and both of these are needed for other packages. What should I do about this. Plus the Installer (.bat file) has problems, it really needs reworking. SideNote, is step 8 just outdated and not true? there is nothing to clone in that location. — Reply to this email directly, view it on GitHub <#229>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTRXIZKXQT6AOP47PMB2QLYIQOYNAVCNFSM6AAAAABANUNAVOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZTGNZSHAZDGNY . You are receiving this because you are subscribed to this thread.Message ID: **@.***>

Has conflicts, and a lot of them! I tried initially with that file but it did not work.

rsxdalv commented 9 months ago

The projects have conflicts. I have tried to go to those other projects and make them fix their packages, but sometimes that is difficult or unviable. The only way to have a pretty console output is almost always just to hide it.

I have set it up so that even though it reports conflicts (out of my control) I can still install and run the projects (although, there are still 3rd party things that can break - everything from interrupted internet connections to a small package being updated automatically).

But even though the projects have conflicts in their requirements.txt (but they can be run together), it still is desirable to have them together, i.e., a TTS + RVC combo. Another option would be to have a separate venv + python server for each project and then to coordinate them on top. That was not the original direction with a gradio interface, but it might be the direction of the future (which will probably mean that 16-32GB is recommended RAM for the system).

Astra060 commented 9 months ago

The projects have conflicts. I have tried to go to those other projects and make them fix their packages, but sometimes that is difficult or unviable. The only way to have a pretty console output is almost always just to hide it.

I have set it up so that even though it reports conflicts (out of my control) I can still install and run the projects (although, there are still 3rd party things that can break - everything from interrupted internet connections to a small package being updated automatically).

But even though the projects have conflicts in their requirements.txt (but they can be run together), it still is desirable to have them together, i.e., a TTS + RVC combo. Another option would be to have a separate venv + python server for each project and then to coordinate them on top. That was not the original direction with a gradio interface, but it might be the direction of the future (which will probably mean that 16-32GB is recommended RAM for the system).

Alright. Thanks for the fast and detailed reply. Closing this as nothing should be wrong. If I had anymore problems I'll try to cache the packages in another environment with a higher timeout as Internet Connection might have caused the Installer to fail. Also Thanks for the awesome project!

rsxdalv commented 9 months ago

The projects have conflicts. I have tried to go to those other projects and make them fix their packages, but sometimes that is difficult or unviable. The only way to have a pretty console output is almost always just to hide it. I have set it up so that even though it reports conflicts (out of my control) I can still install and run the projects (although, there are still 3rd party things that can break - everything from interrupted internet connections to a small package being updated automatically). But even though the projects have conflicts in their requirements.txt (but they can be run together), it still is desirable to have them together, i.e., a TTS + RVC combo. Another option would be to have a separate venv + python server for each project and then to coordinate them on top. That was not the original direction with a gradio interface, but it might be the direction of the future (which will probably mean that 16-32GB is recommended RAM for the system).

Alright. Thanks for the fast and detailed reply. Closing this as nothing should be wrong. If I had anymore problems I'll try to cache the packages in another environment with a higher timeout as Internet Connection might have caused the Installer to fail. Also Thanks for the awesome project!

If you see it failing, do report, it helps even if it's due to internet or something. I recently tried installing automatic1111 with a vpn and it took me like 3 tries. I wish it was more plug-and-play, but the competing projects in the AI open source space are less like an orchestra and more like an auction house. (i.e., bark and transformers' bark are different. similar, but different, even though it was supposed to be a replacement.)

Astra060 commented 9 months ago

The projects have conflicts. I have tried to go to those other projects and make them fix their packages, but sometimes that is difficult or unviable. The only way to have a pretty console output is almost always just to hide it. I have set it up so that even though it reports conflicts (out of my control) I can still install and run the projects (although, there are still 3rd party things that can break - everything from interrupted internet connections to a small package being updated automatically). But even though the projects have conflicts in their requirements.txt (but they can be run together), it still is desirable to have them together, i.e., a TTS + RVC combo. Another option would be to have a separate venv + python server for each project and then to coordinate them on top. That was not the original direction with a gradio interface, but it might be the direction of the future (which will probably mean that 16-32GB is recommended RAM for the system).

Alright. Thanks for the fast and detailed reply. Closing this as nothing should be wrong. If I had anymore problems I'll try to cache the packages in another environment with a higher timeout as Internet Connection might have caused the Installer to fail. Also Thanks for the awesome project!

If you see it failing, do report, it helps even if it's due to internet or something. I recently tried installing automatic1111 with a vpn and it took me like 3 tries. I wish it was more plug-and-play, but the competing projects in the AI open source space are less like an orchestra and more like an auction house. (i.e., bark and transformers' bark are different. similar, but different, even though it was supposed to be a replacement.)

Sure. Thanks! I'm not much a Programmer, but yes, Projects in AI open source space are quiet messy. unlike other places like games or software. Things are progressing too fast for having harmony...

Enchante503 commented 1 month ago

This has dealt with it.

pip install pip==23.3.2 pip uninstall fairseq

git clone https://github.com/pytorch/fairseq cd fairseq

Change setup.py: ’’’ install_requires=[

  "hydra-core>=1.1",   "omegaconf<=2.1", ’’’ save file

pip install hydra-core==1.1.0 pip install omegaconf==2.1.0 pip install --editable ./