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.

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