{ "enabled": true, "rules": [ { "cmd": "nvidia-smi", "type": "warn", "msg": "在沐曦环境下请执行mx-smi" }, { "cmd": "rm", "type": "error", "msg": "Error: rm command is forbidden" }, { "cmd": "pip", "type": "warn", "msg": "使用pip安装torch时,请注意使用厂家支持版本", "args": ["install", "torch"] }, { "cmd": "python", "type": "info" } ] }