This delivery adapts Datadog/Toto-2.0-2.5B, a multivariate probabilistic time-series model that returns nine quantiles for a 32-step horizon. The verified revision is 51a2812bbe449437c01b79c0e425ed578f335f5b.
https://ai.gitcode.com/hf_mirrors/Datadog/Toto-2.0-2.5Bmodel.safetensors, 9,817,176,960 bytes, SHA256/LFS OID dc08942b20751ac906167194d4ca4aa06b4367e80aabe5f1d5153b30b874bdb9Toto2Model, 48 layers, 32 attention heads, patch size 322.9.0+cputorch_npu 2.9.0.post1 on npu:0npu-smi 25.5.5The model files are intentionally not included in this repository. Place the fixed-revision checkpoint in a local directory and pass that directory to --model-path.
The example uses the first 416 values of the target column from sklearn.datasets.load_diabetes() (BSD-3-Clause). The input tensor is shaped [1, 1, 416]; target_mask is all true and series_ids is [0]. The forecast output is [9, 1, 1, 32].
python3 inference.py \
--model-path ./model \
--device cpu \
--output logs/reference_result.pt
python3 inference.py \
--model-path ./model \
--device npu:0 \
--output logs/npu_result.ptThe script writes a torch.save result containing the quantiles, input hash, device, context, horizon and elapsed time. Correctness comparison must use the same fixed input and revision on both devices.
Reference and NPU outputs had identical shape and finite values. With absolute tolerance 0.01 and relative L2 tolerance 0.0005, the comparison passed:
| Tensor | Count | Max absolute difference | Relative L2 |
|---|---|---|---|
| Quantiles | 288 | 0.0001983642578125 | 2.862733633014388e-07 |
| Median forecast | 32 | 0.0000457763671875 | 1.691477771075976e-07 |
The verified NPU benchmark used two warmups and five synchronized forecasts. Median was 194.59727127104998 ms (min 191.9308020733297 ms, max/p95 199.9341594055295 ms). These are measurements for this fixed checkpoint, input and container, not a general performance claim.
See assets/agent_workflow.png, assets/npu_device_call.png and assets/model_result.png for the three real terminal evidence captures. Machine-readable verification records are under logs/.
Install the versions in requirements.txt in the Model Agent container. Existing torch and torch_npu versions were preserved; pip may report an unrelated vllm-ascend constraint warning.