The transformations look reasonable in my setup:
torchvision_transform = transforms.Compose([
    np.uint8,
    transforms.ToPILImage(),
    transforms.Resize((28,28)),
    transforms.RandomRotation([45,135]),
    transforms.ToTensor()
    ])

dataset_trans = datasets.MNIST(root="./data", download=False, transform=torchvision_transform)
dataset = datasets.MNIST(root="./data", download=False, transform=transforms.ToTensor())

x, y = dataset[0]
plt.imshow(x[0].numpy())

x, y = dataset_trans[0]
plt.imshow(x[0].numpy())

No augmentation:

Augmentation: