AMDMIGraphX icon indicating copy to clipboard operation
AMDMIGraphX copied to clipboard

Horizontally Fuse Multiplication when horizontally fusing convolution (Yolov5, YoloX)

Open umangyadav opened this issue 1 year ago • 1 comments

image

This pattern is from YOLOv5.

Notice that Multiplication is between output of horizontally convolution and output of sigmoid.

Multiplication can actually be horizontally fused as well because it is pointwise.

umangyadav avatar Feb 29 '24 21:02 umangyadav

Here's a picture of the situation in ONNX before and the issue: horiz_fusion_issue See this internal discussion for more elaboration: https://github.com/ROCm/AMDMIGraphX-internal/discussions/81

CharlieL7 avatar Dec 12 '24 22:12 CharlieL7

Resolved by https://github.com/ROCm/AMDMIGraphX/pull/3920.

CharlieL7 avatar Dec 03 '25 20:12 CharlieL7