ROCm / amdsmi

AMD SMI
https://rocm.docs.amd.com/projects/amdsmi/en/latest
MIT License
29 stars 12 forks source link

PyPI wheel #8

Open fxmarty opened 7 months ago

fxmarty commented 7 months ago

Hi,

Having a PyPI wheels for this package would be very useful.

Thank you!

dmitrii-galantsev commented 6 months ago

Hm i think we do something with wheels already. I’ll investigate! Do you want this tool available in pip? As in pip install amdsmi?

fxmarty commented 6 months ago

Yes - not very important but it can be useful to host wheels on PyPI index.

dmitrii-galantsev commented 6 months ago

I think right now we will run into an issue of libamd_smi.so being x86 specific. We don't build a noarch version. And to be honest - I've never done that. Any pointers? :)

hliuca commented 3 months ago

Let us assume user has a ROCM installed already. the PyPI version can detect ROCm using ROCM_PATH and find the libraries it needs. So amdsmi or pyamdsmi can be independent of any ROCm.... This way, even multiple ROCm coexist on the system, it still works very well.

jaywonchung commented 2 months ago

It'll be very nice to be able to do pip install amdsmi since my project Zeus is trying to support AMD GPUs as well.

NVML also assumes that the user has libnvidia-ml.so on the system. If not, it'll still import fine, but pynvml.nvmlInit() will fail. NVML python bindings on PyPI: https://pypi.org/project/nvidia-ml-py/