Make PyTorch models up to 40% faster! Thunder is a source to source compiler for PyTorch. It enables using different hardware executors at once; across one or thousands of GPUs.
Here we pass results through the epilogue if we have one.
The goal is to have a fix #623 / enhance #632 to put the construction of the dataclass into the epilogue rather than into the compute trace. This way the compute trace could always return a (flat tuple of) plain tensors / numbers.
Here we pass results through the epilogue if we have one. The goal is to have a fix #623 / enhance #632 to put the construction of the dataclass into the epilogue rather than into the compute trace. This way the compute trace could always return a (flat tuple of) plain tensors / numbers.