Skip to main content

Aidge logo

EPL 2.0 Examples PyPi Examples Documentation Status GitLab Contributors Open GitLab Issues Closed GitLab Issues

Aidge Core

Aidge is a powerful open-source framework for optimizing and deploying deep neural networks on embedded systems. This is the core library required by every other module.

Quick Start

pip install aidge-core
python -c "import aidge_core ; print(f'Available backends:\n{aidge_core.get_keys_Conv2DOp()}')"

This should print:

Available backends:
{'export_serialize'}

[!NOTE] Pypi packages are experimental !

Build from Source

Prerequisite:

  • Use the same virtual environment for all Aidge modules.

1. Python or C++ installation using setup scripts

Environment C++ Development Python Development
Windows .\setup.ps1 -Modules core -Tests -CppOnly .\setup.ps1 -Modules core -Tests
Unix ./setup.sh -m core --tests --cpp-only ./setup.sh -m core --tests

[!TIP] Use Get-Help setup.ps1 (Windows) or ./setup.sh -h (Unix) for full documentation.

2. Python Installation using pip

Run these commands from the aidge_core/ directory:

# Standard install
pip install . -v

# Install with testing dependencies
pip install .[test] -v && pytest

Editable Install (Experimental)

For real-time development without re-installing:

pip install --no-build-isolation -ve . --config-settings=editable.rebuild=true -Cbuild-dir=build

3. C++ Installation using CMake

A CMakePresets.json is provided for standard configurations.

# Configure, Build, and Install
cmake --preset clang-debug
cmake --build --preset clang-debug
cmake --install

# Run C++ Tests
ctest --test-dir build/

[!TIP] Create a CMakeUserPresets.json to define your own local build configurations.

Static Build

For a static C++ build (e.g. for embedded integration without Python):

cmake -B build/static -DBUILD_SHARED_LIBS=OFF -DAIDGE_BUILD_PYTHON=OFF
cmake --build build/static

[!NOTE] Without pybind (AIDGE_BUILD_PYTHON=OFF), cross-module shared data (registrar, log levels, node IDs) relies on function-local static variables which require static linking. Use -DBUILD_SHARED_LIBS=OFF in this case. When building with pybind (AIDGE_BUILD_PYTHON=ON), shared libraries are the default and recommended.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

aidge_core-0.10.0-cp312-cp312-win_amd64.whl (11.2 MB view details)

Uploaded CPython 3.12Windows x86-64

aidge_core-0.10.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

aidge_core-0.10.0-cp311-cp311-win_amd64.whl (11.2 MB view details)

Uploaded CPython 3.11Windows x86-64

aidge_core-0.10.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (9.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

aidge_core-0.10.0-cp310-cp310-win_amd64.whl (11.2 MB view details)

Uploaded CPython 3.10Windows x86-64

aidge_core-0.10.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (9.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file aidge_core-0.10.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_core-0.10.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bc226acb62026f7a09006c0a34d0518d35c66a1c05dc583525bd80e5ab87f2fb
MD5 70f863f2cba853d765889e76594711d6
BLAKE2b-256 2dac99f69334b14e402073738e01b2ec1d08193c001d88098933294cb3f8506a

See more details on using hashes here.

File details

Details for the file aidge_core-0.10.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_core-0.10.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f2942ef98778ed23d95bad18cb409ab349522b951c8c552f3b4d752976de5586
MD5 27f5d3ccde82dec8a56e5a043b1462b8
BLAKE2b-256 0cbd40f5e821ef4f2f6ed770a7a3aec30e4a8c5ee41a666e02232d40e8330efd

See more details on using hashes here.

File details

Details for the file aidge_core-0.10.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_core-0.10.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 25b8d5b48dec738a62852ba083f923294b095e8c99a00644769d847e20886251
MD5 ee6579f98f400ca7016bdd61882163b1
BLAKE2b-256 af1f5eb24d146fe0ff2834cdddf7056f7b63b97a461b0024542225c094f5d725

See more details on using hashes here.

File details

Details for the file aidge_core-0.10.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_core-0.10.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 38e8982b7e251c2c6493438b57eea8471b4296e9746eac3a7fe037f51fa2d73f
MD5 e21ab0e70b5c4777186be6d0e2c329e5
BLAKE2b-256 017887a6907cb0942fb199d3f8909aa10afbd19c03d7bf331fc4baf8a6830fb5

See more details on using hashes here.

File details

Details for the file aidge_core-0.10.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_core-0.10.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f51241acc91dfd3f3d90f725d778ae9665d354ff21497cdf4bedccfc8d5d8e4b
MD5 caf264dc2d040e0aa9646f00f872e6fb
BLAKE2b-256 ef47d5f2ed6be94e1657c089d057e93d66e7d80e19a27c5920ef2d70e042cf1d

See more details on using hashes here.

File details

Details for the file aidge_core-0.10.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_core-0.10.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4416e732e53853007a581d67ca0e61f3f5f96602e205d804ca9be7bbbe5f3d27
MD5 98ca532b709e60035fa8636b7a3fd946
BLAKE2b-256 0c704b329a0cd9ab171056fb935a906493338c532d0d83bf5b91fccd23552335

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page