Skip to content

Adding TPU support via libtpuinfo #360

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

Merged
merged 1 commit into from
Mar 23, 2025
Merged

Adding TPU support via libtpuinfo #360

merged 1 commit into from
Mar 23, 2025

Conversation

rdyro
Copy link
Contributor

@rdyro rdyro commented Feb 22, 2025

Adding TPU support through an unofficial libtpuinfo built by rewriting tpu-info in golang (to compile it into a dynamic library).

I added a cmake rule to detect the presence of the necessary libtpuinfo.so library and enable the TPU support. Otherwise, it's possible to build with -DTPU_SUPPORT=ON following the convention.

@rdyro rdyro mentioned this pull request Feb 22, 2025
@rdyro rdyro changed the title Adding TPU support via [libtpuinfo](https://github.com/rdyro/libtpuinfo) Adding TPU support via libtpuinfo Mar 2, 2025
@rdyro
Copy link
Contributor Author

rdyro commented Mar 19, 2025

@Syllo Could you take a look when you get a chance?

Copy link
Owner

@Syllo Syllo left a comment

Choose a reason for hiding this comment

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

Sorry for the late review!

@rdyro
Copy link
Contributor Author

rdyro commented Mar 22, 2025

Done, thanks for the comments!

@Syllo Syllo merged commit 13963be into Syllo:master Mar 23, 2025
3 checks passed
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.

2 participants