Can anybody explain the difference between torch.jit.script decorator and torch.compile decorator? It seems to me that they both do the same thing. Is torch.compile just a new version of torch.jit.script?
Thanks a lot!
They differ in their graph capture mechanism, see this for more details The nuances of PyTorch Graph Capture - compiler - PyTorch Dev Discussions