Replies: 1 comment
-
Hi @rezaalavi Apologies for the delayed response. I would recommend asking this question in the ONNX github discussions page. You'll likely get a much better answer since that's where the ONNX package is maintained. That said, you may try loading and saving the model using external data: https://github.com/onnx/onnx/blob/main/docs/ExternalData.md#converting-and-saving-an-onnx-model-to-external-data |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the following code to convert a model to float16
but when it gets to the last line and wants to save the model it throws the following error:
ValueError: Message onnx.ModelProto exceeds maximum protobuf size of 2GB: 12220316957
How do I get to save models that are larger than 2GB?
Beta Was this translation helpful? Give feedback.
All reactions