Installation¶
Surroundings¶
The service can be installed on AlmaLinux 8.
Required predefined dependencies:
Python of version 3.14 is required.
uv is required to install python dependencies.
For GPU usage NVIDIA driver with CUDA 12.8 support (version 570.26 or higher) is required.
Python dependencies¶
Install python dependencies from the lock file uv.lock into a virtual environment uv creates in .venv:
uv sync --frozen --no-default-groups
Activate the virtual environment before launching the service and the tests below:
source .venv/bin/activate
Configuration¶
Configuration file must be placed in “./luna_remote_sdk/configs/config.conf”.
First launch and testing¶
If all previous actions are executed successfully, server is ready to work. To start server please launch run.py script. While start you can add arguments: server message port and path to config file if it is not in default location. By default 5220 port is used. Example:
./run.py --port=5221 --config=./configs/devconfig.conf
After server is started, testing is recommended. To perform testing execute command
python -m unittest tests.unittests_main
All tests should perform successfully.