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

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

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

aidge_backend_cuda-0.9.1.post2-cp311-cp311-manylinux_2_28_x86_64.whl (70.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

aidge_backend_cuda-0.9.1.post2-cp310-cp310-win_amd64.whl (98.2 MB view details)

Uploaded CPython 3.10Windows x86-64

aidge_backend_cuda-0.9.1.post2-cp310-cp310-manylinux_2_28_x86_64.whl (69.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

File details

Details for the file aidge_backend_cuda-0.9.1.post2-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cuda-0.9.1.post2-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 810fdcd75af708ac80d96e46564e198455c93d88be8da98ffaad207d8a9e831c
MD5 4e70d77838ae4588415372adfa59d542
BLAKE2b-256 67652d0154f19bff4d6172a2e62c519260d852c5a2ef6a2687d094bc3c1f8bc3

See more details on using hashes here.

File details

Details for the file aidge_backend_cuda-0.9.1.post2-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cuda-0.9.1.post2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e6d39abba2e0d65117b1fbe22231c8034f7ab4b4870bf41964a500f774b7af65
MD5 d23227b1f953ba4c59c5a3839a1a4934
BLAKE2b-256 d43d427fc46b38f5e907a22f39c584d06a5057c1ff4c04ae3c291f9d5e2c92df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cuda-0.9.1.post2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 112d3c8489a986bb3b3946794d8d7ee41484a9bbf0217756b2b739b21eb10112
MD5 dd158d5d08709e4e254ac0fecd572ad4
BLAKE2b-256 1713a5c69fdb8a280e9d4627bf9130011a9a5677ba141ab8e833f4e94b53a5a7

See more details on using hashes here.

File details

Details for the file aidge_backend_cuda-0.9.1.post2-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_cuda-0.9.1.post2-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d03298b4b32f7c3b0dd02916309a38447bc904c72aee640c967b2531e1b02ce5
MD5 e286b354bf8ddbb4d772f33f8a73c160
BLAKE2b-256 306888462947f56a0bde68194f918e1033d2f3634233875753e05a67c3395248

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