{
"error_type": "device_error",
"description": "目标设备不可用或驱动问题",
"error_patterns": [
"GPU not available: OpenCL driver not found",
"NPU error: driver not initialized properly",
"OpenCL error: failed to create compute context",
"device not found: NPU hardware unavailable",
"CUDA error: device initialization failed"
],
"diagnosis": {
"cause": "目标推理设备的驱动未安装或硬件不可用",
"check_points": [
"GPU/NPU的驱动程序是否正确安装",
"硬件设备是否正常工作",
"OpenCL/CUDA环境是否配置正确"
]
},
"suggestions": [
"检查目标设备(GPU/NPU)的驱动是否正确安装",
"切换到CPU设备运行: --device=CPU",
"检查设备环境配置是否正确"
],
"example_log": "[ERROR] GPU not available: OpenCL platform not found. Driver initialization failed. Please install OpenCL drivers or switch to CPU device using --device=CPU."
}