Skip to main content

OA — Vulkan GPU compute & ML foundation library (SUPER EXPERIMENTAL Python bindings)

Project description

oapython — OA Python bindings (super experimental)

oapython exposes OA, a Vulkan 1.4 GPU compute & ML engine, to Python via nanobind. You install oapython; you import it as oa.

⚠️ Super-experimental tech preview. The API, kernels, and formats change without notice. This is not a stable or supported API — expect breakage. The C++ library is the primary surface; these bindings are an early look.

Install

pip install oapython        # then: import oa

Requirements: Linux x86-64, CPython 3.12, glibc ≥ 2.39, and a Vulkan 1.1+ driver on the machine. The wheel loads Vulkan dynamically at runtime — no loader is bundled, so the target needs a working Vulkan ICD (NVIDIA, AMD/RADV, or Intel/ANV).

What you get

The bindings call the same compute kernels as the native engine, so the Python API adds no measurable overhead (nanobind is ~100 ns/call — negligible against GPU-op latency). On identical byte-level NLP models, the Python training loop runs at C++ throughput.

End-to-end examples (MNIST classifier, byte-level RNN/GRU/Transformer/Mamba training) live under Tutorial/Py/ in the repository.

Links

License

Business Source License 1.1 — source-available; each version converts to Apache-2.0 four years after release. © 2025–2026 Lukasz Biernat (trading as Realm).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oapython-0.7.2-cp312-cp312-manylinux_2_39_x86_64.whl (10.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

File details

Details for the file oapython-0.7.2-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for oapython-0.7.2-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 43dda1985c52eeba8b5822673698297809622cc8cccadabcfaef36dcaa83b536
MD5 fa6e574222ea0be5c09bb8119df8ac99
BLAKE2b-256 d27dd0abdbdb62553bb636cb5b5a4bd0c2cfa0186ac99ee90adb45af13ecb970

See more details on using hashes here.

Provenance

The following attestation bundles were made for oapython-0.7.2-cp312-cp312-manylinux_2_39_x86_64.whl:

Publisher: ci.yml on realminc/oa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page