llava-1.5-7b-hf
Llava Hugging Face · llava-hf/llava-1.5-7b-hf
Weights license: Publisher terms: Llama 2 · code and components may use other terms
Quality
No comparable score
We track no public, comparable benchmark that covers this model yet. No score is inferred.
Reported by the publisher
Runs on
Fast memory holds it 114
The planning estimate fits the memory the model can use quickly: graphics card VRAM, or unified memory within the macOS GPU share.
Show all 114
Within memory, outside the fast part 5
Within the machine's memory, outside its fast part: on a graphics card the layers that do not fit run on the CPU from PC RAM (the listed RAM, or 32 GB assumed); on a Mac, above the macOS default GPU share. Not a speed figure.
Hardware profiles grouped by the Q4 planning estimate on each machine (dedicated GPUs reserve 2 GB; unified and system memory 25%, 2 to 8 GB): the fast memory holds it, it is within memory but outside the fast part (layers offloaded to PC RAM, or above the macOS GPU share), or the machine is one memory tier short. Not a measured fit or speed.
Llava Hugging Face released llava-1.5-7b-hf on 2023-10-05: a vision-language model that answers about images, with 7.06B parameters on the Hugging Face count and the Publisher terms: Llama 2 license. Languages the publisher declares: en.
License: commercial use allowed with conditions: Over 700M monthly users needs a Meta license. At Q4 the weights load about 5.3 GB before each machine's reserve; image resolution, video frames and context add memory, and the vision encoder needs support in the runtime you pick.
Measured speed
No published measurement for this checkpoint
Tokens per second are shown only when a source publishes them with hardware, build and setup. They are never estimated.
How to run
Runtime compatibility and tokens per second have not been measured for this entry. Published metadata and a memory estimate do not prove a successful local run.
Library in source: transformers
Documented ways to run it
Copied as printed in the linked source (read 2026-10-18); not run by this site.
from transformers import pipeline
pipe = pipeline("image-text-to-text", model="llava-hf/llava-1.5-7b-hf")
messages = [
{
"role": "user",
"content": [
{"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/ai2d-demo.jpg"},
{"type": "text", "text": "What does the label 15 represent? (1) lava (2) core (3) tunnel (4) ash cloud"},
],
},
]
out = pipe(text=messages, max_new_tokens=20)
print(out)
>>> [{'input_text': [{'role': 'user', 'content': [{'type': 'image', 'url': 'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/ai2d-demo.jpg'}, {'type': 'text', 'text': 'What does the label 15 represent? (1) lava (2) core (3) tunnel (4) ash cloud'}]}], 'generated_text': 'Lava'}]import requests
from PIL import Image
import torch
from transformers import AutoProcessor, LlavaForConditionalGeneration
model_id = "llava-hf/llava-1.5-7b-hf"
model = LlavaForConditionalGeneration.from_pretrained(
model_id,
torch_dtype=torch.float16,
low_cpu_mem_usage=True,
).to(0)
processor = AutoProcessor.from_pretrained(model_id)
# Define a chat history and use `apply_chat_template` to get correctly formatted prompt
# Each value in "content" has to be a list of dicts with types ("text", "image")
conversation = [
{
"role": "user",
"content": [
{"type": "text", "text": "What are these?"},
{"type": "image"},
],
},
]
prompt = processor.apply_chat_template(conversation, add_generation_prompt=True)
image_file = "http://images.cocodataset.org/val2017/000000039769.jpg"
raw_image = Image.open(requests.get(image_file, stream=True).raw)
inputs = processor(images=raw_image, text=prompt, return_tensors='pt').to(0, torch.float16)
output = model.generate(**inputs, max_new_tokens=200, do_sample=False)
print(processor.decode(output[0][2:], skip_special_tokens=True))Technical details
What the source and the catalog store for this checkpoint. Missing fields are left out, never zero.
- Checkpoint / source
- llava-hf/llava-1.5-7b-hf
- Task
- image-text-to-text
- Architecture
- LlavaForConditionalGeneration
- Library in source
- transformers
- Weight license
- Publisher terms: Llama 2llava-hf/llava-1.5-7b-hf model card (Hugging Face) · read 2026-10-18source
- Commercial use
- Allowed with conditions Over 700M monthly users needs a Meta license · Llama 2 Community License (meta-llama/llama LICENSE) · read 2026-10-18license text
- Languages
- enModel card metadata · read 2026-10-25source
- Released
- LLaVA README release notes (GitHub, haotian-liu/LLaVA) · read 2026-10-18source
Every stored field
- Revision checked
- b234b804b114d9e37bb655e11cbbb5f5e971b7a9
- Architecture
- LlavaForConditionalGeneration
- Library
- transformers
- Hub task tag
- image-text-to-text
- Formats
- transformers, safetensors
- Access
- Open download
- Publisher kind
- Official
- Hub parameter count
- 7,063,427,072safetensors.total
- Repository created
- 2023-12-05creation is not the model's release
- Repository updated
- 2025-06-06a commit is not a release date
- Hub downloads (30 days) · likes
- 827,428 · 383this repository only · read 2026-10-25
- Catalog state
- Hub config or weights found; no inventory benchmark link
Sources
Identity and published specifications come from the checkpoint page. Benchmark scores belong to the named release and do not measure speed on your computer.
- Publisher model card
- License: llava-hf/llava-1.5-7b-hf model card (Hugging Face)
- Release date: LLaVA README release notes (GitHub, haotian-liu/LLaVA)
Curated facts checked: 2026-10-18. The license and release date cite the publisher's sources; parameters, files and task come from the Hugging Face record, and memory is a labelled estimate from its parameter count. A value no source states stays empty; a repository commit is not a model release date.






























































