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

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.1.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (14.1 MB view details)

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

aidge_backend_cpu-0.9.1.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (14.0 MB view details)

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

aidge_backend_cpu-0.9.1.post2-cp310-cp310-win_amd64.whl (45.0 MB view details)

Uploaded CPython 3.10Windows x86-64

aidge_backend_cpu-0.9.1.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (13.9 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.1.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.1.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eb7c80382a6bf56e25952e6d929761ba1467ed57d721c5766b231cc2a24dd8b5
MD5 de54745f9fa6555b3254780db3e0621b
BLAKE2b-256 157f72c32f1b8e8fe843d1e63cc467b3e61f8f836d0b6cf9dde59c673133ed30

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.9.1.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.1.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 baacf89b57a8e6e554c4c677f245684d8a799a79b4c3bc8661cb3c3b9d66a8dc
MD5 a092bad099d831bf8b920cc986e596fe
BLAKE2b-256 6a13312832a1d490d7130b179567209e7df7d22f6f5bb8eeeac25334fbdc790b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cpu-0.9.1.post2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3d5452b1580874348dd57b344d9cc8d6bc076c579dfc88e2fb8f1c1ffab8ac14
MD5 5af182e70cb15e3712a4f4a3feebdf5b
BLAKE2b-256 ac31c77e4f4bbd109a9eaf042e8763346cab4a246872b6e77a9a47e80970a5cd

See more details on using hashes here.

File details

Details for the file aidge_backend_cpu-0.9.1.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.1.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 77fd2fefb31e5d1d823644a7efdc8f7498087fc2c5c31886515eb784bf023bec
MD5 4e174bf5ab97de41887e338fa7d6be68
BLAKE2b-256 90c410b47f051270eb43eefae1bf95f5674ab2b8c05dd3c65e5e77618e65a63e

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