Why torch.distributions.multivariate_normal.MultivariateNormal requires positive-definite covariance_matrix rather than positive-semidefinite

You can always add a small finite value along the diagonal to make it positive definite in the meantime. However, you can always open an issue and request that feature be added.