Skip to content

OpenVINO Backend: Fuse IM2COL + MatMul convolution into OpenVINO convolution - #277

Open
mostafafaheem wants to merge 2 commits into
ravi9:dev_backend_openvinofrom
mostafafaheem:fuse_to_conv
Open

OpenVINO Backend: Fuse IM2COL + MatMul convolution into OpenVINO convolution#277
mostafafaheem wants to merge 2 commits into
ravi9:dev_backend_openvinofrom
mostafafaheem:fuse_to_conv

Conversation

@mostafafaheem

Copy link
Copy Markdown

This PR adds a transformation pass to bypass GGML's indirect convolution implementation and take advantage of OpenVINO's direct conv kernels, resulting in a ~2x performance improvement on CPU.

Normal:

Summary of Model0 @93920957150816
     Total(us): 58132
 Total_avg(us): 58132

Fused:

Summary of Model0 @94587286148704
     Total(us): 27038
 Total_avg(us): 27038

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