Skip to content

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

Closed
@brycebortree

Description

@brycebortree

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

  • Pytorch version 2.4
  • CUDA 12
  • CI

cc @xadupre

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.4bugonnxIssues relating to ONNX

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions