<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <id>https://aliahadmd.github.io/</id>
    <title>MD Ahad Ali — Thoughts</title>
    <updated>2026-11-20T00:00:00.000Z</updated>
    <generator>https://github.com/jpmonette/feed</generator>
    <author>
        <name>MD Ahad Ali</name>
        <email>ali@aliahad.com</email>
        <uri>https://aliahadmd.github.io/me/</uri>
    </author>
    <link rel="alternate" href="https://aliahadmd.github.io/"/>
    <link rel="self" href="https://aliahadmd.github.io/atom.xml"/>
    <subtitle>Independent AI research notes, technical blueprints, systems benchmarks, and open-source software by MD Ahad Ali.</subtitle>
    <icon>https://aliahadmd.github.io/favicon.svg</icon>
    <rights>All rights reserved 2026, MD Ahad Ali</rights>
    <entry>
        <title type="html"><![CDATA[Sub-4-Bit KV-Cache Quantization on Mobile Silicon]]></title>
        <id>https://aliahadmd.github.io/thoughts/2026-11-kv-cache-quantization-on-edge/</id>
        <link href="https://aliahadmd.github.io/thoughts/2026-11-kv-cache-quantization-on-edge/"/>
        <link rel="enclosure" href="https://aliahadmd.github.io/og/thought-2026-11-kv-cache-quantization-on-edge.png" type="image/png"/>
        <updated>2026-11-20T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[Analyzing asymmetric group quantization and attention-sink preservation when running 4B-class transformers locally on smartphone memory budgets.]]></summary>
        <content type="html"><![CDATA[<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>]]></content>
        <author>
            <name>MD Ahad Ali</name>
            <email>ali@aliahad.com</email>
            <uri>https://aliahadmd.github.io/me/</uri>
        </author>
        <category label="LLM-Systems"/>
        <category label="Quantization"/>
        <category label="On-Device-AI"/>
        <category label="Mobile"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[Why Deterministic CPU Reference Renderers Still Matter in GPU Pipelines]]></title>
        <id>https://aliahadmd.github.io/thoughts/2026-10-deterministic-image-pipelines/</id>
        <link href="https://aliahadmd.github.io/thoughts/2026-10-deterministic-image-pipelines/"/>
        <link rel="enclosure" href="https://aliahadmd.github.io/og/thought-2026-10-deterministic-image-pipelines.png" type="image/png"/>
        <updated>2026-10-14T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[Notes from building real-time AGSL and WebGL2 imaging engines where visual parity across mobile drivers depends on a bit-verifiable CPU oracle.]]></summary>
        <content type="html"><![CDATA[<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>]]></content>
        <author>
            <name>MD Ahad Ali</name>
            <email>ali@aliahad.com</email>
            <uri>https://aliahadmd.github.io/me/</uri>
        </author>
        <category label="Graphics"/>
        <category label="Mobile"/>
        <category label="Testing"/>
        <category label="Shaders"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[A Working Blueprint for Independent AI Research]]></title>
        <id>https://aliahadmd.github.io/thoughts/2026-09-research-blueprint-notes/</id>
        <link href="https://aliahadmd.github.io/thoughts/2026-09-research-blueprint-notes/"/>
        <link rel="enclosure" href="https://aliahadmd.github.io/og/thought-2026-09-research-blueprint-notes.png" type="image/png"/>
        <updated>2026-09-08T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[How I choose problems without a massive cluster: constraints as a research lens, reproducible artifacts over hype, and writing in public.]]></summary>
        <content type="html"><![CDATA[<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>]]></content>
        <author>
            <name>MD Ahad Ali</name>
            <email>ali@aliahad.com</email>
            <uri>https://aliahadmd.github.io/me/</uri>
        </author>
        <category label="Research"/>
        <category label="Methodology"/>
        <category label="Career"/>
    </entry>
</feed>