google-coral / pycoral

Python API for ML inferencing and transfer-learning on Coral devices
https://coral.ai
Apache License 2.0
347 stars 145 forks source link

List of TPUs with States #63

Closed corvitacvision closed 2 years ago

corvitacvision commented 2 years ago

Description

Hello all, is there any python wrapper of functions like list of tpus with showing states of them like "EDGE_TPU_STATE_NONE", "EDGE_TPU_STATE_UNASSIGNED" in PyCoral API?

Click to expand! ### Issue Type Feature Request ### Operating System Ubuntu ### Coral Device USB Accelerator ### Other Devices _No response_ ### Programming Language Python 3.6 ### Relevant Log Output _No response_
hjonnala commented 2 years ago

Hi @corvitacvision there is no python wrapper to know the states with PyCoral API.

We used to have them in edgetpu repo. These are artificial states. They somewhat make sense only inside a single operating system process. E.g. if you run one python program the TPU state becomes "assigned", in another python program it's still "unassigned" because processes doesn't know about each other.

We don't have any plans to add these states with PyCoral API. Thanks!

google-coral-bot[bot] commented 2 years ago

Are you satisfied with the resolution of your issue? Yes No