You can test with torch.onnx.export(..., dynamo=True, report=True) using the latest torch-nightly.
torch.onnx.export(..., dynamo=True, report=True)