Core algorithms for operators and graph of the AIDGE framework
Project description
Aidge CUDA library
You can find in this folder the library that implements the CUDA operators.
[TOC]
Quick Start
ℹ️ First, make sure to go through installation instructions required for every module.
Dependencies
Make sure to install the following tools:
- CUDA ToolKit 12.6
12.4.1is the strict minimum, but12.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/andinclude/. Or you could add these folders to your path.
Aidge dependencies
aidge_coreaidge_backend_cpu- Only needed for tests.
# On Windows, from aidge/
# ----------[ C++ development]----------
setup.ps1 -Modules core, backend_cpu -Clean -Tests
# ----------[ Python development]----------
setup.ps1 -Modules core, backend_cpu -Clean -Tests -Python
# On Unix, from aidge/
# ----------[ C++ development]----------
./setup.sh -m core -m backend_cpu --clean --tests
# ----------[ Python development]----------
./setup.sh -m core -mbackend_cpu --clean --tests --python
Using setup.ps1
[!NOTE] Windows only* *Unless you installed powershell on your system
# ----------[ C++ development]----------
# From aidge/
setup.ps1 -Modules backend_cuda -Clean -Tests
# ----------[ Python development]----------
# From aidge/
setup.ps1 -Modules backend_cuda -Clean -Tests -Python
[!TIP] Run
Get-Help setup.ps1 --Fullto display documentation
Using setup.sh
[!NOTE] Unix only*
# ----------[ C++ development]----------
# From aidge/
./setup.sh -m backend_cuda --clean --tests
# ----------[ Python development]----------
# From aidge/
./setup.sh -m backend_cuda --clean --tests --python
[!TIP] Run
setup.sh -hto display documentation
Using pip
[!NOTE] If using virtual environment, make sure to use the same for every installation !
# ----------[ Python development]----------
# only in aidge/aidge/aidge_backend_cuda/
pip install . -v
# If you want to install test, do this instead
pip install .[test] -v
# Launch tests using pytest
pytest
[!TIP]
-vis to enable verbose mode !
Development mode install
[!WARNING] Experimental Untested & experimental feature, see https://scikit-build-core.readthedocs.io/en/latest/configuration/index.html#editable-installs.
pip install --no-build-isolation --config-settings=editable.rebuild=true -Cbuild-dir=build -ve.
Using CMake
[!NOTE] Only for C++ development Don't use this method, if you wish to create a pip package Use
pipinstead.
A CMakePreset.json is available.
# Configure
cmake --preset clang-debug
# Build
cmake --build --preset clang-debug
# Install
cmake --install
# Test
ctest --test-dir build/
Feel free to create your own presets in CMakeUsersPresets.json by inheriting the ones available in CMakePresets.json.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aidge_backend_cuda-0.9.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: aidge_backend_cuda-0.9.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 94.0 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94bcd645463d974832f68fd5409d346951f16eb65b8409fedc52fe8ab4235dc4
|
|
| MD5 |
bf07b07ea4b75b807dd5b4a9bb6d00a4
|
|
| BLAKE2b-256 |
6823653358c1778d7b581f9463becd9f9c648abdba9173f70c969226cc3e9b42
|
File details
Details for the file aidge_backend_cuda-0.9.0-cp312-cp312-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: aidge_backend_cuda-0.9.0-cp312-cp312-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 69.0 MB
- Tags: CPython 3.12, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4bf950d96f41bca9295a968f9a4dc4ccaf5a919b5f6d3ebfffa0741a709fe63
|
|
| MD5 |
77781d6c9f18cd924d3cb4dd0c892a68
|
|
| BLAKE2b-256 |
3cc3094f623b8c368ea8c1fd64e2c372f1ab1ab5268edc682bdd51c4558f6db9
|
File details
Details for the file aidge_backend_cuda-0.9.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: aidge_backend_cuda-0.9.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 93.9 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b98163f4cd85992cdde2507c0efab6072fecb5251eb5a852c31e9725d616e204
|
|
| MD5 |
09f9de39ffb95590d15092341793261e
|
|
| BLAKE2b-256 |
5075737ab33fa7aa854acbbf68d51c3dad968fc3911e9a4e4f470cdf7e365cd5
|
File details
Details for the file aidge_backend_cuda-0.9.0-cp311-cp311-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: aidge_backend_cuda-0.9.0-cp311-cp311-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 68.9 MB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57d24cc695fcfcce333ff6d4ace951d1a84dab0d584fe68ca17f5957aac18449
|
|
| MD5 |
5cea7f933dafa3ba73b422e67c9462a2
|
|
| BLAKE2b-256 |
310a0f5988e4e422bbe6a568e4ecc7bd647c877eb89d9ac08b97dfc9c5ff110a
|
File details
Details for the file aidge_backend_cuda-0.9.0-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: aidge_backend_cuda-0.9.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 93.7 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69aebc457a4ebcf093aa6c352653a0059e48b1726a40d5bcb85b7aca40948f4e
|
|
| MD5 |
65ff9014963229bb6fb0a320b0a94264
|
|
| BLAKE2b-256 |
5a0ed95731fab9b69fc5c41ccbd4432e9b8930c21dd8a6da6ef46660cc266d29
|
File details
Details for the file aidge_backend_cuda-0.9.0-cp310-cp310-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: aidge_backend_cuda-0.9.0-cp310-cp310-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 68.8 MB
- Tags: CPython 3.10, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a84c34bec3f6719bb612d0f7306c711bc6f6cbc0d7cd0918c5c3f23b3c49d66
|
|
| MD5 |
a2c8bdd94d388571972835430cce7d6d
|
|
| BLAKE2b-256 |
b805bebcb0d0dcdb8807760c59edd8692def90bcc299bc79a6e6021c60f01c03
|