Skip to content

[PJRT] Count TPU chips by PCI IDs - #4845

Merged
will-cromar merged 5 commits into
masterfrom
wcromar/lspci
Apr 4, 2023
Merged

[PJRT] Count TPU chips by PCI IDs#4845
will-cromar merged 5 commits into
masterfrom
wcromar/lspci

Conversation

@will-cromar

@will-cromar will-cromar commented Apr 3, 2023

Copy link
Copy Markdown
Collaborator

Following up on this conversation: #4720 (comment)

This is more future-proof than checking for just /dev/accel*, since Google's PCI vendor ID and device IDs will be consistent across machines.

@will-cromar will-cromar changed the title [PJRT] Count TPU chips by PCI device vendor [PJRT] Count TPU chips by PCI IDs Apr 3, 2023
@will-cromar
will-cromar marked this pull request as ready for review April 4, 2023 18:40

@alanwaketan alanwaketan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@will-cromar
will-cromar merged commit afd614c into master Apr 4, 2023
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.

3 participants