Upstream model card does not declare a licenseofficial ONNX graph + CANN ATC + AscendCL Pythonnpu:0本作品在大赛官方远端 Ascend Model Agent 的 Ascend910 上加载真实 checkpoint,并完成 full official ML-Agents PPO Pyramids policy graph forward。CPU fallback 被禁止;模型、输入与输出设备信息、权重加载审计、输出统计、软件版本和耗时均固化在 evidence/result.json。
固定官方 revision、1,420,238 字节 Pyramids.onnx 与 SHA-256;不修改 26 节点、9 initializer 的冻结策略图,仅固定 batch=1 后以 CANN ATC 编译。pyACL 完整执行四组观测与动作 mask 到随机/确定性离散动作,ACL 耗时 4.575 ms;确定性动作与 ONNX Runtime CPU 参考精确一致。
远端环境应预先安装版本匹配的 CANN,并使用 CANN 自带的 atc 与 pyACL;不要用普通 pip install 覆盖官方 NPU 运行时。
python3 -m pip install -r requirements.txt
source /usr/local/Ascend/cann-8.5.1/set_env.sh
python3 inference.py --model-dir /tmp/atomgit/ppo_pyramids --output-dir outputs --device npu:0
npu-smi info
cat outputs/result.jsonnpu:0三组 1×56 观测、一组 1×4 状态与 1×5 动作 mask[1,1]353,8001122.773 ms49cc4162e6d328984d43ad977558f3fe9394583729d1ba107f8dd6457b35ca9f1,420,238 bytes / 1 shard filesevidence/result.json 是机器可读事实源;三张证据图分别呈现 Agent 适配流程、NPU 设备闭环和模型输出结果。
npu:0

