Model reference · open weights

instructblip-flan-t5-xl

LLMs Salesforce Vision + text 1 build Open weights 48k dl/mo

instructblip-flan-t5-xl is an open-weight language model from Salesforce. instructblip-flan-t5-xl (FP32) weighs 8.0 GB; the smallest configuration that runs it is RTX 3060 12 GB.

  • InstructBLIP is a visual instruction-tuned model developed by Salesforce that uses Flan-T5-xl as its language model.
  • It is designed for image-text-to-text tasks and supports English.
  • The model contains 4.0B parameters and is released under the MIT license.

Summary of the Salesforce/instructblip-flan-t5-xl model card, 2026-10-01

What it is

Released bySalesforce
Released2023-05-28
Parameters4.0B
VRAM8.0 GB for the weights

What it runs on

Memory and cards for instructblip-flan-t5-xl (FP32)

8.0 GBweights, file size
197 MBcache per 1K tokens
1.9 GBruntime overhead, at least
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB1—8K11.6 GB
RTX 4060 Ti 16 GB3—27K15.4 GB
RTX 3090 24 GB8267K23.4 GB
RTX 4090 24 GB8266K23.4 GB
RTX 5090 32 GB133104K31.0 GB
L40S 48 GB215128K44.0 GB
A100 80 GB4210128K78.2 GB
H100 80 GB4010128K78.1 GB
RTX PRO 6000 Blackwell 96 GB5012128K93.8 GB
DGX Spark (GB10) 128 GB unified5814128K107 GB
H200 141 GB7719128K138 GB
B200 180 GB10125128K176 GB
Memory needed at each load
Requests at once8K tokens each32K tokens each
111.5 GB16.3 GB
518.0 GB42.1 GB
822.8 GB61.4 GB
1635.7 GB113 GB
3261.4 GB216 GB
64113 GB422 GB

One card, with vLLM's small-card settings.

From the model card

What Salesforce says about instructblip-flan-t5-xl

Read the model card

InstructBLIP model using Flan-T5-xl as language model. InstructBLIP was introduced in the paper InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning by Dai et al.

Disclaimer: The team releasing InstructBLIP did not write a model card for this model so this model card has been written by the Hugging Face team.

Model description

InstructBLIP is a visual instruction tuned version of BLIP-2. Refer to the paper for details.

Intended uses & limitations

Usage is as follows:

from transformers import InstructBlipProcessor, InstructBlipForConditionalGeneration
import torch
from PIL import Image
import requests

model = InstructBlipForConditionalGeneration.from_pretrained("Salesforce/instructblip-flan-t5-xl")
processor = InstructBlipProcessor.from_pretrained("Salesforce/instructblip-flan-t5-xl")

device = "cuda" if torch.cuda.is_available() else "cpu"
model.to(device)

url = "https://raw.githubusercontent.com/salesforce/LAVIS/main/docs/_static/Confusing-Pictures.jpg"
image = Image.open(requests.get(url, stream=True).raw).convert("RGB")
prompt = "What is unusual about this image?"
inputs = processor(images=image, text=prompt, return_tensors="pt").to(device)

outputs = model.generate(
        **inputs,
        do_sample=False,
        num_beams=5,
        max_length=256,
        min_length=1,
        top_p=0.9,
        repetition_penalty=1.5,
        length_penalty=1.0,
        temperature=1,
)
generated_text = processor.batch_decode(outputs, skip_special_tokens=True)[0].strip()
print(generated_text)

How to use

For code examples, we refer to the documentation.

Ethical Considerations

This release is for research purposes only in support of an academic paper. Our models, datasets, and code are not specifically designed or evaluated for all downstream purposes. We strongly recommend users evaluate and address potential concerns related to accuracy, safety, and fairness before deploying this model. We encourage users to consider the common limitations of AI, comply with applicable laws, and leverage best practices when selecting use cases, particularly for high-risk scenarios where errors or misuse could significantly impact people’s lives, rights, or safety. For further guidance on use cases, refer to our AUP and AI AUP.

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms