Use offline license

Requirements

An offline license should have been generated using the license server (See Generate offline licenses). This license is a file named l.

Deploy the license

To deploy a model with an offline license, the license should be placed in the same directory as the SkRuntime library skruntime_onnx.so.

Configure the back-end

The environment variable OFFLINE should be set to 1 in the deployment environment to switch to the offline mode. This can be done with the shell command:

export OFFLINE=1