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

Uploaded CPython 3.12Windows x86-64

aidge_backend_cpu-0.9.0.post3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (13.2 MB view details)

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

aidge_backend_cpu-0.9.0.post3-cp311-cp311-win_amd64.whl (41.9 MB view details)

Uploaded CPython 3.11Windows x86-64

aidge_backend_cpu-0.9.0.post3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (13.1 MB view details)

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

aidge_backend_cpu-0.9.0.post3-cp310-cp310-win_amd64.whl (41.7 MB view details)

Uploaded CPython 3.10Windows x86-64

aidge_backend_cpu-0.9.0.post3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (13.0 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.post3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_backend_cpu-0.9.0.post3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ff890357f5a2b533b8bacd89aacfb9ee9bd4efdfd1e78b623e1836922faedd62
MD5 40d402f08fc32e999db1852d167cb43f
BLAKE2b-256 5fce31154b6dc8639d6830b0b12ce2ca95ff81c7cfee9d1799c866c48f8d330c

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.9.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.9.0.post3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 388f08ee7f67fe130b953a50a6a4879a516415fd7e9e5c93ca576a230a1b4238
MD5 904fdaadbf8eb72659ddc1a7a0f41a24
BLAKE2b-256 9e3eecf0e2c2f4ab5fc37a3f8def7ea58dfcac51a0fcf5d638e5b0ca4d76b099

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cpu-0.9.0.post3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1345d2fc025123008cf9d680d50ab2e3ffb323d09a9fcd8ea28b74dafd24dc46
MD5 b09e08188f7040c5bd687063c488a589
BLAKE2b-256 3bc6be36e2d1b4f5d9705ed8b13b9113382d369882f0f682e20c5dbd951de18b

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.9.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.9.0.post3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2bc52e0b8aa02f2b7cceee395ec25baff7db580488ff8d247a4fa81449d4bc97
MD5 f347f7f497cc52ffbc59c72468e3e970
BLAKE2b-256 80436bf6c948420ee6e7f3f5b7e5cd8c83432ad693e1130ce831ac39092bd3e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cpu-0.9.0.post3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 115d641e2d036a891da7176292ecdd6ac4c4c20ce3f144c298f001449407b7de
MD5 ed02b28baf08591e3b1e5f0dd232bace
BLAKE2b-256 9edbc871bfe544fa082b85fcb77bc8a8605afd1f0a1fd34ea8d607cb43456337

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.9.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.9.0.post3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1eef61777cab70ca74e744f0973e40429207b0b1ac3ed9b81672132b480e2540
MD5 0623e63ff65f050a0be9d851d752ee06
BLAKE2b-256 afe46c3d900702ad1bf7d35b7b7f5874feffafd752fe41e29719d9b9a1324516

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