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

Check whether get_ipu_device actually returns an IPU device #64

Open
giordano opened this issue May 6, 2024 · 0 comments
Open

Check whether get_ipu_device actually returns an IPU device #64

giordano opened this issue May 6, 2024 · 0 comments
Labels
enhancement New feature or request poplar sdk related to the Poplar SDK

Comments

@giordano
Copy link
Collaborator

giordano commented May 6, 2024

In some cases, e.g. if no IPU devices are available for some reasons (including misconfiguration of the current system), Poplar.get_ipu_device() may return a device, which is actually an IPU model, but then code may not work if using hardware IPU is important. We should check that the return device is an IPU and throw an error otherwise, we should be able to query the TargetType of the device with getTargetType

@giordano giordano added enhancement New feature or request poplar sdk related to the Poplar SDK labels May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request poplar sdk related to the Poplar SDK
Projects
None yet
Development

No branches or pull requests

1 participant