SkRuntime ONNX Python

This documentation describes how to include SkRuntime to your Python deployment environment and run a protected model.

Requirements

Protected models obtained from SkProtect, exported with ExportPlatform.LINUX as export platform and ExportFormat.ONNX as export format are required. The protection of a model should output:

  • An encrypted configuration file (named skrpl) per application
  • An onnx file containing the protected model
  • A key file per protected model (file name starting by mev)

skrpl and mev files are encrypted to protect them while being deployed with the model.

The SDK is composed of the following file:

  • A Python shared library skruntime_onnx.so

OnnxRuntime >= 1.21.0 for external data support in protected models.


Table of contents