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

[Usage] Cannot Launch a gradio web server #1812

Open
LiuChang-ao opened this issue Dec 17, 2024 · 0 comments
Open

[Usage] Cannot Launch a gradio web server #1812

LiuChang-ao opened this issue Dec 17, 2024 · 0 comments

Comments

@LiuChang-ao
Copy link

Describe the issue

Issue:
I launched a controller successfully but cannot launch a gradio server. It has been stuck for a long time and cannot be interrupted by the "Ctrl-C" command.

Command:

python -m llava.serve.controller --host 0.0.0.0 --port 10000
python -m llava.serve.gradio_web_server --controller http://localhost:10000 --model-list-mode reload

Log:

(llava) PS D:\_______\LLaVA> python -m llava.serve.controller --host 0.0.0.0 --port 10000
The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.
2024-12-17 14:59:03 | INFO | controller | args: Namespace(host='0.0.0.0', port=10000, dispatch_method='shortest_queue')
2024-12-17 14:59:03 | INFO | controller | Init controller
2024-12-17 14:59:03 | ERROR | stderr | INFO:     Started server process [5336]
2024-12-17 14:59:03 | ERROR | stderr | INFO:     Waiting for application startup.
2024-12-17 14:59:03 | ERROR | stderr | INFO:     Application startup complete.
2024-12-17 14:59:03 | ERROR | stderr | INFO:     Uvicorn running on http://0.0.0.0:10000 (Press CTRL+C to quit)

# another terminal
(llava) PS D:\________\LLaVA> python -m llava.serve.gradio_web_server --controller http://localhost:10000 --model-list-mode reload
The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.
2024-12-17 14:59:18 | INFO | gradio_web_server | args: Namespace(host='0.0.0.0', port=None, controller_url='http://localhost:10000', concurrency_count=16, model_list_mode='reload', share=False, moderate=False, embed=False)

Screenshots:
You may attach screenshots if it better explains the issue.

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

1 participant