Overview
`ml_frame` is a compact, dependency-free ML runtime built for correctness, reproducibility, and edge-oriented performance. The kind of framework you build to understand every byte and cycle.
Highlights
- Arena-based memory with checkpoint/restore semantics and O(1) reset. No per-op heap churn, fully deterministic allocation.
- Reverse-mode autograd over a topologically sorted graph with operator-level gradient callbacks (add, mul, matmul, relu, sigmoid, softmax, MSE, cross-entropy).
- Runtime-dispatched GEMM across SCALAR, AVX2/FMA, ARM NEON, and optional CBLAS backends, with cache-blocked and packed-panel strategies plus optional OpenMP.
- Full INT8 quantization surface: per-tensor and per-channel parameters, activation calibration, and integer `INT8 × INT8 → INT32 → INT8` requantization.
- Versioned, checksummed weight I/O with strict metadata and integrity validation.
Backed by an extensive suite of validation, stability, fuzz/property, and benchmark tests.
More work
View allML/AI2025
DermAI Pakistan
On-device dermatology decision support for low-resource clinics. A quantized deep learning classifier that runs entirely on the phone.
View case study
Web/SaaS2024
Clinic Appointment Booking
An embeddable AI assistant that answers patient questions and books appointments from any clinic website. Inventix's flagship product.
View case study