检查环境
功能说明
运行内置算子样例检查软硬件环境。
产品支持情况
产品 |
是否支持 |
|---|---|
Atlas 350 加速卡 |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
命令格式
python3 msaicerr.py -e -dev 0
参数说明
- -e或--env:必选参数,表示检查环境。
- -dev或--device_id:可选参数,指定运行内置算子样例的Device ID,不设置该参数,默认Device ID为0。msaicerr工具会运行一个内置算子样例,用于检查软硬件环境是否正常。
使用示例和输出说明
python3 msaicerr.py -e
输出示例如下:
[INFO] Total device count: 1 [INFO] Valid device_id 0 [INFO] Get soc_version: xxxxxxx [INFO] Start to test env with golden op. [INFO] The build-in sample operator runs successfully, The environment is normal.
在执行msaicerr.py工具后,在执行msaicerr.py工具的同级目录下,会生成debug_info.txt文件,用于记录工具执行过程中的日志信息。
父主题: msaicerr工具使用指导