Skip to main content

CPU implementation of operators 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 Backend CPU

Aidge Backend CPU is the implementation library for CPU-based operators within the Aidge framework.

Quick Start

Prerequisite:

  • aidge_core
pip install aidge-backend-cpu
python -c "import aidge_core; import aidge_backend_cpu; print(f'Available backends:\n{aidge_core.get_keys_Conv2DOp()}')"

This should now include the cpu backend in the output:

Available backends:
{'export_serialize', 'cpu'}

🛠 Build from Source

Prerequisite (in addition to previous one):

1. Python or C++ installation using setup scripts

Environment C++ Development Python Development
Windows .\setup.ps1 -Modules backend_cpu -Clean -Tests .\setup.ps1 -Modules backend_cpu -Clean -Tests -Python
Unix ./setup.sh -m backend_cpu --clean --tests ./setup.sh -m backend_cpu --clean --tests --python

[!TIP] Use Get-Help setup.ps1 Win or ./setup.sh -h (Unix) for full documentation.

2. Python Installation using pip

Run these commands from the aidge_backend_cpu/ directory:

#fStandard install
pip install . -v

# Install with testing dependencies
pip install .[test] -v && pytest

Editable Install (Experimental)

Use this for real-time development without re-installing.

pip install --no-build-isolation -ve . --config-settings=editable.rebuild=true -Cbuild-dir=build

3. C++ Installation (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_backend_cpu-0.9.0.post2-cp312-cp312-win_amd64.whl (39.1 MB view details)

Uploaded CPython 3.12Windows x86-64

aidge_backend_cpu-0.9.0.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (12.7 MB view details)

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

aidge_backend_cpu-0.9.0.post2-cp311-cp311-win_amd64.whl (39.0 MB view details)

Uploaded CPython 3.11Windows x86-64

aidge_backend_cpu-0.9.0.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (12.5 MB view details)

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

aidge_backend_cpu-0.9.0.post2-cp310-cp310-win_amd64.whl (38.8 MB view details)

Uploaded CPython 3.10Windows x86-64

aidge_backend_cpu-0.9.0.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (12.4 MB view details)

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

File details

Details for the file aidge_backend_cpu-0.9.0.post2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.9.0.post2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3489fb791fb81aa41c30caf9e5409d90e6f8db358900d0c1f7172b753f6aff65
MD5 139dc5170775e598b5f6bdd49027e91a
BLAKE2b-256 b55451d92b3b5d491bdc468cf21cbb9c84232903af87006e4a2102c8f56fc31f

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.9.0.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.9.0.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 532d04912546c36ed5a81e02f99192e9887b69c981a03674a5dac08df04dca2c
MD5 5d85e0df372e0c74c51f69e5f68ce494
BLAKE2b-256 d2ac05043426665e9a329431403ff4f02dee438961f17afdf5b4055487c16e48

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.9.0.post2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.9.0.post2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8c64c0c7363db74e16a01a281591808aec8a9dc9a1535d7079703c6c3a86f90b
MD5 74e6d1b553e5695e2d64822b40f10092
BLAKE2b-256 233df3d5239686899931d398cd5a4535513b4fc7433d4020db14651b76f9e2e6

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.9.0.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.9.0.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 30638d6e111022fe1673250a06866a466ce2590806242162301eee1f2a471a40
MD5 fd21473f0c8ec0aaff0d359909b0a5c3
BLAKE2b-256 12b31773a2894fc48c44464dae24d7cebd422c699cad726b3153363dcb6f6d19

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.9.0.post2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.9.0.post2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 294fb2d0d8f53a3da5cf2cdf49538777a37344588e95849914cb0d72c8bc557b
MD5 b11612461536a9294e8b31a262c4df19
BLAKE2b-256 afd2dd3e5991b99e4efd6792fddda31595518c3acdd6b4c14b33ae9255c09c44

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.9.0.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.9.0.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cfef0fc53242ebad3cc8a25b0aa7c6f4f02ffbc78647407f86c097779fffa0fc
MD5 b65d3bee340f690aadf5866d1543b67d
BLAKE2b-256 574953b7b751ab237467c881fa1e30c94cdb572c13e4ffa4c3d41e733a656a4d

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