Skip to main content

CPU implementation of operators of the AIDGE framework

Project description

Pipeline status C++ coverage Python coverage

Aidge CPU library

You can find in this folder the library that implements the CPU operators.
Those operators can be used on any machine with an Linux OS.

[TOC]

Installation

Dependencies

  • GCC
  • Make/Ninja
  • CMake
  • Python (optional, if you have no intend to use this library in python with pybind)

Aidge dependencies

  • aidge_core

Pip installation

pip install . -v

TIPS : Use environment variables to change compilation options :

  • AIDGE_INSTALL : to set the installation folder. Defaults to <python_prefix>/lib/libAidge. :warning: This path must be identical to aidge_core install path.
  • AIDGE_PYTHON_BUILD_TYPE : to set the compilation mode to Debug or Release or "" (for default flags). Defaults to Release.
  • AIDGE_BUILD_GEN : to set the build backend (for development mode) or "" for the cmake default. Default to "".

Pip installation for development

To setup using pip in development (or editable mode), use the --no-build-isolation -e options to pip.

For instance run the following command in your python environnement for a typical setup :

export AIDGE_PYTHON_BUILD_TYPE=         # default flags (no debug info but fastest build time)
export AIDGE_PYTHON_BUILD_TYPE=Debug    # or if one really need to debug the C++ code
pip install -U pip setuptools setuptools_scm[toml] cmake   # Pre-install build requirements (refer to the pyproject.toml [build-system] section)
pip install -v --no-build-isolation -e .

Refer to aidge_core/README.md for more details on development build options.

Standard C++ Compilation

You will need to compile and install the Core Library before compiling the CPU one.

Once this has been done, you'll need run CMake with the CMAKE_INSTALL_PREFIX:PATH flag, in order to indicate to CMake where aidge_core has been installed :

cmake -DCMAKE_INSTALL_PREFIX:PATH=$(path_to_install_folder) $(CMAKE PARAMETERS) $(projet_root)

make all

More detailed information is available in the Aidge User Guide

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_backend_cpu-0.8.0-cp313-cp313-manylinux_2_28_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

aidge_backend_cpu-0.8.0-cp312-cp312-manylinux_2_28_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

aidge_backend_cpu-0.8.0-cp311-cp311-manylinux_2_28_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

aidge_backend_cpu-0.8.0-cp310-cp310-manylinux_2_28_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

File details

Details for the file aidge_backend_cpu-0.8.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.8.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9b4cac915c8ce23a40c11f2522618520707bc32754096f01c9762f250ac1bc61
MD5 499572707124cb9817bf8a9f58c4c169
BLAKE2b-256 e4848eaf86b063003e40dae57a9179ef14a95f4ffcf4bc7ae88b17b28c42b7fc

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.8.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.8.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 beb4a41d460858d8ad50e4cd73bb665fb6e270b2b3c313b1a3e3d8aa2f937eb7
MD5 f01b24b6c08e1a7467300fdd1bf1fae3
BLAKE2b-256 09e90b5bf97a094404530146d3c99b958960b02a26fbfe234e4b9a600101f35d

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.8.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.8.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7e842ec08eaba209b1db87750ae8746dec1803658c1bc16a81381c245817dece
MD5 8fa6a1590d0881fe7d35b333a7c91956
BLAKE2b-256 9cad9c1580c369d54a85760caed5a193f133e19456aee00f1eedaa1bd470d0f6

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.8.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.8.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8c9c4c010091d7d036d56270db42cb27883e4b0caeecaa7b9a4633527149c6db
MD5 8e7e72c1042a42358714f64e174e05c6
BLAKE2b-256 c2f071098f6eb10228e809e29cc33ca632104b0595a089b560a1e16b20098284

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