Universal Hardware-Aware Compute Runtime — a modular, capability-driven execution stack
Project description
UHCR
A Python framework for hardware-optimized computation with JIT compilation across x86_64
Full documentation{https://vishveshjoshi89.github.io/UHCR-DOCS/}
Install
pip install uhcr
Quick Example
import uhcr
@uhcr.jit(eager=True)
def compute(a, b):
return (a + b) * 2
Features
- JIT Compilation - Traces Python functions and compiles to native machine code
- CUDA Backend - GPU acceleration via PTX JIT for NVIDIA hardware
- Optimization Pipeline - Constant folding, dead code elimination, strength reduction, CSE
- Hardware Detection - Automatic CPUID, GPU probe, and NUMA topology discovery
- Storage Optimization - High-performance memory pooling and hierarchical caching
- Plugin System - Extend with custom backends, kernels, and passes via TOML manifests
- Tensor API - High-level tensor operations dispatched to the optimal backend
- Built-in Benchmarks - Performance measurement suite for comparing execution paths
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
uhcr-5.0.0.tar.gz
(137.0 kB
view details)
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
uhcr-5.0.0-py3-none-any.whl
(141.3 kB
view details)
File details
Details for the file uhcr-5.0.0.tar.gz.
File metadata
- Download URL: uhcr-5.0.0.tar.gz
- Upload date:
- Size: 137.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
952f341e556b5fd74c94b9ca52e3c5016b620a17a905dfc45ea0a5237ca638a1
|
|
| MD5 |
547b20427f39c427dd95a487edb5c7d9
|
|
| BLAKE2b-256 |
32fb78afe656f69b3bb50f9a5c0874c85469e7102454639ea1b54566921ad2c6
|
File details
Details for the file uhcr-5.0.0-py3-none-any.whl.
File metadata
- Download URL: uhcr-5.0.0-py3-none-any.whl
- Upload date:
- Size: 141.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a536e6e248e10b50ae4dbf33d7423f1075478e76eccdb4a37e352bf856c89179
|
|
| MD5 |
184907f53ce2a114d8a8bcdc4a3cd410
|
|
| BLAKE2b-256 |
29325f346a6581ce7e72469acd2c36ce593a36321c7b885f6f32016f670c46a9
|