pytorch / tutorials

PyTorch tutorials.
https://pytorch.org/tutorials/
BSD 3-Clause "New" or "Revised" License
7.96k stars 3.98k forks source link

[BUG] - beginner/onnx/onnx_registry_tutorial.py fails against 2.4 RC binaries #2941

Open brycebortree opened 1 week ago

brycebortree commented 1 week ago

Add Link

https://pytorch.org/tutorials/beginner/onnx/onnx_registry_tutorial.html

Describe the bug

beginner_source/onnx/onnx_registry_tutorial.py is failing with the following error message:

Unexpected failing examples:
2024-06-17T23:28:07.1342454Z /var/lib/workspace/beginner_source/onnx/onnx_registry_tutorial.py failed leaving traceback:
2024-06-17T23:28:07.1343408Z Traceback (most recent call last):
2024-06-17T23:28:07.1344331Z   File "/var/lib/workspace/beginner_source/onnx/onnx_registry_tutorial.py", line 133, in <module>
2024-06-17T23:28:07.1345497Z     assert onnx_program.model_proto.functions[0].node[3].domain == ""
2024-06-17T23:28:07.1346251Z IndexError: list index out of range

link to build

Describe your environment

cc @xadupre

brycebortree commented 1 week ago

@titaiwangms @xadupre

titaiwangms commented 1 week ago

Hi @brycebortree,

Sorry, we will be working on this!

brycebortree commented 1 week ago

No worries, thank you! @titaiwangms