Installations for In-Process Functions
This document outlines the requirements and installation steps necessary to enable in-process functions (e.g., Text to Array, Hex to Int).
The following requirements must be configured on each server.
Python Requirements
Minimal Python Version: 3.11.7 and above.
Verify that the
python3executable points to the correct version:python3 --versionIf
python3does not point to a version that meets the minimal requirements, update the Python version alternatives.Check the current configuration:
sudo update-alternatives --config python3Change the version (replace
Xwith your installed sub-version):sudo update-alternatives --set python3 /usr/bin/python3.X
Warning
Restart Required: If the default Python version was changed, you must restart Sqream workers for the update to take effect.
Install CUDA Toolkit
Installation steps may vary based on the operating system version and architecture. Please refer to the official NVIDIA documentation for specific packages.
Download Source: NVIDIA CUDA Toolkit 12.1 Downloads
Install CuPy Library
In-process functions are Python-based and utilize the CuPy library. As these functions depend on the local Python installation, this library must be installed manually.
To install CuPy for Python 3.11:
Download Source: CuPy installation