CPU implementation of operators of the AIDGE framework
Project description
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):
- Please review the global installation instructions before proceeding.
- If using a virtual environment, use the same one for all Aidge modules.
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.ps1Win 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.jsonto define your own local build configurations.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aidge_backend_cpu-0.9.0.post3-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: aidge_backend_cpu-0.9.0.post3-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 41.9 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff890357f5a2b533b8bacd89aacfb9ee9bd4efdfd1e78b623e1836922faedd62
|
|
| MD5 |
40d402f08fc32e999db1852d167cb43f
|
|
| BLAKE2b-256 |
5fce31154b6dc8639d6830b0b12ce2ca95ff81c7cfee9d1799c866c48f8d330c
|
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
- Download URL: aidge_backend_cpu-0.9.0.post3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 13.2 MB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
388f08ee7f67fe130b953a50a6a4879a516415fd7e9e5c93ca576a230a1b4238
|
|
| MD5 |
904fdaadbf8eb72659ddc1a7a0f41a24
|
|
| BLAKE2b-256 |
9e3eecf0e2c2f4ab5fc37a3f8def7ea58dfcac51a0fcf5d638e5b0ca4d76b099
|
File details
Details for the file aidge_backend_cpu-0.9.0.post3-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: aidge_backend_cpu-0.9.0.post3-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 41.9 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1345d2fc025123008cf9d680d50ab2e3ffb323d09a9fcd8ea28b74dafd24dc46
|
|
| MD5 |
b09e08188f7040c5bd687063c488a589
|
|
| BLAKE2b-256 |
3bc6be36e2d1b4f5d9705ed8b13b9113382d369882f0f682e20c5dbd951de18b
|
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
- Download URL: aidge_backend_cpu-0.9.0.post3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 13.1 MB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bc52e0b8aa02f2b7cceee395ec25baff7db580488ff8d247a4fa81449d4bc97
|
|
| MD5 |
f347f7f497cc52ffbc59c72468e3e970
|
|
| BLAKE2b-256 |
80436bf6c948420ee6e7f3f5b7e5cd8c83432ad693e1130ce831ac39092bd3e1
|
File details
Details for the file aidge_backend_cpu-0.9.0.post3-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: aidge_backend_cpu-0.9.0.post3-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 41.7 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
115d641e2d036a891da7176292ecdd6ac4c4c20ce3f144c298f001449407b7de
|
|
| MD5 |
ed02b28baf08591e3b1e5f0dd232bace
|
|
| BLAKE2b-256 |
9edbc871bfe544fa082b85fcb77bc8a8605afd1f0a1fd34ea8d607cb43456337
|
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
- Download URL: aidge_backend_cpu-0.9.0.post3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 13.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1eef61777cab70ca74e744f0973e40429207b0b1ac3ed9b81672132b480e2540
|
|
| MD5 |
0623e63ff65f050a0be9d851d752ee06
|
|
| BLAKE2b-256 |
afe46c3d900702ad1bf7d35b7b7f5874feffafd752fe41e29719d9b9a1324516
|