Skip to main content

jaxkd-cuda

This package contains CUDA extensions for JAX k-D. It requires JAX, CMake, and a CUDA compiler (nvcc) to build. It is intended to be installed as an optional dependency to JAX k-D and used as an add-on like so:

python -m pip install jaxkd[cuda]

Note that the cudaKDTree library is more powerful and flexible, and can be bound to JAX using the foreign function interface. See the sample bindings in jaxkd_cuda/cukd for a rough example of how to do this. JaxKDTree also has an example, though it is no longer working with the current JAX API.

This extension uses a slightly different tree-building method to exactly match the behavior of the pure-JAX version. It only permutes an index array and chooses the dimension with the widest spread of points (not largest bounding box) to split. Currently the performance bottleneck is actually the reduce operations needed to compute this. There is also a substantial memory overhead (a few times the number of points), which can probably be reduced in the future. The neighbor query algorithm follows [2] and the neighbor counting is a trivial modification.

Metadata

Release files for jaxkd-cuda 0.0.0

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

Source distribution (sdist)

Source distribution for jaxkd-cuda 0.0.0
File Size Uploaded Provenance Actions
jaxkd_cuda-0.0.0.tar.gz 131.2 kB With provenance Details for jaxkd_cuda-0.0.0.tar.gz

Release files / jaxkd_cuda-0.0.0.tar.gz

Download URL jaxkd_cuda-0.0.0.tar.gz
Size 131.2 kB
Tags Source
SHA-256 checksum
How to use checksums
86cb49923df389793a4a917c6caa15821d6a3c41eac753dd87ca0793b85fe645
BLAKE2b-256 checksum
How to use checksums
e09fafaec109be9ff0d247ba19eebe220464454815e339ca9a85229e6d298ff3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Jun 18, 2025.

Transparency log

Security for jaxkd-cuda 0.0.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

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

Attestation for jaxkd_cuda-0.0.0.tar.gz

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 Jun 18, 2025.

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.

Release history Release notifications | RSS feed

This release

0.0.0 This release

1 release file Full provenance

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