erew123 / alltalk_tts

AllTalk is based on the Coqui TTS engine, similar to the Coqui_tts extension for Text generation webUI, however supports a variety of advanced features, such as a settings page, low VRAM support, DeepSpeed, narrator, model finetuning, custom models, wav file maintenance. It can also be used with 3rd Party software via JSON calls.
GNU Affero General Public License v3.0
686 stars 71 forks source link

Stuck at Running in Docker #209

Closed bollerdominik closed 2 months ago

bollerdominik commented 2 months ago

Hi I am trying to run AllTalkTTS in the cloud. I got a basic RunPod pod (A40) with pytorch. I was able to install the standalone version without errors with ./atsetup.sh. However, when starting it it gets stuck at Running in Docker

image

Any ideas?

erew123 commented 2 months ago

Hi @bollerdominik

I didn't personally add the docker detection/setup/routines to AllTalk and they are something I am looking to tidy up/resolve on v2 of AllTalk (currently in development).

However, as for your specific issue, its obviously detecting the environment variable /.dockerenv in the system you are running it on. If you are able to edit/change the script.py file, I can give you a quick fix to see if if gets it working for you!

In script.py in line 305, change the word dockerenv to something else (that doesn't exist) and it should bypass that check.

image

e.g. change

if os.path.isfile("/.dockerenv"):

to

if os.path.isfile("/.novariablehere"):

And that should just cause it to bypass that check, as it wont detect an environment variable called novariablehere

As I say, long term I am looking to resolve these issues in V2, due to certain complexities with docker in v1 that have made it too hard to simply resolve.

Hopefully that should solve it for you. Ill close the ticket for now, but feel free to get back to me if you need.

Thanks