Instructions to use Salesforce/BLIP-Live with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Salesforce/BLIP-Live with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Salesforce/BLIP-Live") 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, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Salesforce/BLIP-Live") model = AutoModelForMultimodalLM.from_pretrained("Salesforce/BLIP-Live", 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 Salesforce/BLIP-Live with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Salesforce/BLIP-Live" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Salesforce/BLIP-Live", "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/Salesforce/BLIP-Live
- SGLang
How to use Salesforce/BLIP-Live 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 "Salesforce/BLIP-Live" \ --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": "Salesforce/BLIP-Live", "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 "Salesforce/BLIP-Live" \ --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": "Salesforce/BLIP-Live", "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 Salesforce/BLIP-Live with Docker Model Runner:
docker model run hf.co/Salesforce/BLIP-Live
BLIP-Live-Qwen
Paper: BLIP-Live: Balancing Timeliness & Firing Precision in Proactive Streaming Video Agents
BLIP-Live-Qwen is a Salesforce research fine-tune for proactive responses to video streams. This repository contains a complete merged multimodal model, including language and vision weights, config, tokenizer, and processor. The model is hosted at Salesforce/BLIP-Live. A separate adapter or base-model download is not required.
Noncommercial release
This BLIP-Live-Qwen model release is offered under Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) for noncommercial use, subject to the upstream-license scope described below. Attribution is required. See LICENSE.txt for the full terms.
Model details
- Base model: Qwen/Qwen3.5-35B-A3B.
- Exact base revision:
59d61f3ce65a6d9863b86d2e96597125219dc754. - Architecture:
Qwen3_5MoeForConditionalGeneration. - Training adapter: LoRA rank 64, alpha 128, dropout 0.05.
- Export: full Safetensors checkpoint, retaining base dtypes; LoRA updates calculated in float32 and cast to the original weight dtype after addition.
- Lineage: Wave-1 cell 4 (
lora-qwen-w1-long-neg), final training step 3,260. Trained for one epoch on the approximately 10% MarkII slice at stride 10, capped at 26,080 episodes. Training combines last-response memory, trailing silence, and 4–16-frame post-response negatives.
Load
import torch
from transformers import AutoProcessor, Qwen3_5MoeForConditionalGeneration
model = Qwen3_5MoeForConditionalGeneration.from_pretrained(
"Salesforce/BLIP-Live",
dtype=torch.bfloat16,
device_map="auto",
attn_implementation="sdpa",
)
processor = AutoProcessor.from_pretrained(
"Salesforce/BLIP-Live",
)
Use Transformers 5.5.0-compatible model support and Accelerate for automatic device placement. The full checkpoint requires substantial device memory, plus memory for activations and the KV cache. Private-repository access requires Hugging Face authentication.
Streaming protocol
1 FPS target; 32-frame window; 144 vision tokens per frame; last-response memory on, instruction version v2, assistant prefix mode direct. Do not inject the base model's empty-think suffix into the streaming assistant prefix.
Use the project's GitHub inference code for streaming. Processor/tokenizer assets and the chat template in this repository are from the pinned base model. The trained streaming prompts and runtime settings are supplied by the project code. Generic chat inference does not reproduce the benchmark protocol.
Recorded evaluation
Source-adapter results, prior to merge. PAUC-F uses gpt-4.1, omega=0.5, and pauc-f-v1; TV includes current-frame subtitles only, and VAD is visual-only.
| WEB PAUC-F | EGO PAUC-F | TV PAUC-F | VAD PAUC-F |
|---|---|---|---|
| 57.48 | 46.05 | 43.11 | 49.67 |
These are single-run research measurements. Post-merge benchmark evaluation has not been performed. BF16 rounding during merging may introduce numerical differences relative to the adapter runtime.
Export verification
Every exported tensor is read back and checked. Trained weights must match the float32 LoRA merge recalculation exactly after casting; all other tensors must match the pinned base exactly. The full export and processor loaded with the standard Transformers class with no missing, unexpected, or mismatched keys. A minimal text forward pass on CPU produced finite logits. merge_manifest.json records the adapter fingerprint, base revision, target count, validation result, loading/forward checks, and per-shard SHA-256 hashes. Post-merge generation and benchmark validation were not performed.
Intended use and limitations
Intended for research on proactive video understanding. Responses can be incorrect, repeated, late, or missing. The model has not been validated for safety-critical monitoring or decisions. Its behavior depends on sampling, prompts, frame processing, and memory settings. The upstream base model's documented limitations also apply.
License
The BLIP-Live-Qwen model release, to the extent of Salesforce's rights in its fine-tuning modifications and release materials, is offered under CC BY-NC 4.0. See LICENSE.txt and the official license summary. Attribution is required, and commercial use of the licensed material is not permitted under this license.
The underlying Qwen3.5 model and third-party materials retain their original Apache License 2.0 terms. The upstream Qwen license is preserved in LICENSE, and the previous Apache license text is retained in LICENSE-APACHE-2.0.txt. See THIRD_PARTY_NOTICES.md for attribution, modification details, and license scope. This update does not revoke previously granted licenses or restrict rights in upstream material granted independently by its licensors.
Citation
If you use BLIP-Live in your research, please cite:
@misc{ranasinghe2026bliplivebalancingtimeliness,
title={BLIP-Live: Balancing Timeliness & Firing Precision in Proactive Streaming Video Agents},
author={Kanchana Ranasinghe and Honglu Zhou and Dominick Reilly and Le Xue and Shusheng Yang and Juan Carlos Niebles and Silvio Savarese and Ran Xu},
year={2026},
eprint={2611.21553},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2611.21553},
}
- Downloads last month
- 38