Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TinyViT] Use pytorch amp to reduce training time #107

Merged
merged 5 commits into from
Jul 27, 2022

Conversation

wkcn
Copy link
Contributor

@wkcn wkcn commented Jul 27, 2022

Machine: 8 * V100
CUDA 11
PyTorch 1.11

Model Acc@1 (torch amp) Training Time (torch amp) Acc@1 (apex) Training Time (apex) Paper
TInyViT-21M-1k 83.2 1d11h 83.1 1d20h 83.1
TinyViT-11M-1k 81.4 1d7h 81.5 1d9h 81.5
TinyViT-5M-1k 79.5 1d7h 79.4 1d9h 79.1

Acc Error: 0.1~0.2

@wkcn wkcn merged commit 680976f into microsoft:main Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant