Closed
Description
Add Link
beginner/onnx/export_simple_model_to_onnx_tutorial.html
beginner/onnx/onnx_registry_tutorial.html
Describe the bug
Errors:
File "/var/lib/workspace/beginner_source/onnx/export_simple_model_to_onnx_tutorial.py", line 158, in <module>
onnx_input = onnx_program.adapt_torch_inputs_to_onnx(torch_input)
AttributeError: 'ONNXProgram' object has no attribute 'adapt_torch_inputs_to_onnx'
WARNING: /var/lib/workspace/beginner_source/onnx/onnx_registry_tutorial.py failed to execute correctly: Traceback (most recent call last):
File "/var/lib/workspace/beginner_source/onnx/onnx_registry_tutorial.py", line 127, in <module>
assert onnx_program.model_proto.graph.node[0].domain == "custom.aten"
AssertionError
Until 2.6 is stable, submit fixes against the 2.6-RC-TEST branch.
Describe your environment
- Pytorch 2.6