{
    "version": "https://jsonfeed.org/version/1",
    "title": "MD Ahad Ali — Thoughts",
    "home_page_url": "https://aliahadmd.github.io/",
    "feed_url": "https://aliahadmd.github.io/feed.json",
    "description": "Independent AI research notes, technical blueprints, systems benchmarks, and open-source software by MD Ahad Ali.",
    "author": {
        "name": "MD Ahad Ali",
        "url": "https://aliahadmd.github.io/me/"
    },
    "items": [
        {
            "id": "https://aliahadmd.github.io/thoughts/2026-11-kv-cache-quantization-on-edge/",
            "content_html": "<p>Analyzing asymmetric group quantization and attention-sink preservation when running 4B-class transformers locally on smartphone memory budgets.</p><p>Running a 4-billion-parameter language model entirely inside a mobile device&apos;s unified memory shifts the primary bottleneck from weight storage to key–value (KV) cache bandwidth during long-context autoregressive decoding. While 4-bit weight quantization ( Q4_K_M or INT4 group-wise) reduces parameter memory to roughly 2.3 GB, an unquantized FP16 KV cache at 32k context length can quietly exceed the memory footprint of the model weights themselves. This note formalizes the qua...</p><p><a href=\"https://aliahadmd.github.io/thoughts/2026-11-kv-cache-quantization-on-edge/\">Read full thought with math, code, and interactive diagrams →</a></p>",
            "url": "https://aliahadmd.github.io/thoughts/2026-11-kv-cache-quantization-on-edge/",
            "title": "Sub-4-Bit KV-Cache Quantization on Mobile Silicon",
            "summary": "Analyzing asymmetric group quantization and attention-sink preservation when running 4B-class transformers locally on smartphone memory budgets.",
            "image": "https://aliahadmd.github.io/og/thought-2026-11-kv-cache-quantization-on-edge.png",
            "date_modified": "2026-11-20T00:00:00.000Z",
            "author": {
                "name": "MD Ahad Ali",
                "url": "https://aliahadmd.github.io/me/"
            },
            "tags": [
                "LLM-Systems",
                "Quantization",
                "On-Device-AI",
                "Mobile"
            ]
        },
        {
            "id": "https://aliahadmd.github.io/thoughts/2026-10-deterministic-image-pipelines/",
            "content_html": "<p>Notes from building real-time AGSL and WebGL2 imaging engines where visual parity across mobile drivers depends on a bit-verifiable CPU oracle.</p><p>When shipping real-time image shaders—whether AGSL on Android or WebGL2 in the browser—the fastest way to accumulate subtle visual regressions is to trust driver-specific GPU math as your sole source of truth. Different mobile GPUs vary in half-precision ( mediump ) rounding, sRGB texture sampling, and edge clamping. While building LiEffects and editorium, pairing every live GPU shader graph with a deterministic CPU reference renderer turned out to be the highest-leverage eng...</p><p><a href=\"https://aliahadmd.github.io/thoughts/2026-10-deterministic-image-pipelines/\">Read full thought with math, code, and interactive diagrams →</a></p>",
            "url": "https://aliahadmd.github.io/thoughts/2026-10-deterministic-image-pipelines/",
            "title": "Why Deterministic CPU Reference Renderers Still Matter in GPU Pipelines",
            "summary": "Notes from building real-time AGSL and WebGL2 imaging engines where visual parity across mobile drivers depends on a bit-verifiable CPU oracle.",
            "image": "https://aliahadmd.github.io/og/thought-2026-10-deterministic-image-pipelines.png",
            "date_modified": "2026-10-14T00:00:00.000Z",
            "author": {
                "name": "MD Ahad Ali",
                "url": "https://aliahadmd.github.io/me/"
            },
            "tags": [
                "Graphics",
                "Mobile",
                "Testing",
                "Shaders"
            ]
        },
        {
            "id": "https://aliahadmd.github.io/thoughts/2026-09-research-blueprint-notes/",
            "content_html": "<p>How I choose problems without a massive cluster: constraints as a research lens, reproducible artifacts over hype, and writing in public.</p><p>Independent AI research can easily drift in one of two unproductive directions: either chasing frontier pre-training curves that require thousands of GPUs, or building thin wrapper demos without measuring why something works. This site exists as a public blueprint for a third path— constraint-driven systems and applied ML research where every thought is backed by equations, clean code, and reproducible hardware numbers. Three Principles I Work By 1. Treat edge constraints as ...</p><p><a href=\"https://aliahadmd.github.io/thoughts/2026-09-research-blueprint-notes/\">Read full thought with math, code, and interactive diagrams →</a></p>",
            "url": "https://aliahadmd.github.io/thoughts/2026-09-research-blueprint-notes/",
            "title": "A Working Blueprint for Independent AI Research",
            "summary": "How I choose problems without a massive cluster: constraints as a research lens, reproducible artifacts over hype, and writing in public.",
            "image": "https://aliahadmd.github.io/og/thought-2026-09-research-blueprint-notes.png",
            "date_modified": "2026-09-08T00:00:00.000Z",
            "author": {
                "name": "MD Ahad Ali",
                "url": "https://aliahadmd.github.io/me/"
            },
            "tags": [
                "Research",
                "Methodology",
                "Career"
            ]
        }
    ]
}