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

[mpact][benchmark] Add new benchmarks #36

Merged
merged 2 commits into from
Jun 17, 2024
Merged

[mpact][benchmark] Add new benchmarks #36

merged 2 commits into from
Jun 17, 2024

Conversation

yinying-lisa-li
Copy link
Member

  1. add feature_scale and normalization benchmarks
  2. import existing kernels.
[--------------------------------- feature_scale ---------------------------------]
                                        |  torch-sparse-eager  |  torch-dense-eager
1 threads: ------------------------------------------------------------------------
      dense_([32, 32],)_float64_0       |         77.1         |         76.8      
      dense_([32, 32],)_float64_0.5     |         75.4         |         74.9      
      dense_([32, 32],)_float64_0.9     |         75.0         |         75.7      
      dense_([32, 32],)_float64_0.99    |         76.1         |         74.7      
      dense_([64, 64],)_float64_0       |         85.4         |         86.5      
      dense_([64, 64],)_float64_0.5     |         84.8         |         86.8      
      dense_([64, 64],)_float64_0.9     |         84.8         |         83.7      
      dense_([64, 64],)_float64_0.99    |         82.3         |         82.8      
      dense_([128, 128],)_float64_0     |        119.2         |        118.3      
      dense_([128, 128],)_float64_0.5   |        124.5         |        119.3      
      dense_([128, 128],)_float64_0.9   |        120.2         |        118.3      
      dense_([128, 128],)_float64_0.99  |        115.9         |        116.8      

Times are in microseconds (us).

[--------------------------------- normalization ---------------------------------]
                                        |  torch-sparse-eager  |  torch-dense-eager
1 threads: ------------------------------------------------------------------------
      dense_([32, 32],)_float64_0       |        103.0         |        101.8      
      dense_([32, 32],)_float64_0.5     |        104.4         |        100.0      
      dense_([32, 32],)_float64_0.9     |         99.4         |         99.9      
      dense_([32, 32],)_float64_0.99    |         98.5         |         97.6      
      dense_([64, 64],)_float64_0       |        113.3         |        114.1      
      dense_([64, 64],)_float64_0.5     |        113.9         |        114.9      
      dense_([64, 64],)_float64_0.9     |        117.6         |        114.2      
      dense_([64, 64],)_float64_0.99    |        116.0         |        114.2      
      dense_([128, 128],)_float64_0     |        178.8         |        178.1      
      dense_([128, 128],)_float64_0.5   |        189.4         |        174.9      
      dense_([128, 128],)_float64_0.9   |        177.7         |        189.4      
      dense_([128, 128],)_float64_0.99  |        175.3         |        167.0      

Times are in microseconds (us).

@yinying-lisa-li yinying-lisa-li merged commit 845dfbe into main Jun 17, 2024
3 checks passed
@yinying-lisa-li yinying-lisa-li deleted the benchmark branch June 17, 2024 19:56
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.

2 participants