DeiT-Base Patch16 224 (Facebook) vision transformer
| Component | Version |
|---|---|
| torch | 2.9.0 |
| torch-npu | 2.9.0.post1 |
| CANN | 8.5.1 |
| NPU | Ascend 910B4 |
| Metric | Value |
|---|---|
| Cosine Similarity | 0.999886 |
| Max Abs Error | 0.011629 |
| CPU/NPU Prediction | Match (class 138) |
| Metric | Value |
|---|---|
| Avg Latency | 5.16 ms |
| Output Shape | [1, 1000] |
| Metric | CPU | NPU | Diff |
|---|---|---|---|
| Cosine Similarity | 1.0 | 0.999886 | - |
| Output Shape | [1,1000] | [1,1000] | Same |
| Prediction | 138 | 138 | Same |