Support For Large ONNX Format Model

OML4Py supports large ONNX format models outside of the database. A large model is divided into a single ONNX file and one or more external data files. The maximum size limit for an ONNX file is 2GB, so for models larger than 2GB, the ONNX file must be split into smaller parts.

You can leverage ONNXPipelines to utilize external data. External data can be applied in two ways:

The export2file function will create a zip file instead of a single ONNX file. This zip file will contain:

An example of such a zip file would be as follows:

Model size support in ONNX pipeline API: