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

[XLA:CPU] Add benchmarks for 1D strided convolutions #19261

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Nov 12, 2024

[XLA:CPU] Add benchmarks for 1D strided convolutions

Currently the transposed convolution is orders of magnitude slower than the regular one. Ideally performance should be similar. Detailed results:

Benchmark Time CPU Iterations

BM_Conv1DStrided/process_time 2869248 ns 31485808 ns 21
BM_Conv1DTransposedStrided/process_time 444138484 ns 9397599808 ns 1
BM_Conv1DTransposedStridedNonDefaultLayout/process_time 471396271 ns 9208384080 ns 1

Copy link

google-cla bot commented Nov 12, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service copybara-service bot force-pushed the test_695706442 branch 2 times, most recently from 6d7ecdd to f2e729f Compare November 14, 2024 07:55
Currently the transposed convolution is orders of magnitude slower than the regular one. Ideally performance should be similar. Detailed results:
--------------------------------------------------------------------------------------------------
Benchmark                                                        Time             CPU   Iterations
--------------------------------------------------------------------------------------------------
BM_Conv1DStrided/process_time                              2869248 ns     31485808 ns           21
BM_Conv1DTransposedStrided/process_time                  444138484 ns   9397599808 ns            1
BM_Conv1DTransposedStridedNonDefaultLayout/process_time  471396271 ns   9208384080 ns            1

PiperOrigin-RevId: 696417326
@copybara-service copybara-service bot merged commit 0a2fcc5 into main Nov 14, 2024
1 check failed
@copybara-service copybara-service bot deleted the test_695706442 branch November 14, 2024 08:30
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.

1 participant