Skip to main content

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

Python 3.10+ License: Apache-2.0 Docs: GitHub Pages

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

Apache-2.0

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uhcr-5.0.0-py3-none-any.whl (141.3 kB view details)

Uploaded Python 3

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

Hashes for uhcr-5.0.0.tar.gz
Algorithm Hash digest
SHA256 952f341e556b5fd74c94b9ca52e3c5016b620a17a905dfc45ea0a5237ca638a1
MD5 547b20427f39c427dd95a487edb5c7d9
BLAKE2b-256 32fb78afe656f69b3bb50f9a5c0874c85469e7102454639ea1b54566921ad2c6

See more details on using hashes here.

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

Hashes for uhcr-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a536e6e248e10b50ae4dbf33d7423f1075478e76eccdb4a37e352bf856c89179
MD5 184907f53ce2a114d8a8bcdc4a3cd410
BLAKE2b-256 29325f346a6581ce7e72469acd2c36ce593a36321c7b885f6f32016f670c46a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page