Migrate torchdynamo to torch.compile
# What does this PR do?

This PR migrates the current integration with PyTorch 2.0 to use the entry point they introduced: `torch.compile`. As a consequence, the `torchdynamo` argument is deprecated to the profit of `torch_compile_backend` and `torch_compile_mode`. Setting either will trigger a model compilation.
_The documentation is not available anymore as the PR was closed or merged._