Nightly version LSTSQ broken

Error message below:
################################################
input.size(-2) == other_2d.size(-2)INTERNAL ASSERT FAILED at “/opt/conda/conda-bld/pytorch_1619593671510/work/aten/src/ATen/native/BatchLinearAlgebra.cpp”:3111, please report a bug to PyTorch.
##############################################
Apparently this is broken, as I switched to pinv and it worked just fine.

Could you post a minimal code snippet to reproduce this error as well as the output of python -m torch.utils.collect_env, please?
In case you are using an older PyTorch release, could you update to the latest one and check, if you are still facing this error?