Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I made a 1-click launcher that works on Mac, Windows, Linux #96

Open
cocktailpeanut opened this issue Feb 15, 2025 · 10 comments
Open

I made a 1-click launcher that works on Mac, Windows, Linux #96

cocktailpeanut opened this issue Feb 15, 2025 · 10 comments

Comments

@cocktailpeanut
Copy link

cocktailpeanut commented Feb 15, 2025

Thank you for merging the torch-backbone branch, I've been meaning to write a launcher for this project but the mamba stuff really was a huge bottleneck, and thanks to the torch-backbone merge (and some tedious work i had to do with environment variables) I've managed to get it to work on all OS (Tested extensively on mac and windows, but linux still needs some testing, if you have issues, please come ask on my discord https://discord.gg/TQdNwadtE4).

This 1-click launcher (via pinokio.computer, which i'm working on) takes care of everything including installing the pip dependencies and espeak (on all platforms).

Hope you find it useful https://x.com/cocktailpeanut/status/1890826554764374467

@C0untFloyd
Copy link

Thanks for your work. After installing it doesn't run however and shows this error msg:

Image

This is on Windows 10, the original repo here tells it's only working on Linux based OS?!?

@progmars
Copy link

progmars commented Feb 16, 2025

After installing it doesn't run however and shows this error msg:

Just restart Pinokio, it then launches it. However, then there's the problem that Open WebUI tries to open http://0.0.0.0:7860/, which is not correct. Open http://127.0.0.1:7860/ in your browser, it should load there.
I also modified api\zonos.git\pinokio.js file to force the change: replace href: local.url with local.url.replace("0.0.0.0", "127.0.0.1") and it will load the UI in Pinokio.

However, now I'm fighting another issue. When I upload my file for voice conversion, it gets stuck in the UI, but I see the following error in the Terminal:

ImportError: DLL load failed while importing cuda_utils: The specified module could not be found.

Something is broken with CUDA install for this. I know that CUDA should work on my machine, I've been using Comfy UI with Flux and Hunyuan video with Triton and also lots of LLMs.

@progmars
Copy link

Ok, got it - Triton was the problem.
Delete everything from C:\Users\<your user name>\.triton\cache folder, then it will work.

@cocktailpeanut
Copy link
Author

@progmars You no longer have to change 0.0.0.0 to 127.0.0.1. Actually I had already made sure this works seamlessly and automatically launch 127.0.0.1, and even sent a PR here #97

But based on feedback decided to change SERVER_NAME to ZONOS_HOST as you can see in the PR, but forgot to apply that on the launcher script, so the launcher script was still using SERVER_NAME, which was why it didn't recognize and was loading at 0.0.0.0.

Now that i fixed the launcher script, the 127.0.0.1 URL will properly load

@C0untFloyd
Copy link

Not working for me. The very moment I'm clicking on the Zonos entry to start it, the error msg is displayed "The "path" argument must be of type string. Received null". It doesn't even launch the terminal. Is there some startup argument I need to specify? I've updated a number of times and even deleted and re-installed everything.
I can perfectly run fish speech using pinokio...

@progmars
Copy link

@C0untFloyd , did you get a popup message at the end of the Zonos installation process saying that it was installed but Pinokio needs to be restarted? If not, try launching Install again, and it should show both the path error and that popup. Then restart Pinokio completely - close it and make sure you kill all the running Pinokio processes from Task Manager. Then try launching Pinokio and Zonos again.

@C0untFloyd
Copy link

Yes, numerous times, I even rebooted completely the last time:

Image
Clicking on Zonos:
Image

I think I'm giving up and will install it myself in a conda env, thanks for the help.

@Mlv213
Copy link

Mlv213 commented Feb 18, 2025

[C0untFloyd]I have this error too, I can't solve it.

@Dalsontimes
Copy link

| The current ZonosBackbone does not support the hybrid architecture, meaning only the transformer model will be available in the model selector.
| This probably means the mamba-ssm library has not been installed.

Apple M1 ,,, To install the mamba-ssm library, how should I do it?

@MarquezBU
Copy link

MarquezBU commented Feb 20, 2025

Change in "start.js" (C:\pinokio\api\zonos.git):

let espeakPath = kernel.template.vals.which("espeak-ng")
let espeakRoot = path.dirname(espeakPath)

to:

let espeakPath = kernel.template.vals.which("espeak-ng");
if (!espeakPath) {
  // Fallback: Direkter Pfad zu espeak-ng
  espeakPath = "C:\\Program Files\\eSpeak NG\\espeak-ng.exe";
}
let espeakRoot = path.dirname(espeakPath);

... and it should work 😜👍🏼
Cheers //Markus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants