Skip to content

Conversation

@vgene
Copy link
Contributor

@vgene vgene commented Jan 29, 2026

Issue #, if available:

#1

Description of changes:

Multiple np.sum (or other reduce) with different dtypes caused "Computation name is not unique: add_computation" error during HLO lowering.

The fix includes dtype in computation names:

  • add_computation -> add_float32_computation

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Multiple np.sum (or other reduce) with different dtypes caused
"Computation name is not unique: add_computation" error during HLO
lowering.

The fix includes dtype in computation names:
- `add_computation` -> `add_float32_computation`
@vgene vgene requested a review from a team January 29, 2026 09:22
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