Skip to main content

Core algorithms for operators and graph 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 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

Environment C++ Development Python Development
Windows .\setup.ps1 -Modules backend_cuda -Clean -Tests .\setup.ps1 -Modules backend_cuda -Clean -Tests -Python
Unix ./setup.sh -m backend_cuda --clean --tests ./setup.sh -m backend_cuda --clean --tests --python

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

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

Uploaded CPython 3.12Windows x86-64

aidge_backend_cuda-0.9.0.post3-cp311-cp311-win_amd64.whl (97.6 MB view details)

Uploaded CPython 3.11Windows x86-64

aidge_backend_cuda-0.9.0.post3-cp310-cp310-win_amd64.whl (97.5 MB view details)

Uploaded CPython 3.10Windows x86-64

File details

Details for the file aidge_backend_cuda-0.9.0.post3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_backend_cuda-0.9.0.post3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9db32a8bd4474bd7aaf7655d66cb3266459ceca96131109d1527095ad663d18f
MD5 dda3bfaeea5d1ac13388e85f4287c998
BLAKE2b-256 57e9550095a2ed2a75bda56bb7957e5a6dce0f4886dea148410fb6a58aadb41e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cuda-0.9.0.post3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4c0a4d3a7fd9945d35ab7cf684945e39a1691219e3e658787ce8636b4497d7ff
MD5 c0bc9bc8aeaab993bb91cf3e2f3e53bb
BLAKE2b-256 b476a48ad25433576e782e210dcce9144b9bc9758a978340256fbdd1fc9529bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cuda-0.9.0.post3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e11ec54c433243759ee376c834c8aaa12b509c567ee51095256cc98370ad53df
MD5 f587250b684faf32d2bf544cd1c18a97
BLAKE2b-256 4f0fd48d847bc83355d29ed1aa65b4d1bcb4847c4bfee7f9611ac0b6dfc9b460

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