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

nvmlDeviceGetMemoryInfo mixes up reserved and used memory #25

Open
fxmarty opened this issue Aug 18, 2023 · 1 comment
Open

nvmlDeviceGetMemoryInfo mixes up reserved and used memory #25

fxmarty opened this issue Aug 18, 2023 · 1 comment

Comments

@fxmarty
Copy link

fxmarty commented Aug 18, 2023

Hi,

It appears that nvmlDeviceGetMemoryInfo used memory with this Python API actually corresponds to the reserved memory.

It seems as well that the reserved attribute is missing in the c_nvmlMemory_t, comparing to the CUDA API: https://docs.nvidia.com/deploy/nvml-api/group__nvmlDeviceQueries.html#group__nvmlDeviceQueries_1g2dfeb1db82aa1de91aa6edf941c85ca8

@wookayin
Copy link

wookayin commented Nov 1, 2023

Don't use this one. This is an outdated project and no longer valid. You should use the official bindings nvidia-ml-py.

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