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
- Source & docs: https://github.com/realminc/oa
- Guides: https://dev.realm.software
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oapython-0.7.2-cp312-cp312-manylinux_2_39_x86_64.whl.
File metadata
- Download URL: oapython-0.7.2-cp312-cp312-manylinux_2_39_x86_64.whl
- Upload date:
- Size: 10.3 MB
- Tags: CPython 3.12, manylinux: glibc 2.39+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43dda1985c52eeba8b5822673698297809622cc8cccadabcfaef36dcaa83b536
|
|
| MD5 |
fa6e574222ea0be5c09bb8119df8ac99
|
|
| BLAKE2b-256 |
d27dd0abdbdb62553bb636cb5b5a4bd0c2cfa0186ac99ee90adb45af13ecb970
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oapython-0.7.2-cp312-cp312-manylinux_2_39_x86_64.whl -
Subject digest:
43dda1985c52eeba8b5822673698297809622cc8cccadabcfaef36dcaa83b536 - Sigstore transparency entry: 2138605795
- Sigstore integration time:
-
Permalink:
realminc/oa@d82c6c13afed1ded985ca950ac8a38c810191408 -
Branch / Tag:
refs/tags/v0.7.2 - Owner: https://github.com/realminc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@d82c6c13afed1ded985ca950ac8a38c810191408 -
Trigger Event:
push
-
Statement type: