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
Hi! I have been trying to analyze some videos with DLC but noticed that the analysis was going very slowly. I then checked the GPU usage with nvidia-smi, showing me that roughly 6000 MiB were used out of 24000 MiB, as you can see below.
I already had this while training the model. I think it might be an issue due to my CUDA versions installed. Before installing DLC I installed the CUDA version 12.2, and when I tried to train it, it showed me the following error where DLC asked for a bunch of dll files from CUDA v11.x. Not being able to solve this issue in another way, I also installed CUDA v11.8
Then I saw that the GPU usage during the training was pretty low and also crashed around 26000 iterations, so I uninstalled CUDA v12.2 and then tried to retrain the model but then DLC asked me for a DLL file from CUDA v12.2 (I don't have a picture of that error but the file asked was cublasLt64_12.dll). So I then reinstalled CUDA v12.0 to get the same file again.
Does any of this makes sense? Can anyone explain the low GPU use?
Hi @rapacotta, low GPU memory usage does not indicate an incorrect installation (if the GPU is being used your installation should be correct). To increase GPU usage, increase the batch size in the configuration files (you can increase the batch size up to a given point, but will get an OOM error if you increase it too much as happened here).
Activity
n-poulsen commentedon Aug 7, 2023
Hi @rapacotta, low GPU memory usage does not indicate an incorrect installation (if the GPU is being used your installation should be correct). To increase GPU usage, increase the batch size in the configuration files (you can increase the batch size up to a given point, but will get an OOM error if you increase it too much as happened here).
Some more information is given here.