Well,
Pytorch is “accelerated” and it’s really fast. The major problem is not about pytorch but the python code you write around it.
Check this blogpost Object Detection from 9 FPS to 650 FPS in 6 Steps | paulbridger.com 2 to have an idea where the problems come from. The only thing you can optimize is the dataloader. Still depends a lot on the field.