Run this model with HF Jobs
Run Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSeq2SeqLM processor = AutoProcessor.from_pretrained("Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf") model = AutoModelForSeq2SeqLM.from_pretrained("Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf
- SGLang
How to use Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf 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 "Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf with Docker Model Runner:
docker model run hf.co/Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf
LLaVA-OneVision-1.5: Fully Open-Source State-of-the-Art VLM Model
✨ Key Features
LLaVA-OneVision-1.5 introduces a novel family of fully open-source Large Multimodal Models (LMMs) that achieves state-of-the-art performance with substantially lower cost through training on native resolution images.
Superior Performance A family of fully open-source large multimodal models demonstrating superior performance across multiple multimodal benchmarks, outperforming Qwen2.5-VL in most evaluation tasks.
High-Quality Data at Scale Meticulously curated mid-training and SFT data with rigorous filtering and quality control.
- Concept-balanced, highly diverse, high-quality caption data
- Comprehensive instruction fine-tuning data covering a wide range of tasks
- Ultra-Efficient Training Framework Complete end-to-end training framework designed for maximum efficiency:
- $16K total budget for full model training
- 45% HFU efficiency on A100 GPUs ($0.6 per GPU/Hour)
- Built on MegatronLM with support for MoE, FP8, and long sequence parallelization
- Optimized codebase for cost-effective scaling
- Fully Open Framework for community access and reproducibility:
- ✅ High-quality mid-training & SFT data
- ✅ Complete training framework & code
- ✅ Training recipes & configurations
- ✅ Base & instruct model checkpoints
- ✅ Comprehensive training logs & metrics
Code
This model is trained using a fully open-source, end-to-end training framework, with all code available at EvolvingLMMs-Lab/LLaVA-OneVision-1.5.
Dataset
| Description | Link |
|---|---|
| Mid-training data for LLaVA-OneVision-1.5 | 🤗 Download (Uploading!) |
| SFT data for LLaVA-OneVision-1.5 | 🤗 Download (Uploading!) |
Evaluation Results
All evaluations were conducted using lmms_eval.
| LLaVA-OV-1.5-8B | Qwen2.5 VL 7B | |
|---|---|---|
| MMMU (Validation) | 55.44 | 51.33 |
| MMMU-Pro (Standard) | 37.40 | 36.30 |
| MMMU-Pro (Vision) | 25.15 | 32.83 |
| MMBench (English; Test) | 84.14 | 83.40 |
| MMBench (Chinese; Test) | 81.00 | 81.61 |
| MME-RealWorld (English) | 62.31 | 57.33 |
| MME-RealWorld (Chinese) | 56.11 | 51.50 |
| AI2D (With Mask) | 84.16 | 82.58 |
| AI2D (Without Mask) | 94.11 | 93.36 |
| CV-Bench | 80.82 | 79.95 |
| VL-RewardBench | 45.90 | 49.65 |
| V* | 78.01 | 76.96 |
| PixmoCount | 62.19 | 63.33 |
| CountBench | 88.19 | 86.35 |
| ChartQA | 86.48 | 84.08 |
| CharXiv (Direct Questions) | 74.10 | 69.80 |
| DocVQA (Test) | 95.00 | 94.93 |
| InfoVQA (Test) | 78.42 | 81.67 |
| WeMath | 33.62 | 33.33 |
| MathVista (Mini) | 69.57 | 68.60 |
| MathVision | 25.56 | 22.37 |
| MMStar | 67.72 | 62.54 |
| SEED-Bench (Image) | 77.32 | 77.53 |
| ScienceQA | 94.98 | 88.75 |
| SEED-Bench 2-Plus | 69.21 | 70.93 |
| OCRBench | 82.90 | 84.20 |
| RealWorldQA | 68.10 | 68.50 |
Using 🤗 Transformers to Chat
Here we show a code snippet to show you how to use the chat model with transformers and qwen_vl_utils:
from transformers import AutoTokenizer, AutoProcessor, AutoModelForCausalLM
from qwen_vl_utils import process_vision_info
model_path = "lmms-lab/LLaVA-One-Vision-1.5-8B-Instruct"
# default: Load the model on the available device(s)
model = AutoModelForCausalLM.from_pretrained(
model_path, torch_dtype="auto", device_map="auto", trust_remote_code=True
)
# default processer
processor = AutoProcessor.from_pretrained(model_path, trust_remote_code=True)
messages = [
{
"role": "user",
"content": [
{
"type": "image",
"image": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg",
},
{"type": "text", "text": "Describe this image."},
],
}
]
# Preparation for inference
text = processor.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
image_inputs, video_inputs = process_vision_info(messages)
inputs = processor(
text=[text],
images=image_inputs,
videos=video_inputs,
padding=True,
return_tensors="pt",
)
inputs = inputs.to("cuda")
# Inference: Generation of the output
generated_ids = model.generate(**inputs, max_new_tokens=1024)
generated_ids_trimmed = [
out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
]
output_text = processor.batch_decode(
generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
)
print(output_text)
Citation
If you find LLaVA-OneVision-1.5 useful in your research, please consider to cite the following related papers:
@inproceedings{LLaVA-OneVision-1.5,
title={LLaVA-OneVision-1.5: Fully Open Framework for Democratized Multimodal Training},
author={LLaVA Community Contributors},
booktitle={arxiv},
year={2025}
}
@inproceedings{xie2025region,
title={Region-based Cluster Discrimination for Visual Representation Learning},
author={Xie, Yin and Yang, Kaicheng and An, Xiang and Wu, Kun and Zhao, Yongle and Deng, Weimo and Ran, Zimin and Wang, Yumeng and Feng, Ziyong and Miles, Roy and Elezi, Ismail and Deng, Jiankang},
booktitle={ICCV},
year={2025}
}
@article{lillava,
title={LLaVA-OneVision: Easy Visual Task Transfer},
author={Li, Bo and Zhang, Yuanhan and Guo, Dong and Zhang, Renrui and Li, Feng and Zhang, Hao and Zhang, Kaichen and Zhang, Peiyuan and Li, Yanwei and Liu, Ziwei and Li, Chunyuan},
journal={Transactions on Machine Learning Research}
year={2024}
}
- Downloads last month
- 36
Model tree for Deep-VLM/LLaVA-OneVision-1.5-8B-Instruct-hf
Base model
DeepGlint-AI/rice-vit-large-patch14-560