Skip to main content

dynG CUDA plugin (dyng-cu12, dyng-cu13)

This distribution adds the CUDA backends to dynG, the library that keeps the results of graph algorithms (shortest paths, multi-objective shortest paths, cycle counts) up to date while the graph changes in batches of edge insertions and deletions. It is a plugin of the dyng package and is installed through its extras:

pip install "dyng[cu13]"    # NVIDIA driver for CUDA 13 (580 or newer)
pip install "dyng[cu12]"    # NVIDIA driver for CUDA 12 (525 or newer)

dyng-cu12 is built with the CUDA 12 toolkit, dyng-cu13 with CUDA 13. Each contains one extension module with every backend of dynG (sequential, OpenMP and CUDA), compiled for the GPU architectures from Turing (sm_75) on, with the CUDA runtime linked in: no CUDA toolkit is needed at run time, only the NVIDIA driver. A plugin always has the same version as the dyng it belongs to, and pip installs that version of dyng with it.

import dyng

dyng.show_config()                       # which native module is active, and why
res = dyng.Resources.cuda(device=0)
g = dyng.Graph.from_edges([0, 0, 1, 2], [1, 2, 2, 3], [4, 1, 1, 5], resources=res)
tree = dyng.sssp.compute(g, source=0)    # runs on the GPU

You never import this package yourself: import dyng finds it through the entry point group dyng.backends and uses it when a CUDA driver and a device are present; otherwise dynG uses its CPU module and says why in dyng.show_config(). dyng.use_cpu_only() (before the first use) or DYNG_CPU_ONLY=1 (or true, yes, on) forces the CPU module.

Documentation: https://github.com/dyng-dev/dyng (installation, troubleshooting, the API). License: Apache-2.0 for dynG's own code; the wheel also contains third-party code (nanobind, robin-map, the GCC runtime, the CUDA runtime and the CUDA C++ Core Libraries) under the licences listed in its licence files (THIRD_PARTY_LICENSES.txt, THIRD_PARTY_LICENSES_CUDA.txt, NVIDIA_CUDA_EULA.txt).

Metadata

Release files for dyng-cu13 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for dyng-cu13 0.2.0
File Interpreter ABI Platform
dyng_cu13-0.2.0-cp312-abi3-manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64 Details

Release files / dyng_cu13-0.2.0-cp312-abi3-manylinux_2_28_x86_64.whl

Download URL dyng_cu13-0.2.0-cp312-abi3-manylinux_2_28_x86_64.whl
Size 5.8 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
8d898e70f096363c675e7d4df38f5cd1860957e87947304168d10f24a48f85d6
BLAKE2b-256 checksum
How to use checksums
a775ce515d1b316a05be6d06dcb522a8c103a045256be7a2a61a88d6793c4bd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page