Skip to main content

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 -Tests -CppOnly .\setup.ps1 -Modules backend_cpu -Clean -Tests
Unix ./setup.sh -m backend_cpu --tests --cpp-only ./setup.sh -m backend_cpu --clean --tests

[!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.

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.10.0.post3-cp312-cp312-win_amd64.whl (6.9 MB view details)

Uploaded CPython 3.12Windows x86-64

aidge_backend_cpu-0.10.0.post3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

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

aidge_backend_cpu-0.10.0.post3-cp311-cp311-win_amd64.whl (6.9 MB view details)

Uploaded CPython 3.11Windows x86-64

aidge_backend_cpu-0.10.0.post3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

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

aidge_backend_cpu-0.10.0.post3-cp310-cp310-win_amd64.whl (6.9 MB view details)

Uploaded CPython 3.10Windows x86-64

aidge_backend_cpu-0.10.0.post3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 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.10.0.post3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.10.0.post3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 64bda9fbd5329965f4c55a5ef45770f6810dfddfbf3264d7fc774832392cfa54
MD5 0b78760f7e0bf9ed49ea55b591582ff5
BLAKE2b-256 95c033c1460ecb5ebd7a6b80ed6c9e5bf047084af63c90d8813c8c1bad2c3c71

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.10.0.post3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.10.0.post3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3ff52779f26e7169f90b15b4338b3c8b6db4892f1f68d4dd453f70993808a975
MD5 3c3b230fba5b6a183d9b2aafa371e8f1
BLAKE2b-256 7cbb472dc5df116bda8bc896b1960dbfd5141b6c099a6205ffb3212df15400d5

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.10.0.post3-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.10.0.post3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 52a39a9bb4f61e82f3258d442c82d7b61e96d379285225c00c41f98ca897dc8b
MD5 9b51216248940ff0088b276bc9e1da44
BLAKE2b-256 fd0f67682a2c9995a51e1b2a2069d821230330b2401a9406c96d3e2214ca7753

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.10.0.post3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.10.0.post3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e2df5d93eecfb1e2db857f841f8bbcff83bad9a62c6fc2c5ebffbf8e4f987675
MD5 f08ea8b607d53758bea1ebbe02ad70b9
BLAKE2b-256 125fffcc0ac174fd175f9e23d0cf9ea72f6e828cf4eb222144a82f6aba0f9be7

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.10.0.post3-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.10.0.post3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3f36569a6c2330c4032fec1d24d2f1f0c88908cc1b7c41e11ab22d0ce1545106
MD5 063d92b335bb34e25f695fa37c13e335
BLAKE2b-256 2cd2714cd5951b3dd6bdb753df71708a36e9977e7060339bcfaf6f34f987d33d

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.10.0.post3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.10.0.post3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 68778d76c460ce39c40436b42429c47b6e0e1ed430b044c500b4764bc582915f
MD5 9ebeda7ec11d5318015e0d068dea47c6
BLAKE2b-256 4a1f551e33916296f848382fedf91d6c0a51d84f884f5d9ab48419aad4577982

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