Catalog PyPI
PACKAGE EXPLORERView in registry

aidge-backend-cuda

PyPI

Core algorithms for operators and graph of the AIDGE framework

Versions collected1
Direct dependencies7From 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 CUDA

Aidge Backend CUDA is the implementation library for CUDA-based operators within the Aidge framework.

Quick Start

Prerequisite:

  • aidge_core
pip install aidge-backend-cuda

[!WARNING] It is highly recommended to build this module from source rather than using the pypi package.

🛠 Build from Source

Prerequisite (in addition to previous one):

  • CUDA ToolKit 12.6
    • 12.4.1 is the strict minimum, but 12.6+ is recommended.
  • CUDnn9
    • make sure to install the CUDA 12 compatible version

[!TIP] On Windows at least, CUDnn9 headers and libraries needs to be findable. One way is to add files from CUDnn to CUDA in their respective bin/, lib/ and include/. Or you could add these folders to your path.

1. Python or C++ installation using setup scripts

EnvironmentC++ DevelopmentPython Development
Windows.\setup.ps1 -Modules backend_cuda -Tests -CppOnly.\setup.ps1 -Modules backend_cuda -Tests
Unix./setup.sh -m backend_cuda --tests --cpp-only./setup.sh -m backend_cuda --tests

[!TIP] Use Get-Help setup.ps1 (Windows) or ./setup.sh -h (Unix) for full documentation.

2. Python Installation using pip

Run these commands from the aidge_backend_cuda/ directory:

# Standard 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 20267

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:59f1e97d22fbe6b7942b6a45c39af55129e976702a15e536568a88122524ce95