Git Product home page Git Product logo

Comments (11)

rsxdalv avatar rsxdalv commented on August 22, 2024 1

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.

rsxdalv avatar rsxdalv commented on August 22, 2024 1

Thank you, seems to affect newer installs altogether, so I added it to the new installer!

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on August 22, 2024

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.

ashleykleynhans avatar ashleykleynhans commented on August 22, 2024

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.

rsxdalv avatar rsxdalv commented on August 22, 2024

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.

ashleykleynhans avatar ashleykleynhans commented on August 22, 2024

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.

ashleykleynhans avatar ashleykleynhans commented on August 22, 2024

This was my fault, I was using version 24.1 of pip which you mentioned breaks fairseq in the Dockerfile.

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on August 22, 2024

from tts-generation-webui.

ashleykleynhans avatar ashleykleynhans commented on August 22, 2024

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.

rsxdalv avatar rsxdalv commented on August 22, 2024

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.

ashleykleynhans avatar ashleykleynhans commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.