Views
No views yet
| Item | Value |
|---|---|
| Source | prism-ml/Bonsai-27B-unpacked |
| Architecture | Qwen3.5 conditional-generation/VLM graph |
| Weight compression | INT4 symmetric, group size 128 |
| Backup precision | INT8 symmetric |
| INT4 ratio | 1.0; all language-model layers requested |
| OpenVINO binary payload | approximately 13.94 GiB |
| Export stack | Optimum 2.2 development exporter, Transformers 5.2, OpenVINO IR |
1python -m pip install "openvino-genai==2026.2.1.0" "huggingface_hub>=1.0"
2hf download Wondernutts/Binary-Bonsai-27B-int4-sym-ov --local-dir ./binary-bonsai-27b-int4-ovVLMPipeline is required because this export contains the conditional-generation/VLM graph. Text-only chat works without supplying an image.1import openvino_genai as ov_genai
2
3model_dir = "./binary-bonsai-27b-int4-ov"
4pipe = ov_genai.VLMPipeline(model_dir, "GPU", CACHE_DIR="./ov_cache")
5
6config = ov_genai.GenerationConfig()
7config.max_new_tokens = 512
8config.do_sample = True
9config.temperature = 0.8
10config.top_p = 0.95
11
12pipe.start_chat("You are a concise, capable assistant.")
13print(pipe.generate("Explain why the sky changes color at sunset.", generation_config=config))
14pipe.finish_chat()start_chat() uses the tokenizer/chat template shipped with the model and retains KV cache across turns. Change "GPU" to "CPU" for CPU inference. If you build a continuous-batching server on Intel GPU and encounter garbled output, disable dynamic activation quantization with DYNAMIC_QUANTIZATION_GROUP_SIZE=0 in the device/pipeline properties.1import numpy as np
2from PIL import Image
3from openvino import Tensor
4
5image = np.asarray(Image.open("image.jpg").convert("RGB"), dtype=np.uint8)[None, ...]
6print(pipe.generate("Describe this image.", images=[Tensor(image)], generation_config=config))