Hyperfold CUDA
Hyperfold provides numerical linear algebra for Python with CPU and CUDA 13 backends. Multiply matrices, solve linear systems, compute eigenvalues, and reuse LU factorisations with NumPy arrays, CuPy arrays, or PyTorch CUDA tensors.
Installation
Requires Python 3.11 or newer, Linux x86_64, and a compatible NVIDIA driver.
python -m pip install hyperfold-cuda
The package installs its CUDA runtime dependencies. CuPy and PyTorch are optional
and installed separately. For CPU-only use, install hyperfold instead; the two
packages share the hyperfold import name and must not be installed together.
Quickstart
With CuPy installed:
import cupy as cp
import hyperfold as hf
a = cp.array([[4, 1], [1, 3]], dtype=cp.float64)
b = cp.array([1, 2], dtype=cp.float64)
product = hf.matmul(a, a)
solution = hf.solve(a, b)
eigenvalues, eigenvectors = hf.eigh(a)
Results remain on the GPU as CuPy arrays. The same functions accept NumPy arrays for CPU execution.
See the documentation for the Python API, supported dtypes, and CUDA interoperability.
Metadata
Release files for hyperfold-cuda 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| hyperfold_cuda-0.1.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 | Details |
| hyperfold_cuda-0.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 | Details |
| hyperfold_cuda-0.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 | Details |
| hyperfold_cuda-0.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 | Details |
Total release size: 29.0 MB
Release files / hyperfold_cuda-0.1.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | hyperfold_cuda-0.1.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 7.3 MB |
| Tags | CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
1c986178b60920fdcf0ab7d777e6e1c12af26f23ab53e0369d1768bbad300655
|
|
BLAKE2b-256 checksum How to use checksums |
cb2873ba8035b08ecf4f81575dfe4769f222b16a16046ae78c431ab3cfc8f52b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / hyperfold_cuda-0.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | hyperfold_cuda-0.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 7.3 MB |
| Tags | CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
aaea67b74488f14a5d95b7a8a297f3c2843563f81e226de37cce846306e3dd5a
|
|
BLAKE2b-256 checksum How to use checksums |
b3a4ad7e123a131c17c37d2e17a19b3d35c6d40153525af314aefe04adb211ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / hyperfold_cuda-0.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | hyperfold_cuda-0.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 7.3 MB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
18d9cd20a985c3f29686e863dc074df630f68cf6eb90141613f30ba96ce376f7
|
|
BLAKE2b-256 checksum How to use checksums |
8f16762e52767aadc43f4cd6eaa44e7bbf4e900ade75de15b56e523f8f9f3fab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / hyperfold_cuda-0.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | hyperfold_cuda-0.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 7.3 MB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
d08d679435b8a9c653382c1d7e8f4d24dd6d15dda6f528d19633ff796c48e9a1
|
|
BLAKE2b-256 checksum How to use checksums |
345bec21185ccf50e9220a605805180d27e09a9d05417afe85168d0cb239d68d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|