Closed emreyolcu closed 7 years ago
Thanks, @yolcu. Sorry I wasn't paying attention for a good while, this looks really awesome.
Would be great to have this in the next release. @yolcu can you update this and squash it? Otherwise I will do so after #65 lands.
This will need to be rebased onto master to get CI to pass :)
Updated and squashed. It should be good now.
Perfect. Thank you.
Hello,
filter_free
currently looks at nvidia-smi output to determine busy devices. For driver version 352.39 (and probably some other recent releases), nvidia-smi no longer refers to running processes as "Compute processes" but just "Processes". As a result, the current version offilter_free
cannot find any matches in the output.I modified the function to use the more robust NVIDIA Management Library. In versions 8 and later of CUDA Toolkit, the library is already included. For those who do not have the library and prefer not to install it, I kept the nvidia-smi solution and fixed it to work with newer drivers without breaking backward compatibility.