Verifies the package is installed, libtorch is present, and a basic tensor
op succeeds. Used to gate the GAN path; a FALSE result triggers the
multivariate-normal fallback.
Verifies the package is installed, libtorch is present, and a basic tensor
op succeeds. Used to gate the GAN path; a FALSE result triggers the
multivariate-normal fallback.