Git Product home page Git Product logo

Comments (7)

DManowitz avatar DManowitz commented on June 2, 2024 1

Both pynvml and nvidia-ml-py have constraints on their conda packages that prevent both of them from being installed at the same time (they each constrain the other package to version 999999999, which does not exist).

from gpustat.

wookayin avatar wookayin commented on June 2, 2024

In my opinion the legacy pynvml package should not be used and all other packages that depends on this non-official pynvml3 should be updated. But I understand there are many outdated, unmaintained softwares in the wild that we do not have much control.

As a workaround you can use gpustat < 1.0. I do not mantain conda packages for gpustat, so gpustat should be ideally installed with pip via PyPI.

from gpustat.

DManowitz avatar DManowitz commented on June 2, 2024

Unfortunately, I'm on Windows, and gpustat < 1.0 uses blessings, rather than blessed, which doesn't work on Windows (erikrose/blessings#21), so I can't use those versions. Also, I didn't realize that you don't maintain the conda packages for gpustat. I also now see that pynvml hasn't been updated since Dec. 2021, so I'll see if I can nudge the other packages to use the official bindings.

from gpustat.

DManowitz avatar DManowitz commented on June 2, 2024

Also, do you have any plans to support the nvidia-ml-py 11.5xx versions?

from gpustat.

wookayin avatar wookayin commented on June 2, 2024

Yes, the master version already supports nvidia-ml-py>11.495.46, see #143.

But what happens if both the official bindings and unofficial legacy are installed as conda deps? I don't think there is no conflicting dependency between these two.

from gpustat.

wookayin avatar wookayin commented on June 2, 2024

@DManowitz do you still need this? what's the status of the anaconda's legacy pynvml package? (any links or information would be appreciated)

from gpustat.

wookayin avatar wookayin commented on June 2, 2024

The official pynvml bindings nvidia-ml-py should be used. If anaconda ships with a legacy package, that's their problem. Don't use the old software. gpustat can still be used with installing nvidia-ml-py via pip/PyPI.

If you disagree or have another corner case that needs to be resolved, please let me know.

from gpustat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.