Skip to main content

Core algorithms for operators and graph of the AIDGE framework

Project description

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.

Project details


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.9.1.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (32.3 MB view details)

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

aidge_core-0.9.1.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (32.1 MB view details)

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

aidge_core-0.9.1.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (31.7 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.9.1.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_core-0.9.1.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 437abe56f60287fdfc55753c32fd6f5449a3bdf92d0ae050119f2a0ccea75700
MD5 b0b31092f33d0cdfe54ce4bd287ef6a6
BLAKE2b-256 91006c5cd3df297ed5ba939494fbc7bb79b915b0499aabf51266f5bf5fb81f1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_core-0.9.1.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f9fc4d6614b4b45d934004731bb4363d7b41fa214c5bf2595516a1a6865800b9
MD5 1bfd97a437cad477358bf07a75e4f768
BLAKE2b-256 0f03997efcdf22784d083467e5c3abdfa027dfbcef7054c1bda5b522c4e338ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_core-0.9.1.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2f036ada3ad7609ca6daf184e2d289c4606662e2a3eb51b7c19c55a1caa89b3a
MD5 4eecabbe27d85d24a092b50cac38cec4
BLAKE2b-256 307fb0678f93530409d3ab29f5c59740e6c5303da3a60714403da5dc84fb8857

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