+1 for making it configurable. Our current fusion is actually hardware agnostic. As @haichen mentioned that some accelerators might have their own fusion rules. In addition, we also hard coded the number maximum number of allowed fused node in the pass.
1 Like