Open ainhoaVivel opened 2 weeks ago
I am also using CodeCarbon and I'm facing some similar issues, but the execution environment and error message are different.
I am trying to dockerize a project that uses Code Carbon, and it does not work inside the docker, even though nvidia-smi outputs as usual.
Environment:
Output: When running the same script, the error was different.
NVML initialized successfully
Device 0: NVIDIA GeForce GTX 980M
Failed to initialize NVML: Not Supported
Description
I am using CodeCarbon to make some consumption measurements. However, this library uses pynvml in the background to access the graph information. I asked in the project repository and it seems that my problem is that pynvml is not working properly.
What I Did
I created this script
However, I got this output
I have tried several versions pynvml, but nothing. I can't find any additional information about the
System is not in ready state
error either. How can I fix this error?