qpel
qpel is a small portable kernel language between CUDA and Apple Metal: CUDA or Metal kernels import to qpel, and qpel builds both CUDA and Metal again, with documented numerics.
pip install qpel # the compiler: standard library only
pip install "qpel[mps]" # PyTorch and NumPy, to run the generated Metal hosts on Apple GPUs
qpel build program.qpel --out build/
qpel translate kernels.cu --out translated/ # needs clang on the PATH
qpel torch-op translated/ --launches extension_api.cu
pip install "qpel[verify]" # NumPy, for checking ports
qpel verify original.cu port.metal # a port against its original, on the same cases
qpel mcp # verify and translate as MCP tools for AI agents
Importing CUDA needs clang (Xcode's or LLVM's); importing Metal needs Xcode's Metal toolchain. Source, documentation and changelog: https://github.com/shatalov-alex/qpel. This is a development release. The name qpel is a trademark (TRADEMARKS.md); the code is Apache-2.0.
Metadata
Release files for qpel 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qpel-0.7.0.tar.gz | 318.5 kB | Without provenance | Details for qpel-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qpel-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for qpel-0.7.0-py3-none-any.whl |
Total release size: 682.4 kB
Release files / qpel-0.7.0.tar.gz
| Download URL | qpel-0.7.0.tar.gz |
|---|---|
| Size | 318.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8bf4998b972e2ca6e5929308af102e429ff6a09bdaea75eb68f196a4e7802b3f
|
|
BLAKE2b-256 checksum How to use checksums |
2dc7464c5e4a7e6e9168142783794f8f1d168934b18691295d094458ba62ab3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / qpel-0.7.0-py3-none-any.whl
| Download URL | qpel-0.7.0-py3-none-any.whl |
|---|---|
| Size | 363.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
328a5c8a16278b276054a83ff9b9116c8908f1d7dae30b6f06dd2ea89919e44a
|
|
BLAKE2b-256 checksum How to use checksums |
8f1ad9178ef8119dc030bffb49c090e3a57582bf377e930ad2683c14c50f8c59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for qpel 0.7.0
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.