Yes, you should take a look at related tests and could run them only via the -k flag.
E.g. if you are working on an torch.nn fix, the test could be located in test_nn.py and you could filter it out via:
python test_nn.py -v -k my_test_name

You could use grep -r my_test_name to find the related file and then execute this test in isolation.
I would also highly recommend @tom’s video on how to fix your first PyTorch bug, which walks you through the necessary steps and shows some tips alone the way.