Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

Latest version on Pypi #3

Open
torzdf opened this issue Jul 19, 2019 · 8 comments
Open

Latest version on Pypi #3

torzdf opened this issue Jul 19, 2019 · 8 comments

Comments

@torzdf
Copy link

torzdf commented Jul 19, 2019

First up, thanks for this extremely useful Lib.

I was wondering if it would be possible to push the latest version with the check into System32 for Windows users to PyPi?

It seems that Windows is increasingly installing Nvidia drivers this way, and it would be extremely useful to be able to pull this functionality in with Pip.

Many thanks, and keep up the good work!

@kapsh
Copy link

kapsh commented Aug 31, 2019

In the meantime you can do something like

pip install git+https://github.com/nicolargo/nvidia-ml-py3

@torzdf
Copy link
Author

torzdf commented Sep 1, 2019

Yeah, this is what we have. The main problem is that the version number in this repo is the same as in PyPi, so it won't automatically update to this version of nvidia-ml-py3 if it already exists on their system (this is for a requirements.txt install). I have had to fork this repo to update the version number.

It also means it also re-downloads the git version every time people try to update to check the version number.

@stas00
Copy link

stas00 commented Feb 20, 2020

In the meantime you can do pip install git+https://github.com/nicolargo/nvidia-ml-py3

This doesn't work well with other libraries that depend on this library.

@iam-Shashank
Copy link

Would be quite helpful if the pypi version was updated.

@kapsh
Copy link

kapsh commented Feb 20, 2020

I'd suggest to ping or email repository owner directly for that. Not everyone has github comment notifications enabled.

@stas00
Copy link

stas00 commented Feb 20, 2020

do you have his email address? github doesn't expose repo owner's email address.

@patrikhuber
Copy link

patrikhuber commented May 23, 2020

It looks like NVIDIA has also updated their bindings on PyPi nvidia-ml-py to version 10.418.84 in 2019 https://pypi.org/project/nvidia-ml-py/#history. pip install nvidia-ml-py will still give a weird nvidia-ml-py-375.53.tar.gz version that I can nowhere find on PyPi but pip install nvidia-ml-py==10.418.84 does the trick for me. That version looks like it's working with Python 3 too.
Does anyone know the differences between the two, what are you all using?

Edit: This is highly related: gpuopenanalytics/pynvml#2.

@wookayin
Copy link

wookayin commented Aug 4, 2021

As of 2021, there is no need to use this library or nvidia-ml-py3 package -- PLEASE DON'T USE IT!

NVIDIA is maintaining an official python binding (which also is compatible with python3): https://pypi.org/project/nvidia-ml-py/

FYI as of today the latest version is 11.460.79 which is released on May 2021, including recent changes to the NVML API.

Regarding Patrik's comment, there is a bit hiccup in package versions, see also: https://forums.developer.nvidia.com/t/mistake-with-nvidia-ml-py-on-pypi/112942 for more details. NVIDIA will remove the 375.xx package soon. For now, you can do:

pip install nvidia-ml-py!=375.*

@nicolargo Could you please consider informing this information in the repository?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants