Image-Text-to-Text
Transformers
Safetensors
English
llava_llama
text-generation
llava
llava-1.5
llava-v1.5-7b
vision-language-model
multimodal
quantization-aware-training
qat
int4
w4g128
learned-scales
grace
icml-2026
Instructions to use ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128
- SGLang
How to use ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128 with Docker Model Runner:
docker model run hf.co/ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128
Download training_args.bin from ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128: direct link, hf CLI and curl.
- Browser
- Download file 6.46 kB
-
https://huggingface.co/ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128/resolve/main/training_args.bin
- Command line
-
hf download hf://ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/ForeverBlue/LLaVA-1.5-7B-GRACE-W4G128/resolve/main/training_args.bin
6.46 kB
- Xet hash:
- e19085f5f419dc97b61d40b57defbd36de5db876526d583f80a7b4875df2741e
- Size of remote file:
- 6.46 kB
- SHA256:
- ef1dadf2380ceae4b8cd942a9aca9d706b6832024e4df247b7a6697e4ce6b8ed
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.