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

PR #20006: [XLA:GPU] Only allow horizontal loop fusion for default memory space #20121

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Dec 4, 2024

PR #20006: [XLA:GPU] Only allow horizontal loop fusion for default memory space

Imported from GitHub PR #20006

Horizontal loop fusion currently breaks weight offloading in JAX if it fuses a host-memory copy and device-memory copy because such a fusion results in a same-space buffer, triggering memory space assertions in JAX.

This PR avoids any horizontal loop fusions for host-memory (even though in practice, some fusions would work even in host space).
Copybara import of the project:

--
6a3b325 by Jaroslav Sevcik [email protected]:

[XLA:GPU] Only allow horizontal loop fusion for default memory space

Merging this change closes #20006

FUTURE_COPYBARA_INTEGRATE_REVIEW=#20006 from jaro-sevcik:jsevcik/horizontal-loop-fusion-default-memory-space-only 6a3b325

…mory space

Imported from GitHub PR #20006

Horizontal loop fusion currently breaks weight offloading in JAX if it fuses a host-memory copy and device-memory copy because such a fusion results in a same-space buffer, triggering memory space assertions in JAX.

This PR avoids any horizontal loop fusions for host-memory (even though in practice, some fusions would work even in host space).
Copybara import of the project:

--
6a3b325 by Jaroslav Sevcik <[email protected]>:

[XLA:GPU] Only allow horizontal loop fusion for default memory space

Merging this change closes #20006

FUTURE_COPYBARA_INTEGRATE_REVIEW=#20006 from jaro-sevcik:jsevcik/horizontal-loop-fusion-default-memory-space-only 6a3b325
PiperOrigin-RevId: 702636361
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.

1 participant