Skip to main content

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)

Table of built distributions (wheels) for oven-compiler 0.1.7
File Interpreter ABI Platform Actions
oven_compiler-0.1.7-cp312-cp312-manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for oven_compiler-0.1.7-cp312-cp312-manylinux2014_x86_64.whl

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

Security for oven-compiler 0.1.7

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.1.7 This release

1 release file No 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