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, and from 0.3 the triad counts of a hypergraph, dyng.Hypergraph and dyng.triad_count) up to date while the graph or hypergraph changes in batches of edge or hyperedge 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.3.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.3.0
File Interpreter ABI Platform Actions
dyng_cu13-0.3.0-cp312-abi3-manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64 Details for dyng_cu13-0.3.0-cp312-abi3-manylinux_2_28_x86_64.whl

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

Download URL dyng_cu13-0.3.0-cp312-abi3-manylinux_2_28_x86_64.whl
Size 8.7 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
c792d61e547c04315c7e9668beea9cf9ebe59269aabf9f24aa9681985a09e837
BLAKE2b-256 checksum
How to use checksums
5327023b5cdb0bc7e7c8a8c5f91649d115384044b5a02a079c08953790f4e4d4
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 29, 2026.

Transparency log

Security for dyng-cu13 0.3.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.3.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 Oct 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