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

Uploaded CPython 3.12Windows x86-64

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

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

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

Uploaded CPython 3.11Windows x86-64

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

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

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

Uploaded CPython 3.10Windows x86-64

aidge_core-0.10.0.post3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (10.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.post3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_core-0.10.0.post3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bb51590e23222c20b8fecc436c6c0e2f6c2cc20caa9422d90c29e39f073c69b1
MD5 82cb47ce437363e27419107eccb0db94
BLAKE2b-256 10ff7850d7ffcb3f9dcc9d5863ad995d367793a04bea94fe5bf2ee8479e98130

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_core-0.10.0.post3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c6fbe1be5bbe1f2d7af3fcae96b1ff31bbf94fa896900cbeb7011087c3cc2c92
MD5 608f94b30c0b6576ef77d4ca317a4c18
BLAKE2b-256 d56aa04220d2720a9a43cc0ae2dfdd5704dc177f97f65d14fd8d138e6ec5abf1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_core-0.10.0.post3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d0db1d39aa174380b6144582edbebc6ae6acb026241587740f26264bbad604d1
MD5 d79d734162e00afe7e91da5b0de49da5
BLAKE2b-256 00be923b9596f12b902c5f3c316d3292f23daa08daa6924def606374edf9501a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_core-0.10.0.post3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9f8c4e5cbffc954edcd219cfef05d5155d7cf322940e9a1a26dcb8a33b067708
MD5 4f3956215909d7f505f05ce18fd2df64
BLAKE2b-256 81b54543b2c6e01e3eaa229cf9611df872a044a70fa54c8ceb084641df1c8bf0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_core-0.10.0.post3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cd1648560c11c26a8948bf670f251cb61180bb150ad2d274b314501efeb5e920
MD5 42dde49d96b8210ab9c3c1c00b714a4c
BLAKE2b-256 c77415648bfccc35f5284ad09c5563cd6d01149152cbb6151af927f1fee435d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_core-0.10.0.post3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f8f21af4357b6cc047f70a4d6ea1728ceb34089f282796511773235374ca998a
MD5 4542d980800bdada39104da9e13f4b94
BLAKE2b-256 80547b250eff89b80486b0346ae160ab54daa193acbe44fb9f81671a83f4b9c2

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