Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 24, 2025

Bumps onnx-weekly from 1.21.0.dev20251103 to 1.21.0.dev20251124.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [onnx-weekly](https://github.com/onnx/onnx) from 1.21.0.dev20251103 to 1.21.0.dev20251124.
- [Release notes](https://github.com/onnx/onnx/releases)
- [Changelog](https://github.com/onnx/onnx/blob/main/docs/Changelog-ml.md)
- [Commits](https://github.com/onnx/onnx/commits)

---
updated-dependencies:
- dependency-name: onnx-weekly
  dependency-version: 1.21.0.dev20251124
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@codecov
Copy link

codecov bot commented Dec 1, 2025

❌ 68 Tests Failed:

Tests completed Failed Passed Skipped
9580 68 9512 924
View the top 3 failed test(s) by shortest run time
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0753_test_quantizelinear_uint2_model_onnx
Stack Traces | 0.001s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 3
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "y_zero_point"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 3
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1529_test_cast_INT2_to_FLOAT16_model_onnx
Stack Traces | 0.001s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0177_test_cast_FLOAT_to_INT2_model_onnx
Stack Traces | 0.002s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:799: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "output"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0326_test_castlike_INT2_to_FLOAT_expanded_model_onnx
Stack Traces | 0.002s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0332_test_castlike_FLOAT16_to_INT2_model_onnx
Stack Traces | 0.002s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0333_test_castlike_FLOAT16_to_INT2_expanded_model_onnx
Stack Traces | 0.002s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0336_test_castlike_FLOAT16_to_UINT2_model_onnx
Stack Traces | 0.002s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0337_test_castlike_FLOAT16_to_UINT2_expanded_model_onnx
Stack Traces | 0.002s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0339_test_cast_FLOAT16_to_INT2_model_onnx
Stack Traces | 0.002s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:799: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "output"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0377_test_castlike_FLOAT_to_INT2_expanded_model_onnx
Stack Traces | 0.002s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0386_test_castlike_INT2_to_FLOAT16_expanded_model_onnx
Stack Traces | 0.002s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0387_test_castlike_INT2_to_FLOAT_expanded_model_onnx
Stack Traces | 0.002s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0413_test_castlike_UINT2_to_FLOAT16_model_onnx
Stack Traces | 0.002s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0414_test_castlike_UINT2_to_FLOAT16_expanded_model_onnx
Stack Traces | 0.002s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0416_test_castlike_UINT2_to_UINT8_model_onnx
Stack Traces | 0.002s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0440_test_cast_FLOAT16_to_UINT2_model_onnx
Stack Traces | 0.002s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:799: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "output"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0466_test_cast_INT2_to_INT8_model_onnx
Stack Traces | 0.002s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0478_test_cast_UINT2_to_FLOAT_model_onnx
Stack Traces | 0.002s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0598_test_dequantizelinear_uint2_model_onnx
Stack Traces | 0.002s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 4
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "x"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 4
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0679_test_castlike_UINT2_to_UINT8_expanded_model_onnx
Stack Traces | 0.002s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0752_test_castlike_FLOAT_to_INT2_model_onnx
Stack Traces | 0.002s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0879_test_castlike_UINT2_to_FLOAT16_model_onnx
Stack Traces | 0.002s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0912_test_quantizelinear_int2_model_onnx
Stack Traces | 0.002s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 3
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "y_zero_point"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 3
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0931_test_dequantizelinear_int2_model_onnx
Stack Traces | 0.002s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 4
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "x"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 4
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1134_test_quantizelinear_uint2_model_onnx
Stack Traces | 0.002s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 3
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "y_zero_point"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 3
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1281_test_castlike_INT2_to_INT8_expanded_model_onnx
Stack Traces | 0.002s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1351_test_cast_FLOAT16_to_UINT2_model_onnx
Stack Traces | 0.002s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:799: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "output"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1393_test_castlike_FLOAT_to_UINT2_expanded_model_onnx
Stack Traces | 0.002s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1578_test_castlike_UINT2_to_FLOAT_expanded_model_onnx
Stack Traces | 0.002s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1652_test_castlike_FLOAT_to_UINT2_model_onnx
Stack Traces | 0.002s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1784_test_castlike_UINT2_to_UINT8_model_onnx
Stack Traces | 0.002s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1785_test_cast_INT2_to_INT8_model_onnx
Stack Traces | 0.002s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0380_test_castlike_FLOAT_to_UINT2_model_onnx
Stack Traces | 0.003s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0381_test_castlike_FLOAT_to_UINT2_expanded_model_onnx
Stack Traces | 0.003s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0384_test_castlike_INT2_to_FLOAT_model_onnx
Stack Traces | 0.003s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0412_test_castlike_UINT2_to_FLOAT_model_onnx
Stack Traces | 0.003s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0415_test_castlike_UINT2_to_FLOAT_expanded_model_onnx
Stack Traces | 0.003s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0417_test_castlike_UINT2_to_UINT8_expanded_model_onnx
Stack Traces | 0.003s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0438_test_cast_FLOAT16_to_INT2_model_onnx
Stack Traces | 0.003s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:799: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "output"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0460_test_cast_FLOAT_to_INT2_model_onnx
Stack Traces | 0.003s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:799: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "output"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0464_test_cast_INT2_to_FLOAT_model_onnx
Stack Traces | 0.003s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0465_test_cast_INT2_to_FLOAT16_model_onnx
Stack Traces | 0.003s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0479_test_cast_UINT2_to_FLOAT16_model_onnx
Stack Traces | 0.003s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0480_test_cast_UINT2_to_UINT8_model_onnx
Stack Traces | 0.003s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0736_test_cast_INT2_to_FLOAT_model_onnx
Stack Traces | 0.003s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0821_test_dequantizelinear_uint2_model_onnx
Stack Traces | 0.003s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 4
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "x"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 4
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0907_test_castlike_FLOAT16_to_INT2_model_onnx
Stack Traces | 0.003s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1060_test_castlike_FLOAT16_to_UINT2_model_onnx
Stack Traces | 0.003s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1131_test_quantizelinear_int2_model_onnx
Stack Traces | 0.003s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 3
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "y_zero_point"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 3
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0155_test_castlike_INT2_to_FLOAT_model_onnx
Stack Traces | 0.004s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0376_test_castlike_FLOAT_to_INT2_model_onnx
Stack Traces | 0.004s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0389_test_castlike_INT2_to_INT8_expanded_model_onnx
Stack Traces | 0.004s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0462_test_cast_FLOAT_to_UINT2_model_onnx
Stack Traces | 0.004s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:799: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "output"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0595_test_dequantizelinear_int2_model_onnx
Stack Traces | 0.004s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 4
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "x"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 4
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1112_test_cast_UINT2_to_FLOAT_model_onnx
Stack Traces | 0.004s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1422_test_castlike_FLOAT16_to_INT2_expanded_model_onnx
Stack Traces | 0.004s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0180_test_cast_FLOAT_to_UINT2_model_onnx
Stack Traces | 0.005s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:799: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "output"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0388_test_castlike_INT2_to_INT8_model_onnx
Stack Traces | 0.005s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0715_test_cast_UINT2_to_FLOAT16_model_onnx
Stack Traces | 0.005s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0957_test_castlike_INT2_to_INT8_model_onnx
Stack Traces | 0.005s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1317_test_castlike_FLOAT16_to_UINT2_expanded_model_onnx
Stack Traces | 0.005s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1716_test_castlike_FLOAT_to_INT2_expanded_model_onnx
Stack Traces | 0.005s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 0
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "like"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 0
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0385_test_castlike_INT2_to_FLOAT16_model_onnx
Stack Traces | 0.006s run time
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
.nox\test_torch_nightly\Lib\site-packages\parameterized\parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ir\serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\onnx_ir\serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1378_test_castlike_INT2_to_FLOAT16_model_onnx
Stack Traces | 0.007s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1089_test_castlike_INT2_to_FLOAT16_expanded_model_onnx
Stack Traces | 0.009s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 26 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 26
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 26
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_1561_test_castlike_UINT2_to_FLOAT16_expanded_model_onnx
Stack Traces | 0.009s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0261_test_cast_UINT2_to_UINT8_model_onnx
Stack Traces | 0.011s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph
tests.ir.serde_roundtrip_test.SerdeTest::test_serialization_deserialization_produces_same_model_0936_test_castlike_UINT2_to_FLOAT_model_onnx
Stack Traces | 0.013s run time
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:1026: in deserialize_type_proto_for_type
    return _core.TensorType(_enums.DataType(elem_type), denotation=denotation)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:714: in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
....../Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py:1137: in __new__
    raise ve_exc
E   ValueError: 25 is not a valid DataType

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:936: in deserialize_value_info_proto
    value.type = deserialize_type_proto_for_type(proto.type)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_type_proto_for_type with: tensor_type {
E     elem_type: 25
E     shape {
E       dim {
E         dim_value: 7
E       }
E       dim {
E         dim_value: 1
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:99: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:715: in _deserialize_graph
    deserialize_value_info_proto(info, value)
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling deserialize_value_info_proto with: name: "input"
E   type {
E     tensor_type {
E       elem_type: 25
E       shape {
E         dim {
E           dim_value: 7
E         }
E         dim {
E           dim_value: 1
E         }
E       }
E     }
E   }

The above exception was the direct cause of the following exception:
..../test_torch_nightly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/ir/serde_roundtrip_test.py:38: in test_serialization_deserialization_produces_same_model
    ir_model = ir.serde.deserialize_model(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:599: in deserialize_model
    graph = _deserialize_graph(proto.graph, [])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test_torch_nightly/lib/python3.11............................../site-packages/onnx_ir/serde.py:101: in wrapper
    raise SerdeError(
E   onnx_ir.serde.SerdeError: Error calling _deserialize_graph with: main_graph

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 2, 2025

A newer version of onnx-weekly exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

Development

Successfully merging this pull request may close these issues.

2 participants