You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@daboehme I think you'd have to use the C APIs of nvidia-smi/rocm-smi and poll the current memory usage (potentially in a background thread), keeping track of the max. I am not aware of of any API analogous to getrusage that would provide a straightforward way to get this.
@daboehme I think you'd have to use the C APIs of nvidia-smi/rocm-smi and poll the current memory usage (potentially in a background thread), keeping track of the max. I am not aware of of any API analogous to getrusage that would provide a straightforward way to get this.
... for CUDA and/or ROCm.
The text was updated successfully, but these errors were encountered: