51afdc57fa90b739589ca4b9082ac738191eb606offline-rl (PPO discrete policy, extension of Decision Transformer route for robotics RL)npu:0, torch_npu 2.9.0.post1float32 [batch, 172] normalized by ML-Agents; seed 42 fixed for validation[batch, 5], argmax action ∈ {0..4}; checked finite, shape, and devicePyramids/Pyramids-10240.pt at 51afdc57fa90b739589ca4b9082ac738191eb606; no dummy weightsnpu:0)npu-smi Ascend910_9362, torch.npu.is_available()==True, device_count==2npu:0, all floating inputs on npu:0, logits on npu:0, timed with torch.npu.synchronize().cpu() compute fallback, no model replacementmax_abs = 4.84e-08, mae = 1.97e-08, tolerance atol=1e-4 rtol=1e-3 (FP32) → PASSvalidate_policy_outputs.py --atol 1e-4 --rtol 1e-3 → {"passed": true, "count": 20, "max_abs": 4.8e-08}[4, 1, 4, 3] vs npu [4, 1, 4, 3]torch.npu.synchronize() bracketeddecisions_per_s ≈ 24,783 (batch 4 → 24k decisions/s, 24k actions/s, horizon 1, incl. no preprocess overhead)benchmark_policy.py --items-per-call 4 --unit decisions → {"decisions_per_s": 22251.58} (batch 4) and 24783 in inference.pypip install -r requirements.txt
python inference.pyDefault python inference.py loads local checkpoint via huggingface_hub cache, prints model/revision/route/backend/device/dtype/input summary/logits/action/consistency/latency and PASS/FAIL.
Pyramids-10240.pt used for validation; other Pyramids-*.pt share same architecture but may need separate fetchassets/agent_workflow.png — workflow, discovery, NPU, consistency, perfassets/npu_device_call.png — npu-smi and device proofassets/model_result.png — python inference.py output
