Allow to return ONNXProgram
when calling to_onnx(dynamo=True)
#20810
Labels
ONNXProgram
when calling to_onnx(dynamo=True)
#20810
Uh oh!
There was an error while loading. Please reload this page.
Description & Motivation
Since torch 2.7.0, they started to unify the onnx export logic, thus when calling
torch would start to return the
ONNXProgram
object. (pytorch/pytorch#137296)The
LightningModule
should also have the same behavior.Solution
Pitch
No response
Alternatives
No response
Additional context
No response
cc @lantiga @Borda
The text was updated successfully, but these errors were encountered: