Yes, checking the documentation it looks like it was introduce in PyTorch 1.8. This is the documentation for your release: Reproducibility — PyTorch 1.7.1 documentation 113
It uses

torch.set_deterministic()

to ensure you are running deterministic algorithms when available.