Open saichandax opened 1 month ago
The porting of swin model to n300 is in progress. The pcc of the swing model sub-modules are
Corresponding draft PR #13475
@mbahnasTT , The pipeline for the Swin for Image classification is enabled. The PCC of all sub-modules is >0.98, but the PCC of the entire model has dropped to ~0.91. Although this PCC value is slightly lower, the model's accuracy on the ImageNet dataset is as follows(for 40 samples):
Accuracy between TTNN model and ImageNet labels: 0.825 Accuracy between PyTorch model and ImageNet labels: 0.85 Accuracy between TTNN and PyTorch model: 0.90
Given these results, Can we go ahead with this model? Corresponding draft PR https://github.com/tenstorrent/tt-metal/pull/13475
@Sudharsan-V OK, please go ahead. Please keep record of current status and open a P2 issue. Please run the ImageNet on a larger set (500-1K images), you can look at ViT or RN50 script.
@Sudharsan-V OK, please go ahead. Please keep record of current status and open a P2 issue. Please run the ImageNet on a larger set (500-1K images), you can look at ViT or RN50 script.
Sure, will run and update the results here
@mbahnasTT , The demo is triggered for swin pipeline similar to ViT model for ImageNet-1k validation Dataset and the results are as follows(1000 images).
Accuracy between TTNN model and ImageNet labels: 0.775 Accuracy between PyTorch model and ImageNet labels: 0.787 Accuracy between TTNN and PyTorch model: 0.89
Executive summary (as of Nov 5):
Single Device implementation on n300 is complete BLOCKED due to (Pending CIs and Approvals):
Data parallel implementation on n300 is complete:
Trace_2cqs implementation is not done yet (blocked due to torch ops in the model).
ToDo: