I am looking for references to understand how dynamo works and how exactly can I write a custom backend for torch.compiler
. For example, when we invoke the following function:
torch.compiler.list_backends()
provides the following details:
['cudagraphs', 'inductor', 'onnxrt', 'openxla', 'openxla_eval', 'tvm']
How can I add a custom backend to this list? How to begin?