Repository navigation
Remove restriction on IGEMM lowering for dilated convolutions - #21011
Conversation
Signed-off-by: yzhang93 <[email protected]>
|
(when pushing branches to the main repository you need to follow the branch naming policy of |
nirvedhmeshram
left a comment
There was a problem hiding this comment.
Looks good, but we should add a test. Could just adapt an existing test if that's easier, I think there is one for strides.
Oh, my bad, I thought I pushed to my forked branch. Thanks for pointing this out. |
|
(no worries, just fyi for the future :) |
Signed-off-by: yzhang93 <[email protected]>
The IGEMM works out of the box for the dilated convolutions by removing the previous guard condition. The output numerics are correct for forward convs. The performance can be improved from 475us to 195us with IGEMM for the following conv kernel. ``` convbfp16 -n 16 -c 144 -H 24 -W 16 -k 144 -y 3 -x 3 -p 2 -q 2 -u 1 -v 1 -l 2 -j 2 -m conv -g 1 -F 1 -t 1 --in_layout NHWC --out_layout NHWC --fil_layout NHWC --iter 100 ``` --------- Signed-off-by: yzhang93 <[email protected]>
The IGEMM works out of the box for the dilated convolutions by removing the previous guard condition. The output numerics are correct for forward convs. The performance can be improved from 475us to 195us with IGEMM for the following conv kernel.