Skip to content

Conversation

@weishi-deng
Copy link
Contributor

@weishi-deng weishi-deng commented Nov 4, 2025

From the OOB models, there are some shapes still below the performance expectation with large M but small N.
Simple shapes:
[128, 197, 384]
[64,784, 256]
[(64, 28, 28, 256]
[256, 197, 256]
[128, 196, 384]
After enlarging the range for 2-pass reduction, these models can benefit an average of 10-20ms model execution time and optimize the geomean performance of eager training in timm models from 0.835 to 0.842.

@weishi-deng weishi-deng requested a review from jianyizh November 4, 2025 06:30
N / 32 < syclGpuEuCount() / syclGpuEUCountPerSubslice() / 2) {
int subslice_count = syclGpuEuCount() / syclGpuEUCountPerSubslice();
if (use_two_stage_col_reduction && M > subslice_count * 1024 &&
N / 32 < subslice_count) {
Copy link
Contributor

@EikanWang EikanWang Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How could we correlate N / 32 < subslice_count to the performance insights? Does the 32 mean simd32?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

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.

3 participants