LLaVA-1.5-7B OpenVINO (INT8)
OpenVINO IR conversion of llava-hf/llava-1.5-7b-hf with weight-only INT8 quantization, produced on CPU-only Kaggle with optimum-cli (fully offline, token-free).
- Base model:
llava-hf/llava-1.5-7b-hf(LlavaForConditionalGeneration, 8.3B params, Apache-2.0) - Task:
image-text-to-text(multimodal: CLIP vision encoder + text embeddings + Vicuna-7B language model) - Precision: weights INT8 (NNCF), activations FP16/FP32 as traced
- Converted with:
optimum-intel 2.2.0,openvino 2026.4.1,transformers 5.16.1(MAX_TRANSFORMERS_VERSION gate bypassed) - The classic LLaVA-1.5 instruct-tuned VLM (2k visual instruction-tuned, 400 chart/deplot instruction-tuned)
Usage
optimum-intel
from optimum.intel import OVModelForVisualCausalLM
from transformers import AutoProcessor
model = OVModelForVisualCausalLM.from_pretrained("Nekodeus/llava-1.5-7b-openvino")
processor = AutoProcessor.from_pretrained("Nekodeus/llava-1.5-7b-openvino")
inputs = processor("Describe this image", images=image, return_tensors="pt")
print(processor.decode(model.generate(**inputs, max_new_tokens=64)[0]))
OpenVINO GenAI
ov::genai::VLMPipeline pipe("path/to/Nekodeus/llava-1.5-7b-openvino", "CPU");
Reproduce
optimum-cli export openvino \
--model llava-hf/llava-1.5-7b-hf \
--task image-text-to-text \
--weight-format int8 \
llava-1.5-7b-openvino