Forked from mberman84/gist:e3418c826306e614e04affde49abcc79
Created
December 6, 2023 07:19
-
-
Save royge/67728bf62da93d9dc0d871f5bbd53969 to your computer and use it in GitHub Desktop.
LLaVA Install (RunPod OR Linux/WSL)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/haotian-liu/LLaVA.git | |
cd LLaVA | |
pip install --upgrade pip | |
pip install torch | |
pip install -e . | |
# for runpod: edit pod to have port 3000 and 100GB of temporary storage | |
python3 -m llava.serve.controller --host 0.0.0.0 --port 10000 | |
# open new terminal, keep previous one open | |
python -m llava.serve.model_worker --host 0.0.0.0 --controller http://localhost:10000 --port 40000 --worker http://localhost:40000 --model-path liuhaotian/llava-v1.5-13b | |
# open new terminal, keep previous one open | |
export GRADIO_SERVER_NAME="0.0.0.0" | |
export GRADIO_SERVER_PORT="3000" | |
python3 -m llava.serve.gradio_web_server --controller http://localhost:10000 --model-list-mode reload | |
# Linux/WSL: go to localhost:10000 | |
# RunPod: Click http service port 3000 button | |
Enjoy! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment