Giter VIP home page Giter VIP logo

Comments (6)

daniel12997 avatar daniel12997 commented on June 5, 2024

I chose option D(CPU mode) in the installer for reference.

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on June 5, 2024

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on June 5, 2024

Ok, I think I finally figured it out. Oulala. So what's happening is that one-click-installer installs latest pytorch in this case:

conda install -y -k pytorch torchvision torchaudio cpuonly git -c pytorch

However, since other packages like to be picky with pytorch, there are many torch==2.0.0 version selectors in the installations happening after that to prevent it from being reinstalled. It works on NVidia installs, but does the opposite on everything else.

The manual fix is to run that command again (after each update):

conda install -y -k pytorch torchvision torchaudio cpuonly git -c pytorch

But now that I know the problem I might be able to find a fix.

from tts-generation-webui.

daniel12997 avatar daniel12997 commented on June 5, 2024

In my case the manual fix needed the additional flag --force-reinstall to actually get the correct versions since it thought it had already installed the packages but for a completely fresh install it might not. once that was done in the conda environment it worked.

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on June 5, 2024

Thanks for letting me know. Right now the only fix I imagine is to just automatically reinstall at the end. It will make the install slower but it's already time consuming, so I think I will do it that way for now.

from tts-generation-webui.

rsxdalv avatar rsxdalv commented on June 5, 2024

Ok, I added that to the update.py so that if there's no CUDA it attempts to reinstall pytorch with

conda install --force-reinstall -y -k pytorch torchvision torchaudio cpuonly git -c pytorch

command.

I will close this issue, please reopen if needed.

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.