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.post2-cp312-cp312-win_amd64.whl (94.0 MB view details)

Uploaded CPython 3.12Windows x86-64

aidge_backend_cuda-0.9.0.post2-cp312-cp312-manylinux_2_28_x86_64.whl (69.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

aidge_backend_cuda-0.9.0.post2-cp311-cp311-win_amd64.whl (93.9 MB view details)

Uploaded CPython 3.11Windows x86-64

aidge_backend_cuda-0.9.0.post2-cp311-cp311-manylinux_2_28_x86_64.whl (68.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

aidge_backend_cuda-0.9.0.post2-cp310-cp310-win_amd64.whl (93.7 MB view details)

Uploaded CPython 3.10Windows x86-64

aidge_backend_cuda-0.9.0.post2-cp310-cp310-manylinux_2_28_x86_64.whl (68.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

File details

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

File metadata

File hashes

Hashes for aidge_backend_cuda-0.9.0.post2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b43a6ab08c1fa255cdd3dee0419e721e2c64ac2c98abe2f6ba754fc6a13d9669
MD5 f70e592cd4f24d12346a64e9f61e973e
BLAKE2b-256 ab58cf39629d7af24589cab7d50f0d1f6b60d64b07e215e0be62f0250e869478

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cuda-0.9.0.post2-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a72439d2f2558b577b0758057dcf76c94cca004ec0d05e154bac8519ce0f5e15
MD5 05c09888d3f37c36d7841dcb43bb19e1
BLAKE2b-256 d520b78f315c043f35299ce6fca519c08d1a87e2bdf718f2aebd9ad0da1e6495

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cuda-0.9.0.post2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2df9ff8c1dde7c69c434ca111c5263ce27467e57d72824f12c7042bbe51e0c88
MD5 181a5de4dbf69103ac41e0973d2a2db8
BLAKE2b-256 f56accc46a3d42fd8f672880537b8b76d3ca01fdfddb07054e0514e5dfa2db1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cuda-0.9.0.post2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 222a24ce2e75c0ba140a343fd5e52f4c78afc247e65fa9550cdcd8b942b96c0e
MD5 e954320d1a2ed934c2f4fb89d9d1083f
BLAKE2b-256 0c7757f2657fd420f07981db995f8a801b432313302a1c0bad170b562f754dc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cuda-0.9.0.post2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ccdd93d64fa7532e0e293cfe2bcca5c61b1c2473f802beaf62f2b79740b2cbb7
MD5 8582aede61295f43d19e19930730b20d
BLAKE2b-256 60f54f1fb27102a8b9b96956c19b98a4ed6e99b6a6e54a5bd38d20f97a597532

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_cuda-0.9.0.post2-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 867ae05c7ad417fc9a1acde281507c8c7e4beb9338f0ebfbbf77faebd48da45d
MD5 d2f03d84b9cdc4b688e809782c7d89af
BLAKE2b-256 1cc5bfc34a17d5e6fa2fd8ac9daaab83634d8998b2d547b96d5ae35a60390e21

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