-
Notifications
You must be signed in to change notification settings - Fork 102
Description
URL: https://docs.radxa.com/dragon/q6a/app-dev/npu-dev/qairt-install
Time: 2026/1/30 22:31:09
root@57ff01ac76ca:/# # 1. 查找QAIRT或QNN的核心安装目录(最常见的路径)
find /opt -name "qairt" -o -name "qnn" -o -name "qualcomm" -type d 2>/dev/null
find /usr/local -name "qairt" -o -name "qnn" 2>/dev/null
2. 查看环境变量,通常SDK会设置重要的路径
env | grep -i -E "(QAIRT|QNN|SNPE|QUALCOMM)" | sort
3. 检查是否有预置的模型转换或推理工具
ls -la /usr/bin/ | grep -i -E "(qairt|qnn|snpe|converter|inference)" | head -10
4. 查找文档和示例(最关键!)
find /opt -name "README*" -o -name ".md" -o -name "GettingStarted" 2>/dev/null | head -10
root@57ff01ac76ca:/# find /opt -name "README*" -o -name ".md" -o -name "GettingStarted" 2>/dev/null | head -10
root@57fls -la /usr/bin/ | grep -i -E "(qairt|qnn|snpe|converter|inference)" | head -10
root@57ff01ac76ca:/# ^C
root@57ff01ac76ca:/# # 1. 查找所有可能与QAIRT/QNN相关的目录
echo "=== 搜索 /opt 目录 ==="
find /opt -type d -name "q" 2>/dev/null | grep -i -E "(qairt|qnn|qualcomm|ai)" | head -15
echo -e "\n=== 搜索 /usr/local 目录 ==="
find /usr/local -type d -name "q" 2>/dev/null | grep -i -E "(qairt|qnn|qualcomm|ai)" | head -15
2. 查找任何可执行文件(这是最直接的证据)
echo -e "\n=== 查找 QAIRT/QNN 相关命令 ==="
which -a qairt-converter qnn-converter snpe-converter 2>/dev/null
find /usr/bin /usr/local/bin -type f -executable -name "qairt" -o -name "qnn" -o -name "snpe" 2>/dev/null | head -10
=== 搜索 /opt 目录 ===
=== 搜索 /usr/local 目录 ===
=== 查找 QAIRT/QNN 相关命令 ===
root@57ff01ac76ca:/#
docker 没有 qairt?