code: def test_serialize_succeeds_when_model_greater_than_2gb(self):
      onnx_program = torch.onnx.dynamo_export(
          _LargeModel(), torch.randn(1)
      )
      with common_utils.TemporaryFileName() as path:
          serializer = LargeProtobufONNXProgramSerializer(path)
          # `io.BytesIO()` is unused, but required by the Protocol interface.
          serializer.serialize(onnx_program, io.BytesIO())
  
imports: import io
  import os
  import onnx
  import torch
  from beartype import roar
  from torch.onnx import dynamo_export, ExportOptions, ONNXProgram
  from torch.onnx._internal import exporter, io_adapter
  from torch.onnx._internal.exporter import LargeProtobufONNXProgramSerializer, ONNXProgramSerializer, ProtobufONNXProgramSerializer, ResolvedExportOptions
  from torch.onnx._internal.fx import diagnostics
  from torch.testing._internal import common_utils
label_desc: Use image node_id 1 for calling the TestLargeProtobufONNXProgramSerializerAPI obj's underlying member method code with example usage: obj.test_serialize_succeeds_when_model_greater_than_2gb() without return types