xujiashuai/timm-swin_small_patch4_window7_224.ms_in1k
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

timm/swin_small_patch4_window7_224.ms_in1k - Ascend NPU Adaptation

1. Model Overview

Swin-Small Patch4 Window7 224 (Microsoft) transformer

  • Original: timm/swin_small_patch4_window7_224.ms_in1k
  • Framework: PyTorch (timm)
  • Task: Image Classification (ImageNet-1K)
  • Parameters: 49606258
  • Status: SUCCESS

2. Environment

ComponentVersion
torch2.9.0
torch-npu2.9.0.post1
CANN8.5.1
NPUAscend 910B4

3. Accuracy

MetricValue
Cosine Similarity0.999979
Max Abs Error0.003207
CPU/NPU PredictionMatch (class 99)

4. Performance

MetricValue
Avg Latency17.63 ms
Output Shape[1, 1000]

5. CPU vs NPU

MetricCPUNPUDiff
Cosine Similarity1.00.999979-
Output Shape[1,1000][1,1000]Same
Prediction9999Same