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

Use HostCPU instead of lexicographically first device for client device #63240

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

copybara-service[bot]
Copy link

Use HostCPU instead of lexicographically first device for client device

The existing code happens to work when the only devices are CPUs and GPUs because "C" comes before "G", but if we add other devices with certain names it will pick the wrong device (e.g. imagine adding a new device called "APU").

The existing code happens to work when the only devices are CPUs and GPUs because "C" comes before "G", but if we add other devices with certain names it will pick the wrong device (e.g. imagine adding a new device called "APU").

PiperOrigin-RevId: 613729187
@copybara-service copybara-service bot merged commit 38d7638 into master Mar 8, 2024
@copybara-service copybara-service bot deleted the test_613366405 branch March 8, 2024 00:32
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