Xuehai Pan
Xuehai Pan
The official implementation of NVML Python Bindings ([nvidia-ml-py](https://pypi.org/project/nvidia-ml-py)) added MIG support since `nvidia-ml-py>=11.450.129`. But this will cause `NVMLError_FunctionNotFound` at `_nvmlGetFunctionPointer("nvmlDeviceGetComputeRunningProcesses_v2")` for old NVIDIA drivers: ```python # Added in 2.285 def...
> So we must check this carefully with "old" GPU cards or "old" NVIDIA driver --- I wonder what is the exact setup to break. Also we might need to...
> I guess v1 will still work but v2 will raise as you already showed in the stacktrace. In my environments with a recent version of nvidia driver, both work....
> Is it possible to add a test case for this bug fix? This issue only occurs in watch mode (with `--watch` / `-i` / `--interval` option). And test cases...
I have created a PR to add ANSI escape codes support in the ranger browser column, which makes it possible for colored icons or partially highlighted texts. See ranger/ranger#2445. ...
Not sure when will the v2 version of `nvmlDeviceGetMemoryInfo` become GA. It seems only experimental on the NVIDIA R510 driver. In `nvidia-ml-py == 11.515.48`: ```python class c_nvmlMemory_t(_PrintableStructure): _fields_ = [...
Waiting for a new driver release for v2 memory info API.
@jue-jue-zi Hi, thanks for the feedback! This is an internal issue related to the NVML shipped with the NVIDIA R510 driver. I think NVIDIA is pre-testing experimental APIs in `nvidia-smi`...
I can get the _"almost"_ correct result with: ```python memory_used_v2 = memory_used - bar1_memory_free ``` But I don't think this monkey patch is the right solution. 
> Would it be fixed by updating the nvidia driver in the future or just by updating the libraries after a patched nvitop version release? Since our dependency `nvidia-ml-py` is...