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 and hypergraph algorithms (shortest paths, multi-objective shortest paths, cycle counts, from 0.3 the triad counts of a hypergraph, dyng.Hypergraph and dyng.triad_count, and from 0.4 label propagation under vertex batches, dyng.label_propagation, and shortest hyperpaths, dyng.hyper_sssp) up to date while the graph or hypergraph changes in batches of edge or hyperedge insertions and deletions (from 0.4 also vertex arrivals and departures, and incidence edits of a hyperedge's members). 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.4.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.4.0
File Interpreter ABI Platform Actions
dyng_cu13-0.4.0-cp312-abi3-manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64 Details for dyng_cu13-0.4.0-cp312-abi3-manylinux_2_28_x86_64.whl

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

Download URL dyng_cu13-0.4.0-cp312-abi3-manylinux_2_28_x86_64.whl
Size 14.8 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
5e3f91a4d17f1bb7f20405d75eea5a6a5c4314ad1233745d7f90dac637820c05
BLAKE2b-256 checksum
How to use checksums
eb69eae8f460e50c47eebd2e77eccb20694564536a9b13006b60fb86bff8f66b
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 Nov 29, 2026.

Transparency log

Security for dyng-cu13 0.4.0

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.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for dyng_cu13-0.4.0-cp312-abi3-manylinux_2_28_x86_64.whl

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 Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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