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.6.1-cp313-cp313-manylinux_2_28_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

aidge_backend_cpu-0.6.1-cp312-cp312-manylinux_2_28_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

aidge_backend_cpu-0.6.1-cp311-cp311-manylinux_2_28_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

aidge_backend_cpu-0.6.1-cp310-cp310-manylinux_2_28_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

File details

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

File metadata

File hashes

Hashes for aidge_backend_cpu-0.6.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cde8aa51f3fca565ff5cafa51373ad7ef8fe00117e351934f7caf10552f0ae68
MD5 9e795a02c5ea62668df087131925292c
BLAKE2b-256 040a92788beb8da2fd8318bf664e0339083ccaa51861f3c64217cfdeebfd8381

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cpu-0.6.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fea2658c8d5a0e92f3404a32e5029d15c321be35445e475c5c932178fb11d730
MD5 063694eef92dd2f90a597c907f25fb6a
BLAKE2b-256 b1dc1e277c9fc08dcf6ce6273981d741a7832643505e062723def390ff586b9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cpu-0.6.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d10c8c485589f6a9f8a0ae1f82422356ccae0a93a05413dd318272851d8d14d3
MD5 11cabfbc5130968091d50fe8e033094c
BLAKE2b-256 766143b130bb4e9d2b113e48250d5f651995b759a8736c04837cce6868eb1910

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cpu-0.6.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 46ee7710db12e26528017afba9188cc47aafe09088271a9cf3c81b55d0c7ff87
MD5 be50f9c083e71dafa3fffe4e02a34fa7
BLAKE2b-256 82cc2576e3f6dc72d10402425d8b88780c4ba33658f617b4635363124f1dfb8e

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