amdsmi icon indicating copy to clipboard operation
amdsmi copied to clipboard

PyPI wheel

Open fxmarty opened this issue 2 years ago • 10 comments

Hi,

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

Thank you!

fxmarty avatar Nov 29 '23 13:11 fxmarty

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?

dmitrii-galantsev avatar Dec 11 '23 22:12 dmitrii-galantsev

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

fxmarty avatar Dec 12 '23 09:12 fxmarty

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? :)

dmitrii-galantsev avatar Dec 12 '23 16:12 dmitrii-galantsev

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.

hliuca avatar Mar 08 '24 23:03 hliuca

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/

jaywonchung avatar Apr 30 '24 19:04 jaywonchung