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

aidge_backend_cpu-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

aidge_backend_cpu-0.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

aidge_backend_cpu-0.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

File details

Details for the file aidge_backend_cpu-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7b1952f57a161e93d1f083638092344177f41a08cd46e43e5741b8e1b3e89b7e
MD5 8097e7c7eb6bed7856190ed46f8e2a32
BLAKE2b-256 84ccf187860339fd5aead444b03fd6375c66a7a29332277be3476919c415cb2d

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 88da824720ac117974c8bffc1e43ee0ac8757fc93d11a4add4086913c3e0dae3
MD5 4f5b5b9bb8853d6cc2c4d6808afae340
BLAKE2b-256 aba42918179b279a20544c57c7bbb26ae029322367ae3ef055450f7ecb88c0ff

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c33b11ca05facfac3dec78c73a70c25b4304051bb9f420817c164e2254647ad3
MD5 4fbb3729a8d2d034d558b5266eb2a407
BLAKE2b-256 9e34f0bf5def586f3e28408b9a100d03d25763ccde75817aa8deda89982f24c6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page