I am more so referring to doing this check on someone else machine, that already has torch installed.
I.e. for a package that a user installs where I have to check “given this environment, should I run this with cuda or on the cpu?”