SHA256 hash file

AI SDK Operation Manual

Portfolio
Industrial AI
Product
AI Software Development Kit
Software version
v2.4
Edition
04/2025
Language
English

When the edge configuration package is saved, the SHA256 hash of this zip file is also calculated. This hash is saved in a text file with the same name as the edge configuration package, with the extension .sha256. The integrity of the edge package can be checked by the end user with the following command in the folder where the edge configuration package is created on linux:

sha256sum -c PackageName-edge_version.sha256

Please note, a successful test does not mean that the package is safe, it only means its data integrity is intact. Please make sure that you are using packages from trusted sources, and that the hash file is obtained through a secure communication channel from the original publisher.

Pipeline parameters

Advanced use cases might require a modification of the pipeline behavior after deployment, for example by changing the parameters of the AI model. For this reason, AI SDK allows you to define pipeline parameters.

In many respects, pipeline parameters are similar to pipeline inputs. But pipeline parameters are handled separately and treated specially. Unlike input variables, pipeline parameters must have a default value, which the parameter takes initially after deployment. Therefore, a pipeline parameter's value is always defined.

Depending on the configuration, a pipeline parameter might be changed interactively via the user interface of the AI Inference Server or can also be connected to an MQTT topic like an input variable. In the latter case, the pipeline can receive parameter updates from other system components via the External Databus.

The pipeline parameters apply to all components. This means that in a pipeline, all components with parameters must be ready to receive parameter updates. A pipeline component updates only relevant parameters for the specified components.

For details on how to define pipeline parameters and how to handle parameter updates in the pipeline components, refer to "Guideline for writing pipeline components (Page 26)". For a complete code example that shows how to define and use pipeline parameters, refer to the State Identifier end-to-end tutorial.

Parallel execution of PythonComponent

By default, pipeline components process the inputs sequentially, within the same Python interpreter context. To increase the throughput of the component, you can instruct the AI Inference Server to run multiple instances of a pipeline component and distribute the inputs among them. This way you can exploit the parallelism available in most multi-core CPUs.

If you specify parallel component execution, every instance will be initialized separately and will receive only a fraction of the inputs. Therefore, not all components are suitable for parallel execution.

For example, the single component of the pipeline given in the State Identifier end-to-end tutorial cannot be executed by parallel instances because the component must process inputs sequentially, one by one to form windows from the data.

Theoretically, you could separate the State Identifier into two components, the first component forming the windows and the second component calculating the features and prediction. Then, the second component could be run in multiple parallel instances, as it does not have to keep previous inputs to calculate the output.

In contrast, the component given in the Image Classification end-to-end tutorial can be executed by parallel instances out of the box. It is practically stateless, as the key global state the component uses is the model loaded during initialization. Otherwise, the component needs only the current input to calculate the output.

Note that with parallel component execution, there is no guarantee that the outputs are produced in the same order as the corresponding inputs arrive. It might happen that one instance overtakes another even if the raw CPU time required for all inputs is about the same. The component instances compete for CPU cores with other applications running on the Industrial Edge Device.

You can predefine the number of parallel component instances using the AI SDK PythonComponent.set_parallel_steps() function. This setting can be overridden on the AI Inference Server user interface.