Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Relax] Disable fusion for fetching from the packed params in FuseOps #17198

Merged
merged 2 commits into from
Jul 28, 2024

Conversation

vinx13
Copy link
Member

@vinx13 vinx13 commented Jul 26, 2024

The order of bindings in the fusion result is determined by the first binding in each partition group. When the packed param tuple is used, the function usually begins with a numbers of TupleGetItem to unpack the param tuple. Previously TupleGetItem is treated as kInjective, this causes any operation that relies purely on these params to be moved to the beginning of the function and increases the memory usage of the intermediate results.

cc @tqchen

The order of bindings in the fusion result is determined by the first
binding in each partition group. When the packed param tuple is used,
the function usually begins with a numbers of `TupleGetItem` to unpack
the param tuple. Previously `TupleGetItem` is treated as `kInjective`,
this causes any operation that relies purely on these params to be
moved to the beginning of the function and increases the memory usage
of the intermediate results.
@github-actions github-actions bot requested a review from tqchen July 26, 2024 04:59
@vinx13 vinx13 merged commit f62445c into apache:main Jul 28, 2024
18 checks passed
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.

2 participants