There is the following issue on this page: https://docs.pytorch.org/tutorials/unstable/flight_recorder_tutorial.html
The page mentions "a convenience script located in the tools/flight_recorder directory of the PyTorch repository", but the link is broken.