Oven Compiler
Python-to-PTX GPU compiler using MLIR.
Installation
pip install oven-compiler
Quick Start
Command Line
# Compile Python to PTX
oven-compiler --python kernel.py -o output.ptx
Python API
import oven_compiler
python_code = "def add(a, b): return a + b"
ptx_code = oven_compiler.compile_python_string_to_ptx(python_code)
Requirements
- Python ≥ 3.12
- CUDA-capable GPU (for execution)
License
MIT License
Metadata
Release files for oven-compiler 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oven_compiler-0.1.7-cp312-cp312-manylinux2014_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.17+ x86-64 | Details |
Release files / oven_compiler-0.1.7-cp312-cp312-manylinux2014_x86_64.whl
| Download URL | oven_compiler-0.1.7-cp312-cp312-manylinux2014_x86_64.whl |
|---|---|
| Size | 58.0 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
402266db7da9ac3b39902ae547598efaf032c35627853cffccb8f5e4b18316d5
|
|
BLAKE2b-256 checksum How to use checksums |
9923e98fd5e1bda4806d4b25c180439474f7ef8b56f539a180a5ff23796505ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|