Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'pynvml' has no attribute '_nvmlGetFunctionPointer' #47

Open
Leon1207 opened this issue May 25, 2023 · 4 comments

Comments

@Leon1207
Copy link

Is this error occurred due to the compatibility between pynvml and driver version? My driver version is 450.80.02.

@wookayin
Copy link

wookayin commented Jul 14, 2023

Don't use this (which is unofficial), but use the official pynvml bindings.

pip uninstall pynvml
pip install -I nvidia-ml-py

See wookayin/gpustat#153

@Leon1207
Copy link
Author

Thanks for reply!

@wookayin
Copy link

wookayin commented Jul 14, 2023

FYI the error is because this (duplicate) package doesn't expose non-public symbols to the pynvml namespace:

https://github.com/gpuopenanalytics/pynvml/blob/master/pynvml/__init__.py#L1

@Leon1207
Copy link
Author

Maybe, only use pip uninstall pynvml also works for me. Sincerely thanks!

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

No branches or pull requests

2 participants