Comments (11)
I see, that clarifies it quite a bit - the problems don't show up during the build but are still there.
from tts-generation-webui.
Thank you, seems to affect newer installs altogether, so I added it to the new installer!
from tts-generation-webui.
Thank you for reporting, it was really important. I didn't have this happening so lots of work to be done.
FileNotFoundError: [Errno 2] No such file or directory: 'fairseq/version.txt'
from this I am guessing that we are talking about a non-windows installation, is that correct?
before this update I also modified the fairseq requirements, so now it tries to install this:
requirements_bark_hubert_quantizer.txt
torch==2.0.0 # BSD 3-Clause - ensures torch is not reinstalled
# pre-install fairseq for bark_hubert_quantizer
fairseq @ https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp310-cp310-win_amd64.whl ; sys_platform == 'win32' # MIT License
fairseq==0.12.2 ; sys_platform == 'linux' or sys_platform == 'darwin' # MIT License
bark_hubert_quantizer @ git+https://github.com/rsxdalv/bark-voice-cloning-HuBERT-quantizer@bark_hubert_quantizer#egg=bark_hubert_quantizer # MIT License
I really wish the error was clearer. It says line 4, that would be the
fairseq==0.12.2 ; sys_platform == 'linux' or sys_platform == 'darwin' # MIT License
line.
So please confirm which OS are you using and then we can see how to fix this. Also, if this is WSL or something similar also let me know.
from tts-generation-webui.
from this I am guessing that we are talking about a non-windows installation, is that correct?
Yes, this is correct, I am using Ubuntu Linux 22.04 LTS.
No WSL, I don't use Windows at all, just pure Linux.
from tts-generation-webui.
Alright, that is a helpful clue. Also, for reference, the Dockerfile builds successfully on ubuntu-latest runner.
Ubuntu
22.04.4
LTS
https://github.com/rsxdalv/tts-generation-webui/actions/runs/9626988362/job/26553579383
Perhaps the problem is the difference between Dockerfile and installer.
from tts-generation-webui.
I'm also building a Docker image for Ubuntu 22.04 LTS.
There are no issues with building the Docker image, I only experience issues at runtime.
from tts-generation-webui.
This was my fault, I was using version 24.1 of pip which you mentioned breaks fairseq in the Dockerfile.
from tts-generation-webui.
from tts-generation-webui.
Looks like protobuf
is still an issue though. I was getting an error:
Error: cannot import name 'builder' from ‘google.protobuf.internal
So I upgraded to latest protobuf version 5.27.2 but then even more things broke, so I had to install protobuf==4.25.3
then all tabs started displaying correctly without any errors.
from tts-generation-webui.
Great job! Can I ask why the magic number 4.25.3? I would like to include this in the installer, I have seen some protobuf errors on AI projects and let's just say they scare me, considering how core this library is.
from tts-generation-webui.
I got to the magic number of 4.25.3 by trial and error, I even installed a 3.xx.x version at a point, and the 4.25.3 version was the first version I attempted that didn't produce any errors when starting the gradio application, and all tabs displayed successfully.
from tts-generation-webui.
Related Issues (20)
- Model dropdown for Stable Audio in gradio app is empty HOT 6
- [Feature Request]: Support for fishaudio/fish-speech-1.2 HOT 3
- Missing core packages (dotenv), the app has not been installed successfully. HOT 14
- Windows has protected the computer HOT 3
- Lock actual seed? HOT 3
- Seamless Demo - local model install ? HOT 2
- RVC Connection Time Out HOT 5
- Bark Voice Clone TypeError HOT 7
- Im stuck in installation loop, everytime at this step, Installation fails. HOT 10
- generation_tab_bark.py TypeError 'shape' HOT 1
- Error: No module named 'tortoise.api' HOT 4
- Torch was not compiled with flash attention HOT 3
- Add stable audio open HOT 1
- Missing core packages (dotenv), the app has not been installed successfully. HOT 8
- HF-Cache and Model Problems HOT 14
- Torch does not have CUDA HOT 4
- RVC Not Installing HOT 3
- Do we have inference script of the toolkit? HOT 1
- Parler-TTS Support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tts-generation-webui.