|
|
||
|---|---|---|
| .. | ||
| P10_summary.json | ||
| README.md | ||
| gen_matrix_cases.py | ||
| plan.md | ||
| report.md | ||
| run_matrix_batch.sh | ||
| run_p10_batch.py | ||
README.md
Netrans 系统测试
验证 Netrans 端到端流程与 Acuity 原生命令行产生完全一致的输出。
文档
快速运行
# 生成全部 42 个矩阵测试用例
python test/system_test/gen_matrix_cases.py
# 批量执行(可指定模型/量化类型过滤)
bash test/system_test/run_matrix_batch.sh
# P10 多核全网比对
python test/system_test/run_p10_batch.py
目录结构
test/system_test/
├── README.md # 本文件
├── plan.md # 测试方案
├── report.md # 测试报告
├── gen_matrix_cases.py # 用例生成器
├── run_matrix_batch.sh # 批量执行器
├── run_p10_batch.py # P10 比对脚本
├── {model}_{qtype}_pnna2_2core/ # 测试用例目录(生成产物)
└── P10_*/ # P10 多核用例(生成产物)
环境要求
echo $ACUITY_PATH # acuitylib 路径
echo $VIV_SDK_PATH # pnna2 多核场景需要