Skip to content

Instantly share code, notes, and snippets.

@ChaiBapchya
Created May 5, 2020 02:30
Show Gist options
  • Save ChaiBapchya/6e9b70b16b1ae01b316da206aead85b3 to your computer and use it in GitHub Desktop.
Save ChaiBapchya/6e9b70b16b1ae01b316da206aead85b3 to your computer and use it in GitHub Desktop.
OpPerf results [Imperative mode]
Operator LHS RHS MKL Default MKL Workaround
Dot (4, 512, 512) (4, 512, 512) 15.1122 4.1254
(5, 512, 512) (5, 512, 512) 38.1678 7.5323
(5, 512, 1536 (5, 512, 1536) 21.6601 19.2503
(5, 512, 2048) (5, 512, 2048) 29.0369 23.7432
(5, 2048, 512) (5, 2048, 512) 167.5528 129.9957
Batch_dot (4, 512, 512) (4, 512, 512) 1.7898 1.5445
(5, 512, 512) (5, 512, 512) 2.2457 1.9361
(5, 512, 1536) (5, 512, 1536) 6.1453 5.4034
(5, 512, 2048) (5, 512, 2048) 8.246 8.0442
(5, 2048, 512) (5, 2048, 512) 160.6243 29.0772
FC (4, 512) (512, 512) 0.0609 0.068
(5, 512) (512, 512) 0.0633 0.0731
(5, 512) (1536, 512) 0.0916 0.0996
(5, 512) (2048, 512) 0.1081 0.1084
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment