Torch.bmm is throwing cublas runtime error

Could you post the CUDA version you are using for this older PyTorch installation as well as the shapes of ts1 and ts2?
This would allow us to check, if this might still be an issue or if it was fixed already.