Torch.jit.trace vs torch.fx.symbolic_trace

What is the difference between these tracers? Does it mean that torch.jit.trace is “non-symbolic” in any sense?

No. One (torch.jit.trace) produces a (legacy) TorchScript representation while torch.fx.symbolic_trace gives you a shiny new FX one. (But if you ask, maybe torch.compile is the function you actually want…)

Best regards

Thomas