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

[xla:tpu] Allow host offloading ops to pass hlo verification when changing layout. #64316

Merged
merged 1 commit into from Mar 24, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Mar 22, 2024

[xla:tpu] Allow host offloading ops to pass hlo verification when changing layout.

Host offloading ops (dynamic slice, copy, and dynamic update slice) move tensors between device memory and host memory space. This can cause the hlo verifier to fail as it interprets this layout to be unequal. This change allows for memory space to be ignored when comparing layouts for these ops.

…nging layout.

Host offloading ops (dynamic slice, copy, and dynamic update slice) move tensors between device memory and host memory space. This can cause the hlo verifier to fail as it interprets this layout to be unequal. This change allows for memory space to be ignored when comparing layouts for these ops.

PiperOrigin-RevId: 618677446
@copybara-service copybara-service bot merged commit 890ff62 into master Mar 24, 2024
1 check passed
@copybara-service copybara-service bot deleted the exported_pr_614894712 branch March 24, 2024 23:10
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.

None yet

1 participant