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.post2-cp312-cp312-win_amd64.whl (11.2 MB view details)

Uploaded CPython 3.12Windows x86-64

aidge_core-0.10.0.post2-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.post2-cp311-cp311-win_amd64.whl (11.2 MB view details)

Uploaded CPython 3.11Windows x86-64

aidge_core-0.10.0.post2-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.post2-cp310-cp310-win_amd64.whl (11.2 MB view details)

Uploaded CPython 3.10Windows x86-64

aidge_core-0.10.0.post2-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.post2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_core-0.10.0.post2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 65761153fcbcae752656689416ee13e715a4248d2fc73592b8eb9a92322aad49
MD5 801a0f8d18fc4157d485b2827b184a18
BLAKE2b-256 3d7d845b09b28e26b3d475d54833ce1a9efc257cf546c97f79aac264b0acac4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_core-0.10.0.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 74f606647c25740b5dbdd134b41f7600031970465263f1fa6e79b8619a375b8d
MD5 2b4cfdbc6fcaa565777e575c164cb808
BLAKE2b-256 6e1f3e581b02160cec31ee2b3825429f8c90ceae99c1760bd4745b13f1966c8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_core-0.10.0.post2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4159ec33d254ec899dfe71dec2c666cdd63bd49bec34679af0f33ec11e6f0579
MD5 fcdafd18ee8a7598a38d43707c512e58
BLAKE2b-256 4f9a134df0d4e8cff2dcf07d82cf147d38d4165de7ed4b206cad5641d2e120d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_core-0.10.0.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8ba50e21f9d56c61c020defed033a2637c1b64fe0197b3de61733389f0d60161
MD5 2bda0a3e8e9e20a57287a447a8295f79
BLAKE2b-256 6a1173f1bcd640f65e11d51f875a0d2b49de849ad035dff9de704241acf14bcc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_core-0.10.0.post2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8e83eaaf600c22c43fe5d2f8095e1bcb128b8f2407242c666dfd6907e90db5d2
MD5 e8aab1726ef89fb1e63bf7b5fac17e69
BLAKE2b-256 673e69d070105f8bc8a2fb02c42c2890509045702365722a5c011cddb58ed525

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_core-0.10.0.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 815f274e043888b90e65b5ba8ed9aefaf72d637439a130ca37449ba82a4f1110
MD5 1ec1076fdc4531db7a7e0c2148b3948a
BLAKE2b-256 6df5dc21c8c4d0047746952e85b5ac4e3a3878635df391be23cb038c387c83e9

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