Coder Social home page Coder Social logo

Comments (7)

erew123 avatar erew123 commented on July 24, 2024 2

Hiya

Its difficult for me to say if this is related to something that's going on with the transformers updates, plus I dont have an overview of your environment, so I can try giving you a handful of things to try, however, Im waiting on the Transformers developers to get back to me, which will be ??? amount of time (hours, days, I don't know). So here are a couple of things you can try to see if this helps:

You say you installed the C++ build tools? https://visualstudio.microsoft.com/visual-cpp-build-tools/

The required portions are typically installed by the Text-gen-webui setup, but for the record, I believe this is what is needed. Its not a specific requirement of AllTalk, its actually a Python/pip requirement https://wiki.python.org/moin/WindowsCompilers for use on Windows. If necessary you can manually install, you would need MSVCv142 - VS 2019 C++ x64/x86 build tools and Windows 10 SDK (or maybe it says 11 now) are selected (as noted on the Python site).

image

As long as you have those installed, Python and pip should function correctly.

Ensure you have loaded the python environment with cmd_windows.bat the go to the \extensions\alltalk_tts\ folder

When in there, first I want you to run git pull to pull down the latest version of AllTalk (I have made updates to the requirements files) and you can type pip install -r requirements_{your type}.txt replacing the {your type} with nvidia or other (the correct type of requirements for your machine).

Hopefully, this will run through correctly, but if not, re-run the command as pip install -r requirements_{your type}.txt > error.log

When you run that, it will look like its doing nothing, but what its actually doing is dumping the text output to a file called error.log. If you can send me that file on here, I may be able to check through it and see whats going on. You should also be able to generate a diagnostics file too.

If its a wider problem however, related to this transformers update, then Its going to take me a while to figure through that one and whats going on. I will have to run up a new Windows machine and check out whats going on there, and also wait to hear from the Transformers developers.

The above is my best guess at this time for your system.

Thanks

from alltalk_tts.

DiffusionAllusion avatar DiffusionAllusion commented on July 24, 2024 1

Thank you so much for taking the time to help! It's going to take a little time for me to download everything and try out but i'll write back with how it goes! Either way you earned a github star for being so helpful :)

Edit okay I installed those C++ tools you highlighted, pulled changes, and reinstalled. it seems to have worked, thank you so so much! you're really awesome for taking the time to help me <33

from alltalk_tts.

erew123 avatar erew123 commented on July 24, 2024 1

Fantastic! I'm glad that's worked for you! Plus it 80% confirms that the changes I made to the requirements files are working to keep the Transformers issue at bay! (Im 90% of the way to installing a new windows machine to try test all those problems out).

Glad you're sorted though!

All the best

Thanks

from alltalk_tts.

erew123 avatar erew123 commented on July 24, 2024

Hiya

So you are running this as part of Text-generation-webui?

And did you start the Text-generation-webui Python environment with one of cmd_windows.bat from within the text-generation-webui folder before running the diagnostics and performing the install?

If the Python environment isn't loaded before doing either of those things then it wont have access to all the bits it installs. Your command prompt should look like the following when the Python environment is loaded:

image

OR the 10 second mark in this installation video https://www.youtube.com/watch?v=icn2XS5rUH8

Could you please confirm back to me on that so I can try figure where things are getting stuck.

Thanks

from alltalk_tts.

erew123 avatar erew123 commented on July 24, 2024

I'm just looking at another person issue with an install and I note the following:


Looks like they released a new version of transformers 7 hours ago https://github.com/huggingface/transformers/releases

I don't know if this is something they have broken in their code or a bug, I cant see a breaking change that would have caused this.

You can force transformers to downgrade with (load the python environment first):

pip install transformers==4.36.2


So your issue may well be related in some way.

Im going to push an update into the requirements files. Please ensure you have loaded your Python environment however and you may wish to perform an update in a few minutes then re-apply the requirements file. Let me know if you need help with this.

Thanks

from alltalk_tts.

DiffusionAllusion avatar DiffusionAllusion commented on July 24, 2024

Thanks for super fast reply!!

Hiya

So you are running this as part of Text-generation-webui?

And did you start the Text-generation-webui Python environment with one of cmd_windows.bat from within the text-generation-webui folder before running the diagnostics and performing the install?

If the Python environment isn't loaded before doing either of those things then it wont have access to all the bits it installs. Your command prompt should look like the following when the Python environment is loaded:

OR the 10 second mark in this installation video https://www.youtube.com/watch?v=icn2XS5rUH8

Could you please confirm back to me on that so I can try figure where things are getting stuck.

Thanks

Yes Im using the webui and I made sure to have it open as that was specified in the readme.

You can force transformers to downgrade with (load the python environment first):

Trying now!

Edit: okay downgrading transformers did not change anything :(

from alltalk_tts.

DiffusionAllusion avatar DiffusionAllusion commented on July 24, 2024

Okay I made a mistake. When I read the readme I thought I was supposed to have the web ui running so I started the start_windows.bat file, but when I looked at your screenshot i saw you used the cmd_ bat file.

I ran the commands in the screenshot and tried to reinstall but this time using pip install with the txt file, and in the logs I got the same error but it continued, but it eventually failed with

ERROR: Could not build wheels for TTS, which is required to install pyproject.toml-based projects

running the atsetup.bat from within the cmt_bat file gives the exact same error though

from alltalk_tts.

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.