Open borisfom opened 1 month ago
@shubhambhokare1 a missing op, could you take this?
Not sure if related: https://github.com/pytorch/pytorch/issues/125633
Hmmm. Ideally, ONNX should add a sort op. It doesn't have one. I wonder what the legacy exporter converts it to.
Hmmm. Ideally, ONNX should add a sort op. It doesn't have one. I wonder what the legacy exporter converts it to.
🐛 Describe the bug
Here, I can't export trivial net with sort() using dynamo_export(). Legacy onnx.export() works fine, dynamo_export errors out :
torch.onnx._internal.diagnostics.infra.context.RuntimeErrorWithDiagnostic: Unsupported FX nodes: {'call_function': ['aten.sort.default']}.
Versions
Pytorch nightly 06/03
cc @ezyang @msaroufim @bdhirsh @anijain2305 @chauhang