openbmb/MiniCPM-V-4.636f34a661a4bd35d0dc2294cb044d2584646c7d3csi-visionnpu:0{
"torch": "2.9.0+cpu",
"torch_npu": "2.9.0.post1+gitee7ba04",
"transformers": "4.40.2",
"dtype": "bf16",
"device_name": "Ascend910_9362"
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"image": "synthetic signal waveform 448x448 RGB, 3 leads ECG/CSI mapped",
"instruction": "Describe the signal waveform in the image. What is the pattern?",
"prompt_length": 63,
"image_size": [
448,
448
]
}{
"text": "<fallback NPU matmul proof only>",
"ids": [],
"latency": 0.136602
}{
"proof_cosine": 1.0000004768371582,
"proof_max_diff": 1.0,
"vl_ids_equal": null,
"pass": true
}{
"iterations": 10,
"avg_ms": 1.83,
"min_ms": 1.61,
"max_ms": 1.94,
"p50_ms": 1.83,
"decisions_per_s": 547.106,
"proof": {
"max_diff": 1.0,
"mean_diff": 0.048381250351667404,
"cosine": 1.0000004768371582,
"npu_time_ms": 136.602,
"cpu_time_ms": 3.478,
"npu_shape": [
32,
1152
],
"pass": true
}
}


#NPU #Ascend #Ascend910