这是indexloc提供的服务,不要输入任何密码
Skip to content

Give better error in run_hlo_module if HLO has collectives. #97208

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

Merged
merged 1 commit into from
Jul 21, 2025

Conversation

copybara-service[bot]
Copy link

Give better error in run_hlo_module if HLO has collectives.

Before, it would segfault, as run_hlo_module (and xla::HloRunner in general) doesn't set a DeviceAssignment and the CollectiveThunk would try to deference a null DeviceAssignment pointer. I keep accidentally using run_hlo_module instead of multihost_hlo_runner and got sick of the segfaults.

Before, it would segfault, as run_hlo_module (and xla::HloRunner in general) doesn't set a DeviceAssignment and the CollectiveThunk would try to deference a null DeviceAssignment pointer.

PiperOrigin-RevId: 785279494
@copybara-service copybara-service bot force-pushed the exported_pr_784773808 branch from 0d32bbf to 1591203 Compare July 21, 2025 04:34
@copybara-service copybara-service bot merged commit 1591203 into master Jul 21, 2025
@copybara-service copybara-service bot deleted the exported_pr_784773808 branch July 21, 2025 04:34
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