Native
The native/ package owns AIRunner's Python launcher entry point, runtime
layout helpers, and the pinned llama.cpp / whisper.cpp sidecar support.
AIRunner is a Python application. There is no compiled C++ launcher and no bundle/installer packaging; the desktop app runs directly from the installed Python packages.
flowchart LR
Python[airunner_native launcher] --> GUI[src/ desktop app]
Python --> Services[services/ daemon entry points]
Services --> Sidecars[llama.cpp and whisper.cpp sidecars]
Python --> RuntimeLayout[runtime layout helpers]
Python --> Scripts[scripts/ tooling]
What This Package Owns
- the
airunner-nativelauncher entry point provided byairunner_native(the GUI package owns the primaryairunnercommand; issue #2042) - repo and runtime layout helpers (
repo_paths,linux_bundle_layout) - startup environment and early torch/allocator configuration
- repo-local support for pinned
llama.cppandwhisper.cppsidecars
Importable native code lives under native/src/airunner_native/.
The architecture audit and package map are tracked in docs/architecture/architecture-complexity-audit.md and docs/architecture/layered_product_architecture.md.
Installation
AIRunner is installed as Python packages:
# repo-local developer install
./scripts/install.sh
# distributed daemon and GUI-client install
./deployment/install_distributed.sh --role daemon
./deployment/install_distributed.sh --role gui-client
For isolated native tooling work in a checkout, install the split package
stack first and then install native/ in editable mode:
python -m venv venv
source venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install -e ./services
pip install -e ./native[development]
Test Running
Native changes are validated through the launcher smoke path (the Python launcher entry point) plus the daemon-backed functional suites that consume the built sidecars:
./scripts/install.sh --help
./deployment/install_distributed.sh --help
./scripts/build_runtime_sidecars.sh --target-platform linux
./venv/bin/python -m pytest services/tests/test_llm_functional.py -v --timeout=900
./venv/bin/python -m pytest services/tests/test_stt_transcribe_functional.py -v --timeout=1200
Use the package split contract in docs/architecture/package_split_contract.md when a launcher or installer change affects the wider package matrix.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file airunner_native-6.1.3.tar.gz.
File metadata
- Download URL: airunner_native-6.1.3.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bbb676783e6f7a747d8fe88cd33bd03321d3042e8ca6aa5ae6235c15acba999
|
|
| MD5 |
d86e3265c3b0102da1a076a1b7221497
|
|
| BLAKE2b-256 |
42dbd8384b881a1647e8dd8fce95f31bcd45d7d9cf4cfcc0b94c08ee40e9e8b7
|
File details
Details for the file airunner_native-6.1.3-py3-none-any.whl.
File metadata
- Download URL: airunner_native-6.1.3-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ea6d86a283498367fb80bceada5d07abfef6fa3cc0c8cc1097bb7334ba95f37
|
|
| MD5 |
0350be411eec330bfab767fc52b57bef
|
|
| BLAKE2b-256 |
4dc0347520fb9b29e9bd3e0a377087a119d710e653bccdda3ad013c898fd3940
|