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

cpu: arm: acl change winograd heuristic #2755

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

allnes
Copy link

@allnes allnes commented Feb 25, 2025

Description

This PR updates the heuristic for selecting the Winograd convolution algorithm. In the new version, devices with more than 28 cores (primarily servers) will no longer choose this convolution. However, for devices such as MacBooks, Raspberry Pi, and other similar hardware, experiments show speedups on a range of networks without the condition src_md.dims[2] > 112 or src_md.dims[3] > 112.

This heuristic has already been applied in OpenVINO
openvinotoolkit/openvino#27565
openvinotoolkit#268

@milpuz01 @dmitry-gorokhov @alvoron

@allnes allnes requested a review from a team as a code owner February 25, 2025 20:34
@github-actions github-actions bot added the platform:cpu-aarch64 Codeowner: @oneapi-src/onednn-cpu-aarch64 label Feb 25, 2025
@Ryo-not-rio
Copy link
Contributor

Hi @allnes thanks for the PR, could you attach benchdnn test cases where this new heuristic is beneficial and the performance improvements you seen on what machine? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:cpu-aarch64 Codeowner: @oneapi-src/onednn-cpu-aarch64
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants