Catalog PyPI
PACKAGE EXPLORERView in registry

aidge-backend-cpu

PyPI

CPU implementation of operators of the AIDGE framework

Versions collected1
Direct dependencies3From release 0.10.1
Last observed21 Oct, 10:28 UTC

README

Version 0.10.1 documentation

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

EnvironmentC++ DevelopmentPython 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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.10.117 Sept 20263

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:28 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:43205e3511392b7248612ab963f83da6f51899f98dd76c34068ffaafe81f33a1