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' #1

Open
605521553 opened this issue Jun 16, 2023 · 0 comments

Comments

@605521553
Copy link

the code uses the version pip install gorilla-core==0.2.5.6
but this version has missed,when i run other version,errors come here.
i cant import gorilla,could you help me to solve it?
Traceback (most recent call last):
File "/home/scj/IST-Net-main/test.py", line 8, in
import gorilla
File "/home/scj/anaconda3/envs/istnet/lib/python3.6/site-packages/gorilla/init.py", line 5, in
from .utils import *
File "/home/scj/anaconda3/envs/istnet/lib/python3.6/site-packages/gorilla/utils/init.py", line 5, in
from .gpu import (get_free_gpu, subprocess, set_cuda_visible_devices)
File "/home/scj/anaconda3/envs/istnet/lib/python3.6/site-packages/gorilla/utils/gpu.py", line 13, in
from gpustat import GPUStatCollection
File "/home/scj/anaconda3/envs/istnet/lib/python3.6/site-packages/gpustat/init.py", line 16, in
from .core import GPUStat, GPUStatCollection
File "/home/scj/anaconda3/envs/istnet/lib/python3.6/site-packages/gpustat/core.py", line 24, in
from gpustat.nvml import pynvml as N
File "/home/scj/anaconda3/envs/istnet/lib/python3.6/site-packages/gpustat/nvml.py", line 57, in
_original_nvmlGetFunctionPointer = pynvml._nvmlGetFunctionPointer
AttributeError: module 'pynvml' has no attribute '_nvmlGetFunctionPointer'

Process finished with exit code 1

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

1 participant