AITemplate
AITemplate copied to clipboard
Update fuse_split_linear_add
Summary:
Currently, fuse_split_linear_add
only supports cases when the split op kwarg uses a slice
. This diff extends the fusion to support cases when the split op kwarg uses int
s. The graph change can seen as follows:
- Before optimization: {F933055696}
- After optimization: {F933058824}
In particular, the optimization targets nodes split_5
and split_7
specifically.
Additionally, modified common_fx2ait
to use logger
instead of print
, as the print statement causes buck tests to crash.
Differential Revision: D44359231
This pull request was exported from Phabricator. Differential Revision: D44359231
This pull request was exported from Phabricator. Differential Revision: D44359231
This pull request was exported from Phabricator. Differential Revision: D44359231
This pull request was exported from Phabricator. Differential Revision: D44359231
This pull request was exported from Phabricator. Differential Revision: D44359231