Giter Club home page Giter Club logo

Comments (5)

pseudotensor avatar pseudotensor commented on July 1, 2024 1

Seems you didn't do the "Run server:" step? i.e.

Run server:
```bash
pip install gradio==4.17.0
python -m llava.serve.gradio_web_server --controller http://localhost:$server_port --model-list-mode once

i.e. h2oGPT talks to custom llava web server with API exposed that takes to controller that talks to workers.

Will close for now, feel free to ask new questions.

from h2ogpt.

Andrew-MAQ avatar Andrew-MAQ commented on July 1, 2024

Oh, ok, I will try that! Thank you for such a fast response!

from h2ogpt.

Andrew-MAQ avatar Andrew-MAQ commented on July 1, 2024

This absolutely worked! If anybody runs into this issue in the future, in a new terminal, I ran:

pip3 install gradio==4.17.0
python -m llava.serve.gradio_web_server --controller http://localhost:8080 --model-list-mode once

The gradio_web_server ran on local URL http://0.0.0.0:7860, so the final command became:

python generate.py --score_model=None --llava_model= http://0.0.0.0:7860 --base_model=liuhaotian/llava-v1.6-vicuna-13b --inference_server=http://0.0.0.0:7860 --prompt_type=plain

from h2ogpt.

pseudotensor avatar pseudotensor commented on July 1, 2024

Take note of other things in that FAQ section, e.g.:

When launching LLaVa, if you want the server and worker to work with a remote gradio, then replace `localhost` with the IP of the server.

Also yes, by default the llava gradio runs on 7860. If that's an issue because h2oGPT runs on 7860, then just change one of them. I'll add note to FAQ

from h2ogpt.

Andrew-MAQ avatar Andrew-MAQ commented on July 1, 2024

I changed the h2oGPT port to 8000 with:

export GRADIO_SERVER_PORT=8000

from h2ogpt.

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.