Introduction

Multimodal foundation model inference workflows involve processing large volumes of complex data. The Multimodal SDK accelerates foundation model inference preprocessing by providing a set of high-performance APIs optimized for Ascend devices.

  • It includes common preprocessing operations such as image and video loading and decoding, resizing, and cropping.
  • It supports conversion between various open-source data structures and accelerator library data structures, facilitating rapid adoption and porting.

Software Architecture

Modules in the Architecture

ModuleDescription
vLLM framework preprocessing pluginProvides acceleration when you use vLLM for foundation model inference. For Qwen2VL, it provides accelerated image and video preprocessing when you use the Qwen2VL model, significantly reducing preprocessing latency compared with Transformers. For InternVL2, it provides accelerated image and video preprocessing when you use the InternVL2 model.
Acceleration libraryProvides a set of high-performance image and tensor processing APIs.

Supported Hardware and Operating Systems

Querying the Device Product Model

In Linux, you can use either of the following methods to query the device product model:

# Use the `dmidecode` command:
dmidecode -s system-product-name

# Read the sysfs file:
cat /sys/class/dmi/id/product_name

Both methods return the device product model. Use either method as needed.

Product SeriesProduct ModelOperating System Version
Atlas A2 inference productsAtlas 800I A2 inference serverUbuntu 22.04 / openEuler 24.03