CoolFace
Modelpublic

Qengineering/SmolVLM2-256m-rk3588

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes233downloads
Model Card

SmolVLM2-256M for RK3588 NPU

This repository provides a hardware-accelerated port of SmolVLM2-256M optimized for Rockchip RK3588 NPU.

Alt text<br>User:\<image\>Describe the image.<br><br> Answer: The image depicts a scene from space, specifically looking at the moon's surface. The moon is in the process of being tidied up and has been cleaned to remove any debris or stains. There are two large white objects on the right side of the image, which could be astronauts or other crew members. They appear to be working together to clean the area around the moon's surface.

The background shows a view of Earth from space, showing the planet with its atmosphere and oceans. The sky is dark, indicating that it might be either early morning or late afternoon. There are no visible clouds in the sky, which suggests that the sun is not at its peak position. The image also includes some text, but it's unclear what it says.

Overall, this image captures a moment of cleanliness and organization on the moon, with both humans and astronauts working together to clean up the area around the moon's surface.


Model Files

ComponentFilePrecision
LLMsmolvlm2-256m-instruct_w8a8_rk3588.rkllmW8A8
Vision Encodersmolvlm2_256m_vision_fp16_rk3588.rknnFP16

Hardware Requirements

  • —Rockchip RK3588 / RK3588S
  • —RKNPU2 driver
  • —Tested on:
  • —Rock 5C
  • —Ubuntu 22.04 / 24.04 (Joshua Riek)

Runtime Requirements

  • —RKLLM runtime
  • —RKNN runtime (rknpu2)
  • —OpenCV (for image preprocessing)

Model performance benchmark (FPS)

All models, with C++ examples, can be found on the Q-engineering GitHub.<br><br> All LLM models are quantized to w8a8, while the VLM vision encoders use fp16.<br>

modelRAM (GB)<sup>1</sup>llm cold sec<sup>2</sup>llm warm sec<sup>3</sup>vlm cold sec<sup>2</sup>vlm warm sec<sup>3</sup>ResolutionTokens/s
Qwen3-2B3.121.92.610.00.9448 x 44811.5
Qwen3-4B8.749.65.610.61.1448 x 4485.7
Qwen2.5-3B4.848.34.017.91.8392 x 3927.0
Qwen2-7B8.786.634.537.120.7392 x 3923.7
Qwen2-2.2B3.329.12.517.11.7392 x 39212.5
InternVL3-1B1.36.81.17.80.75448 x 44830
SmolVLM2-2.2B3.421.22.610.50.9384 x 38411
SmolVLM2-500M0.84.80.72.50.25384 x 38431
SmolVLM2-256M0.51.10.42.50.25384 x 38454

<sup>1</sup> The total used memory; LLM plus the VLM. <br> <sup>2</sup> When an llm/vlm model is loaded for the first time from your disk to RAM or NPU, it is called a cold start.<br> The duration depends on your OS, I/O transfer rate, and memory mapping.<br> <sup>3</sup> Subsequent loading (warm start) takes advantage of the already mapped data in RAM. Mostly, only a few pointers need to be restored.<br><br> <img width="600" height="450" alt="Plot1" src="https://github.com/user-attachments/assets/6dbb7d8a-c55b-49b4-ae5a-ac272aade60b" /><br> <img width="600" height="450" alt="Plot2" src="https://github.com/user-attachments/assets/c4dd409b-2533-4ae0-942c-58fb3e8f5834" />

Example Usage

  • —see: https://github.com/Qengineering/SmolVLM2-256M-NPU

Notes

  • —This is not a Transformers-compatible model
  • —This repository provides precompiled NPU binaries
  • —CPU fallback is not supported