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

In PrepareForExportPass, the added broadcast inherits the kShardingAttr from the original constant op. #63476

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

copybara-service[bot]
Copy link

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

In PrepareForExportPass, the added broadcast inherits the kShardingAttr from the original constant op.

Before this cl, kShardingAttr of the splat constant is dropped in the PrepareForExportPass. This cl fixes this issue and adds a test case, which fails without this cl and succeeds with this cl.

…gAttr` from the original constant op.

Before this cl, `kShardingAttr` of the splat constant is dropped in the `PrepareForExportPass`. This cl fixes this issue and adds a test case, which fails without this cl and succeeds with this cl.

PiperOrigin-RevId: 615180839
@copybara-service copybara-service bot merged commit 79c2910 into master Mar 12, 2024
@copybara-service copybara-service bot deleted the test_614895539 branch March 12, 2024 22:25
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