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

Inference does not work in webui #768

Open
6 tasks done
yuzifu opened this issue Dec 19, 2024 · 7 comments
Open
6 tasks done

Inference does not work in webui #768

yuzifu opened this issue Dec 19, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@yuzifu
Copy link

yuzifu commented Dec 19, 2024

Self Checks

  • This template is only for bug reports. For questions, please visit Discussions.
  • I have thoroughly reviewed the project documentation (installation, training, inference) but couldn't find information to solve my problem. English 中文 日本語 Portuguese (Brazil)
  • I have searched for existing issues, including closed ones. Search issues
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template and fill in all required fields.

Cloud or Self Hosted

Self Hosted (Source)

Environment Details

ubuntu 24.04, torch 2.4.1, gradio 5.9.1, python 3.10

Steps to Reproduce

$git clone https://github.com/fishaudio/fish-speech.git
$cd fish-speech
$huggingface-cli download fishaudio/fish-speech-1.5 --local-dir checkpoints/fish-speech-1.5/
$RADIO_SERVER_NAME=0.0.0.0 GRADIO_SHARE=True python tools/run_webui.py --llama-checkpoint-path "checkpoints/fish-speech-1.5" --decoder-checkpoint-path "checkpoints/fish-speech-1.5/firefly-gan-vq-fsq-8x1024-21hz-generator.pth" --decoder-config-name firefly-gan_vq

✔️ Expected Behavior

Inference can work in webui

❌ Actual Behavior

Inference does not work in webui, and no error
55cae41b3f2515055bc8392c7527689
1f59c20b1f604b2d87df99875b9441d

@yuzifu yuzifu added the bug Something isn't working label Dec 19, 2024
@AnyaCoder
Copy link
Collaborator

@Picus303 Could you have a look at it?

@Picus303
Copy link
Contributor

@Picus303 Could you have a look at it?

I'll try to reproduce it. I think it happened once while I was doing tests but never happened again.

@Iheuzio
Copy link

Iheuzio commented Dec 23, 2024

You're running without CUDA. Bandwidth and inference speed are too slow

@yuzifu
Copy link
Author

yuzifu commented Dec 26, 2024

You're running without CUDA. Bandwidth and inference speed are too slow

Thank you for your reply.
How to running webui with CUDA?

@Picus303
Copy link
Contributor

@yuzifu Use --device cuda as a command line argument when starting the webui, but I think it's enabled by default.

@Picus303
Copy link
Contributor

I can't reproduce this issue for the moment. I guess I'll end up getting it again and then be able to investigate it, but for now I'm not really making progress.

@Iheuzio
Copy link

Iheuzio commented Dec 26, 2024

docker run -ti --runtime=nvidia -e NVIDIA_DRIVER_CAPABILITIES=compute,utility -e NVIDIA_VISIBLE_DEVICES=all -p 127.0.0.1:7860:7860 fishaudio/fish-speech

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants