Skip to content

Normalize device kind strings when looking up HBM memory.#2893

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_870223149
Open

Normalize device kind strings when looking up HBM memory.#2893
copybara-service[bot] wants to merge 1 commit intomainfrom
test_870223149

Conversation

@copybara-service
Copy link

Normalize device kind strings when looking up HBM memory.

This change removes spaces from device kind strings before looking up HBM memory values. This ensures that device kinds like "TPU 7x" and "TPU7x" are treated the same, preventing lookup failures due to inconsistent spacing.

@copybara-service copybara-service bot force-pushed the test_870223149 branch 3 times, most recently from e67916c to cefda62 Compare February 16, 2026 21:33
This change removes spaces from device kind strings before looking up HBM memory values. This ensures that device kinds like "TPU 7x" and "TPU7x" are treated the same, preventing lookup failures due to inconsistent spacing.

PiperOrigin-RevId: 870223149
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

Comments