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

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

aidge_backend_cpu-0.7.0-cp312-cp312-manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

aidge_backend_cpu-0.7.0-cp311-cp311-manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

aidge_backend_cpu-0.7.0-cp310-cp310-manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

File details

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

File metadata

File hashes

Hashes for aidge_backend_cpu-0.7.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f09dbcf591577e9b09e4e06c8d927075746f2c6a7e519e9d4294ad641c168a20
MD5 1bb1ded7132845e17016feff97d3a89b
BLAKE2b-256 0d2f81408fe80f5558b69fc530de9efbd386120a4320538ab0d4e09b7d24856c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cpu-0.7.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eaa97d52a77084c71ac7e09c46486a285df19a9b67a1d8c32173a5b86cbf42d1
MD5 b711b038b7a42aa91341427403bc2c58
BLAKE2b-256 9e37fb3b7b35fb1b3ddca88506503e9bc2bdf5fb489d4e3b3723574eec202b92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cpu-0.7.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aa01e93c582419fea04d4ed062198216dc16428ddb15cec995517daa0254e2c6
MD5 a762b2d0ff10174465f14a1d90f183f9
BLAKE2b-256 9497604b33c0d34e3a1b5c572c1e31a4951026d2ef2200f97750b4e61380c390

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cpu-0.7.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 827a5c2375f84c64e1cb0c64584b9d15a0882c5769fad87104145b82653d8305
MD5 e12703ece4453e007033cc1e46af2fb4
BLAKE2b-256 9819bdc84a710caa8820b8cd008e471c830edfea6eaa01b293f709c50e1622ae

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