{
  "name": "Model2Metal",
  "version": "0.1.0",
  "operating_model": "Community Submission + Pomavia Lab Bare-Metal Verification",
  "verification_lab": {
    "name": "Pomavia Lab",
    "url": "https://pomavia.com",
    "ledger_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/CONTRIBUTORS.md"
  },
  "generated_at": "2026-12-06T16:55:19Z",
  "github_url": "https://github.com/Pomavia-Lab/Model2Metal",
  "website_url": "https://model2metal.dev",
  "wired_table_mb": {
    "16": {
      "limit_mb": 12288,
      "lwm_mb": 10240
    },
    "24": {
      "limit_mb": 20480,
      "lwm_mb": 18432
    },
    "32": {
      "limit_mb": 27648,
      "lwm_mb": 25600
    },
    "36": {
      "limit_mb": 30720,
      "lwm_mb": 28672
    },
    "48": {
      "limit_mb": 41984,
      "lwm_mb": 38912
    },
    "64": {
      "limit_mb": 57344,
      "lwm_mb": 53248
    },
    "96": {
      "limit_mb": 88064,
      "lwm_mb": 83968
    },
    "128": {
      "limit_mb": 118784,
      "lwm_mb": 114688
    },
    "192": {
      "limit_mb": 182272,
      "lwm_mb": 176128
    },
    "256": {
      "limit_mb": 249036,
      "lwm_mb": 240844
    },
    "512": {
      "limit_mb": 501760,
      "lwm_mb": 491520
    }
  },
  "chip_families": [
    {
      "id": "m5-ultra",
      "label": "M5 Ultra",
      "sub": "64c / 80c GPU · 1.2 TB/s",
      "verified": true
    },
    {
      "id": "m3-ultra",
      "label": "M3 Ultra",
      "sub": "60c / 80c GPU · 819 GB/s",
      "verified": false
    },
    {
      "id": "m2-ultra",
      "label": "M2 Ultra",
      "sub": "60c / 76c GPU · 800 GB/s",
      "verified": false
    },
    {
      "id": "m5-max",
      "label": "M5 Max",
      "sub": "32c / 40c GPU · 460–614 GB/s",
      "verified": false
    },
    {
      "id": "m4-max",
      "label": "M4 Max",
      "sub": "32c / 40c GPU · 410–546 GB/s",
      "verified": false
    },
    {
      "id": "m5-pro",
      "label": "M5 Pro",
      "sub": "16c / 20c GPU · 307 GB/s",
      "verified": false
    },
    {
      "id": "m4-pro",
      "label": "M4 Pro",
      "sub": "16c / 20c GPU · 273 GB/s",
      "verified": false
    },
    {
      "id": "m6",
      "label": "M6",
      "sub": "10c / 12c GPU · 153–170 GB/s",
      "verified": false
    },
    {
      "id": "m5",
      "label": "M5",
      "sub": "8c / 10c GPU · 153 GB/s",
      "verified": false
    },
    {
      "id": "m4",
      "label": "M4",
      "sub": "8c / 10c GPU · 120 GB/s",
      "verified": false
    }
  ],
  "chip_specs": [
    {
      "chip_id": "m5-ultra",
      "label": "M5 Ultra",
      "variants": [
        {
          "id": "m5u-80c",
          "label": "36c CPU / 80c GPU (Full)",
          "short": "M5 Ultra 80c",
          "devices": [
            "Mac Studio (M5 Ultra)"
          ],
          "desktop_devices": [
            "Mac Studio (M5 Ultra)"
          ],
          "laptop_devices": [],
          "seo_slug": "mac-studio-m5-ultra-256gb",
          "bw_gbs": 1228,
          "tdp_w": 185,
          "valid_rams": [
            96,
            256,
            512
          ],
          "default_ram": 256,
          "verified_rams": [
            256
          ],
          "usd_by_ram": {
            "96": 4999,
            "256": 6499,
            "512": 9499
          },
          "desktop_usd_by_ram": {
            "96": 4999,
            "256": 6499,
            "512": 9499
          },
          "laptop_usd_by_ram": {},
          "tg_scale": 1.0,
          "compute_scale": 1.0
        },
        {
          "id": "m5u-64c",
          "label": "30c CPU / 64c GPU (Binned)",
          "short": "M5 Ultra 64c",
          "devices": [
            "Mac Studio (M5 Ultra)"
          ],
          "desktop_devices": [
            "Mac Studio (M5 Ultra)"
          ],
          "laptop_devices": [],
          "seo_slug": "mac-studio-m5-ultra-256gb",
          "bw_gbs": 1228,
          "tdp_w": 170,
          "valid_rams": [
            96,
            256
          ],
          "default_ram": 256,
          "verified_rams": [],
          "usd_by_ram": {
            "96": 3999,
            "256": 5599
          },
          "desktop_usd_by_ram": {
            "96": 3999,
            "256": 5599
          },
          "laptop_usd_by_ram": {},
          "tg_scale": 0.97,
          "compute_scale": 0.8
        }
      ]
    },
    {
      "chip_id": "m3-ultra",
      "label": "M3 Ultra",
      "variants": [
        {
          "id": "m3u-80c",
          "label": "32c CPU / 80c GPU (Full)",
          "short": "M3 Ultra 80c",
          "devices": [
            "Mac Studio (M3 Ultra)"
          ],
          "desktop_devices": [
            "Mac Studio (M3 Ultra)"
          ],
          "laptop_devices": [],
          "seo_slug": "mac-studio-m3-ultra-256gb",
          "bw_gbs": 819,
          "tdp_w": 170,
          "valid_rams": [
            96,
            256,
            512
          ],
          "default_ram": 256,
          "verified_rams": [],
          "usd_by_ram": {
            "96": 5499,
            "256": 6499,
            "512": 9499
          },
          "desktop_usd_by_ram": {
            "96": 5499,
            "256": 6499,
            "512": 9499
          },
          "laptop_usd_by_ram": {},
          "tg_scale": 0.68,
          "compute_scale": 0.33
        },
        {
          "id": "m3u-60c",
          "label": "28c CPU / 60c GPU (Binned)",
          "short": "M3 Ultra 60c",
          "devices": [
            "Mac Studio (M3 Ultra)"
          ],
          "desktop_devices": [
            "Mac Studio (M3 Ultra)"
          ],
          "laptop_devices": [],
          "seo_slug": "mac-studio-m3-ultra-256gb",
          "bw_gbs": 819,
          "tdp_w": 155,
          "valid_rams": [
            96,
            256
          ],
          "default_ram": 256,
          "verified_rams": [],
          "usd_by_ram": {
            "96": 3999,
            "256": 5599
          },
          "desktop_usd_by_ram": {
            "96": 3999,
            "256": 5599
          },
          "laptop_usd_by_ram": {},
          "tg_scale": 0.66,
          "compute_scale": 0.25
        }
      ]
    },
    {
      "chip_id": "m2-ultra",
      "label": "M2 Ultra",
      "variants": [
        {
          "id": "m2u-76c",
          "label": "24c CPU / 76c GPU (Full)",
          "short": "M2 Ultra 76c",
          "devices": [
            "Mac Studio (M2 Ultra)",
            "Mac Pro (M2 Ultra)"
          ],
          "desktop_devices": [
            "Mac Studio (M2 Ultra)",
            "Mac Pro (M2 Ultra)"
          ],
          "laptop_devices": [],
          "seo_slug": "mac-studio-m2-ultra-192gb",
          "bw_gbs": 800,
          "tdp_w": 155,
          "valid_rams": [
            64,
            128,
            192
          ],
          "default_ram": 192,
          "verified_rams": [],
          "usd_by_ram": {
            "64": 3699,
            "128": 4299,
            "192": 4799
          },
          "desktop_usd_by_ram": {
            "64": 3699,
            "128": 4299,
            "192": 4799
          },
          "laptop_usd_by_ram": {},
          "tg_scale": 0.64,
          "compute_scale": 0.24
        },
        {
          "id": "m2u-60c",
          "label": "24c CPU / 60c GPU (Binned)",
          "short": "M2 Ultra 60c",
          "devices": [
            "Mac Studio (M2 Ultra)",
            "Mac Pro (M2 Ultra)"
          ],
          "desktop_devices": [
            "Mac Studio (M2 Ultra)",
            "Mac Pro (M2 Ultra)"
          ],
          "laptop_devices": [],
          "seo_slug": "mac-studio-m2-ultra-192gb",
          "bw_gbs": 800,
          "tdp_w": 145,
          "valid_rams": [
            64,
            128,
            192
          ],
          "default_ram": 192,
          "verified_rams": [],
          "usd_by_ram": {
            "64": 3199,
            "128": 3799,
            "192": 4299
          },
          "desktop_usd_by_ram": {
            "64": 3199,
            "128": 3799,
            "192": 4299
          },
          "laptop_usd_by_ram": {},
          "tg_scale": 0.62,
          "compute_scale": 0.19
        }
      ]
    },
    {
      "chip_id": "m5-max",
      "label": "M5 Max",
      "variants": [
        {
          "id": "m5max-40c",
          "label": "18c CPU / 40c GPU (Full · 614 GB/s)",
          "short": "M5 Max 40c",
          "devices": [
            "Mac Studio (M5 Max)",
            "MacBook Pro 14″ / 16″ (M5 Max)"
          ],
          "desktop_devices": [
            "Mac Studio (M5 Max)"
          ],
          "laptop_devices": [
            "MacBook Pro 14″ / 16″ (M5 Max)"
          ],
          "seo_slug": "mac-studio-m5-max-128gb",
          "bw_gbs": 614,
          "tdp_w": 120,
          "valid_rams": [
            48,
            64,
            128
          ],
          "default_ram": 128,
          "verified_rams": [],
          "usd_by_ram": {
            "48": 2499,
            "64": 2699,
            "128": 3699
          },
          "desktop_usd_by_ram": {
            "48": 2499,
            "64": 2699,
            "128": 3699
          },
          "laptop_usd_by_ram": {
            "48": 3499,
            "64": 3699,
            "128": 4499
          },
          "tg_scale": 0.52,
          "compute_scale": 0.5
        },
        {
          "id": "m5max-32c",
          "label": "18c CPU / 32c GPU (Binned · 460 GB/s)",
          "short": "M5 Max 32c",
          "devices": [
            "Mac Studio (M5 Max Base)",
            "MacBook Pro 14″ / 16″ (M5 Max)"
          ],
          "desktop_devices": [
            "Mac Studio (M5 Max Base)"
          ],
          "laptop_devices": [
            "MacBook Pro 14″ / 16″ (M5 Max)"
          ],
          "seo_slug": "mac-studio-m5-max-128gb",
          "bw_gbs": 460,
          "tdp_w": 98,
          "valid_rams": [
            36
          ],
          "default_ram": 36,
          "verified_rams": [],
          "usd_by_ram": {
            "36": 2199
          },
          "desktop_usd_by_ram": {
            "36": 2199
          },
          "laptop_usd_by_ram": {
            "36": 3199
          },
          "tg_scale": 0.39,
          "compute_scale": 0.4
        }
      ]
    },
    {
      "chip_id": "m4-max",
      "label": "M4 Max",
      "variants": [
        {
          "id": "m4max-40c",
          "label": "16c CPU / 40c GPU (Full · 546 GB/s)",
          "short": "M4 Max 40c",
          "devices": [
            "Mac Studio (M4 Max)",
            "MacBook Pro 14″ / 16″ (M4 Max)"
          ],
          "desktop_devices": [
            "Mac Studio (M4 Max)"
          ],
          "laptop_devices": [
            "MacBook Pro 14″ / 16″ (M4 Max)"
          ],
          "seo_slug": "mac-studio-m4-max-128gb",
          "bw_gbs": 546,
          "tdp_w": 115,
          "valid_rams": [
            48,
            64,
            128
          ],
          "default_ram": 128,
          "verified_rams": [],
          "usd_by_ram": {
            "48": 2499,
            "64": 2699,
            "128": 3499
          },
          "desktop_usd_by_ram": {
            "48": 2499,
            "64": 2699,
            "128": 3499
          },
          "laptop_usd_by_ram": {
            "48": 3399,
            "64": 3599,
            "128": 4199
          },
          "tg_scale": 0.46,
          "compute_scale": 0.22
        },
        {
          "id": "m4max-32c",
          "label": "14c CPU / 32c GPU (Binned · 410 GB/s)",
          "short": "M4 Max 32c",
          "devices": [
            "Mac Studio (M4 Max Base)",
            "MacBook Pro 14″ / 16″ (M4 Max)"
          ],
          "desktop_devices": [
            "Mac Studio (M4 Max Base)"
          ],
          "laptop_devices": [
            "MacBook Pro 14″ / 16″ (M4 Max)"
          ],
          "seo_slug": "mac-studio-m4-max-128gb",
          "bw_gbs": 410,
          "tdp_w": 95,
          "valid_rams": [
            36
          ],
          "default_ram": 36,
          "verified_rams": [],
          "usd_by_ram": {
            "36": 1999
          },
          "desktop_usd_by_ram": {
            "36": 1999
          },
          "laptop_usd_by_ram": {
            "36": 2999
          },
          "tg_scale": 0.35,
          "compute_scale": 0.17
        }
      ]
    },
    {
      "chip_id": "m5-pro",
      "label": "M5 Pro",
      "variants": [
        {
          "id": "m5pro-20c",
          "label": "18c CPU / 20c GPU (Full)",
          "short": "M5 Pro 20c",
          "devices": [
            "Mac mini (M5 Pro)",
            "MacBook Pro 14″ / 16″ (M5 Pro)"
          ],
          "desktop_devices": [
            "Mac mini (M5 Pro)"
          ],
          "laptop_devices": [
            "MacBook Pro 14″ / 16″ (M5 Pro)"
          ],
          "seo_slug": "mac-mini-m5-pro-64gb",
          "bw_gbs": 307,
          "tdp_w": 68,
          "valid_rams": [
            24,
            48,
            64
          ],
          "default_ram": 64,
          "verified_rams": [],
          "usd_by_ram": {
            "24": 1599,
            "48": 1999,
            "64": 2199
          },
          "desktop_usd_by_ram": {
            "24": 1599,
            "48": 1999,
            "64": 2199
          },
          "laptop_usd_by_ram": {
            "24": 2199,
            "48": 2599,
            "64": 2799
          },
          "tg_scale": 0.27,
          "compute_scale": 0.25
        },
        {
          "id": "m5pro-16c",
          "label": "15c CPU / 16c GPU (Binned)",
          "short": "M5 Pro 16c",
          "devices": [
            "Mac mini (M5 Pro)",
            "MacBook Pro 14″ (M5 Pro)"
          ],
          "desktop_devices": [
            "Mac mini (M5 Pro)"
          ],
          "laptop_devices": [
            "MacBook Pro 14″ (M5 Pro)"
          ],
          "seo_slug": "mac-mini-m5-pro-64gb",
          "bw_gbs": 307,
          "tdp_w": 60,
          "valid_rams": [
            24,
            48
          ],
          "default_ram": 48,
          "verified_rams": [],
          "usd_by_ram": {
            "24": 1399,
            "48": 1799
          },
          "desktop_usd_by_ram": {
            "24": 1399,
            "48": 1799
          },
          "laptop_usd_by_ram": {
            "24": 1999,
            "48": 2399
          },
          "tg_scale": 0.26,
          "compute_scale": 0.2
        }
      ]
    },
    {
      "chip_id": "m4-pro",
      "label": "M4 Pro",
      "variants": [
        {
          "id": "m4pro-20c",
          "label": "14c CPU / 20c GPU (Full)",
          "short": "M4 Pro 20c",
          "devices": [
            "Mac mini (M4 Pro)",
            "MacBook Pro 14″ / 16″ (M4 Pro)"
          ],
          "desktop_devices": [
            "Mac mini (M4 Pro)"
          ],
          "laptop_devices": [
            "MacBook Pro 14″ / 16″ (M4 Pro)"
          ],
          "seo_slug": "mac-mini-m4-pro-64gb",
          "bw_gbs": 273,
          "tdp_w": 65,
          "valid_rams": [
            24,
            48,
            64
          ],
          "default_ram": 64,
          "verified_rams": [],
          "usd_by_ram": {
            "24": 1599,
            "48": 1999,
            "64": 2199
          },
          "desktop_usd_by_ram": {
            "24": 1599,
            "48": 1999,
            "64": 2199
          },
          "laptop_usd_by_ram": {
            "24": 2199,
            "48": 2599,
            "64": 2799
          },
          "tg_scale": 0.24,
          "compute_scale": 0.12
        },
        {
          "id": "m4pro-16c",
          "label": "12c CPU / 16c GPU (Binned)",
          "short": "M4 Pro 16c",
          "devices": [
            "Mac mini (M4 Pro)",
            "MacBook Pro 14″ (M4 Pro)"
          ],
          "desktop_devices": [
            "Mac mini (M4 Pro)"
          ],
          "laptop_devices": [
            "MacBook Pro 14″ (M4 Pro)"
          ],
          "seo_slug": "mac-mini-m4-pro-64gb",
          "bw_gbs": 273,
          "tdp_w": 58,
          "valid_rams": [
            24,
            48
          ],
          "default_ram": 48,
          "verified_rams": [],
          "usd_by_ram": {
            "24": 1399,
            "48": 1799
          },
          "desktop_usd_by_ram": {
            "24": 1399,
            "48": 1799
          },
          "laptop_usd_by_ram": {
            "24": 1999,
            "48": 2399
          },
          "tg_scale": 0.23,
          "compute_scale": 0.096
        }
      ]
    },
    {
      "chip_id": "m6",
      "label": "M6",
      "variants": [
        {
          "id": "m6-12c",
          "label": "12c CPU / 12c GPU (Full · 2nm)",
          "short": "M6 12c",
          "devices": [
            "Mac mini (M6)",
            "MacBook Pro 14″ (M6)",
            "iMac 24″ (M6, 4-port)"
          ],
          "desktop_devices": [
            "Mac mini (M6)",
            "iMac 24″ (M6, 4-port)"
          ],
          "laptop_devices": [
            "MacBook Pro 14″ (M6)"
          ],
          "seo_slug": "mac-mini-m6-32gb",
          "bw_gbs": 170,
          "tdp_w": 38,
          "valid_rams": [
            16,
            24,
            32
          ],
          "default_ram": 32,
          "verified_rams": [],
          "usd_by_ram": {
            "16": 699,
            "24": 899,
            "32": 1099
          },
          "desktop_usd_by_ram": {
            "16": 699,
            "24": 899,
            "32": 1099
          },
          "laptop_usd_by_ram": {
            "16": 1599,
            "24": 1799,
            "32": 1999
          },
          "tg_scale": 0.155,
          "compute_scale": 0.155
        },
        {
          "id": "m6-10c",
          "label": "10c CPU / 10c GPU (Binned · 2nm)",
          "short": "M6 10c",
          "devices": [
            "iMac 24″ (M6, 2-port)"
          ],
          "desktop_devices": [
            "iMac 24″ (M6, 2-port)"
          ],
          "laptop_devices": [],
          "seo_slug": "mac-mini-m6-32gb",
          "bw_gbs": 153,
          "tdp_w": 32,
          "valid_rams": [
            16,
            24
          ],
          "default_ram": 24,
          "verified_rams": [],
          "usd_by_ram": {
            "16": 1299,
            "24": 1499
          },
          "desktop_usd_by_ram": {
            "16": 1299,
            "24": 1499
          },
          "laptop_usd_by_ram": {},
          "tg_scale": 0.14,
          "compute_scale": 0.13
        }
      ]
    },
    {
      "chip_id": "m5",
      "label": "M5",
      "variants": [
        {
          "id": "m5-10c",
          "label": "10c CPU / 10c GPU (Full)",
          "short": "M5 10c",
          "devices": [
            "MacBook Air 13″ / 15″ (M5)",
            "MacBook Pro 14″ (M5)"
          ],
          "desktop_devices": [],
          "laptop_devices": [
            "MacBook Air 13″ / 15″ (M5)",
            "MacBook Pro 14″ (M5)"
          ],
          "seo_slug": "macbook-air-m5-32gb",
          "bw_gbs": 153,
          "tdp_w": 35,
          "valid_rams": [
            16,
            24,
            32
          ],
          "default_ram": 32,
          "verified_rams": [],
          "usd_by_ram": {
            "16": 1099,
            "24": 1299,
            "32": 1499
          },
          "desktop_usd_by_ram": {},
          "laptop_usd_by_ram": {
            "16": 1099,
            "24": 1299,
            "32": 1499
          },
          "tg_scale": 0.14,
          "compute_scale": 0.125
        },
        {
          "id": "m5-8c",
          "label": "10c CPU / 8c GPU (Binned)",
          "short": "M5 8c",
          "devices": [
            "MacBook Air 13″ Entry (M5)"
          ],
          "desktop_devices": [],
          "laptop_devices": [
            "MacBook Air 13″ Entry (M5)"
          ],
          "seo_slug": "macbook-air-m5-32gb",
          "bw_gbs": 153,
          "tdp_w": 22,
          "valid_rams": [
            16,
            24
          ],
          "default_ram": 16,
          "verified_rams": [],
          "usd_by_ram": {
            "16": 999,
            "24": 1199
          },
          "desktop_usd_by_ram": {},
          "laptop_usd_by_ram": {
            "16": 999,
            "24": 1199
          },
          "tg_scale": 0.13,
          "compute_scale": 0.1
        }
      ]
    },
    {
      "chip_id": "m4",
      "label": "M4",
      "variants": [
        {
          "id": "m4-10c",
          "label": "10c CPU / 10c GPU (Full)",
          "short": "M4 10c",
          "devices": [
            "Mac mini (M4)",
            "MacBook Air 13″ / 15″ (M4)",
            "MacBook Pro 14″ (M4)",
            "iMac 24″ (M4, 4-port)"
          ],
          "desktop_devices": [
            "Mac mini (M4)",
            "iMac 24″ (M4, 4-port)"
          ],
          "laptop_devices": [
            "MacBook Air 13″ / 15″ (M4)",
            "MacBook Pro 14″ (M4)"
          ],
          "seo_slug": "macbook-air-m4-24gb",
          "bw_gbs": 120,
          "tdp_w": 35,
          "valid_rams": [
            16,
            24,
            32
          ],
          "default_ram": 24,
          "verified_rams": [],
          "usd_by_ram": {
            "16": 599,
            "24": 799,
            "32": 999
          },
          "desktop_usd_by_ram": {
            "16": 599,
            "24": 799,
            "32": 999
          },
          "laptop_usd_by_ram": {
            "16": 999,
            "24": 1199,
            "32": 1399
          },
          "tg_scale": 0.11,
          "compute_scale": 0.065
        },
        {
          "id": "m4-8c",
          "label": "10c CPU / 8c GPU (Binned)",
          "short": "M4 8c",
          "devices": [
            "MacBook Air 13″ Entry (M4)",
            "iMac 24″ (M4, 2-port)"
          ],
          "desktop_devices": [
            "iMac 24″ (M4, 2-port)"
          ],
          "laptop_devices": [
            "MacBook Air 13″ Entry (M4)"
          ],
          "seo_slug": "macbook-air-m4-24gb",
          "bw_gbs": 120,
          "tdp_w": 22,
          "valid_rams": [
            16,
            24
          ],
          "default_ram": 16,
          "verified_rams": [],
          "usd_by_ram": {
            "16": 899,
            "24": 1099
          },
          "desktop_usd_by_ram": {
            "16": 1199,
            "24": 1399
          },
          "laptop_usd_by_ram": {
            "16": 899,
            "24": 1099
          },
          "tg_scale": 0.1,
          "compute_scale": 0.052
        }
      ]
    }
  ],
  "mac_lineup": [
    {
      "mac_slug": "macbook-air-m4-24gb",
      "chip_id": "m4",
      "name": "Mac mini / MacBook Air (M4)",
      "chip": "Apple M4 (10c CPU / 10c GPU)",
      "ram_gb": 24,
      "bandwidth_gbs": 120,
      "tdp_watts": 35,
      "approx_usd": 799,
      "form_factor": "Entry Unified Tier (16 / 24 / 32 GB)",
      "verified_count": 0,
      "featured_tier": true,
      "ideal_for": "Mac mini, MacBook Air & iMac M4 share identical silicon (Air passive chassis may throttle ~20% on long runs)",
      "bw_scale_vs_m5u": 0.11,
      "tg_scale_vs_m5u": 0.11,
      "compute_scale_vs_m5u": 0.065
    },
    {
      "mac_slug": "macbook-air-m5-32gb",
      "chip_id": "m5",
      "name": "MacBook Air / MBP 14″ (M5)",
      "chip": "Apple M5 (10c CPU / 10c GPU)",
      "ram_gb": 32,
      "bandwidth_gbs": 153,
      "tdp_watts": 35,
      "approx_usd": 1499,
      "form_factor": "Neural-GPU Laptop Tier (16 / 24 / 32 GB)",
      "verified_count": 0,
      "featured_tier": false,
      "ideal_for": "26B–35B 4-bit MoE & FLUX.2-klein (note: Mac mini skipped base M5 and went directly to M6)",
      "bw_scale_vs_m5u": 0.14,
      "tg_scale_vs_m5u": 0.14,
      "compute_scale_vs_m5u": 0.125
    },
    {
      "mac_slug": "mac-mini-m6-32gb",
      "chip_id": "m6",
      "name": "Mac mini / MBP 14″ / iMac (M6)",
      "chip": "Apple M6 (12c CPU / 12c GPU · 2nm)",
      "ram_gb": 32,
      "bandwidth_gbs": 170,
      "tdp_watts": 38,
      "approx_usd": 1299,
      "form_factor": "2nm Base Tier (16 / 24 / 32 GB)",
      "verified_count": 0,
      "featured_tier": true,
      "ideal_for": "2nm M6 (12c GPU + Dual 16c ANE, 170 GB/s on 24/32GB) across Mac mini, MBP 14″ & iMac 24″",
      "bw_scale_vs_m5u": 0.155,
      "tg_scale_vs_m5u": 0.155,
      "compute_scale_vs_m5u": 0.155
    },
    {
      "mac_slug": "mac-mini-m4-pro-64gb",
      "chip_id": "m4-pro",
      "name": "Mac mini / MBP (M4 Pro)",
      "chip": "Apple M4 Pro (14c CPU / 20c GPU)",
      "ram_gb": 64,
      "bandwidth_gbs": 273,
      "tdp_watts": 65,
      "approx_usd": 2199,
      "form_factor": "Compact Pro Tier (24 / 48 / 64 GB)",
      "verified_count": 0,
      "featured_tier": false,
      "ideal_for": "273 GB/s active-cooled compact server or laptop for 27B–35B LLMs & 1K/2K diffusion",
      "bw_scale_vs_m5u": 0.24,
      "tg_scale_vs_m5u": 0.24,
      "compute_scale_vs_m5u": 0.12
    },
    {
      "mac_slug": "mac-mini-m5-pro-64gb",
      "chip_id": "m5-pro",
      "name": "Mac mini / MBP (M5 Pro)",
      "chip": "Apple M5 Pro (18c CPU / 20c GPU)",
      "ram_gb": 64,
      "bandwidth_gbs": 307,
      "tdp_watts": 68,
      "approx_usd": 2199,
      "form_factor": "Neural Pro Tier (24 / 48 / 64 GB)",
      "verified_count": 0,
      "featured_tier": true,
      "ideal_for": "307 GB/s + M5 GPU Neural Accelerators in Mac mini & MacBook Pro 14″/16″",
      "bw_scale_vs_m5u": 0.27,
      "tg_scale_vs_m5u": 0.27,
      "compute_scale_vs_m5u": 0.25
    },
    {
      "mac_slug": "mac-studio-m4-max-128gb",
      "chip_id": "m4-max",
      "name": "Mac Studio / MBP (M4 Max)",
      "chip": "Apple M4 Max (16c CPU / 40c GPU)",
      "ram_gb": 128,
      "bandwidth_gbs": 546,
      "tdp_watts": 115,
      "approx_usd": 3499,
      "form_factor": "128 GB Pro Tier (36 / 48 / 64 / 128 GB)",
      "verified_count": 0,
      "featured_tier": false,
      "ideal_for": "40c M4 Max (546 GB/s) in Mac Studio & MBP 14″/16″ (32c binned is 36 GB / 410 GB/s)",
      "bw_scale_vs_m5u": 0.46,
      "tg_scale_vs_m5u": 0.46,
      "compute_scale_vs_m5u": 0.22
    },
    {
      "mac_slug": "macbook-pro-m4-max-128gb",
      "chip_id": "m4-max",
      "name": "MacBook Pro 16″ (M4 Max)",
      "chip": "Apple M4 Max (16c CPU / 40c GPU)",
      "ram_gb": 128,
      "bandwidth_gbs": 546,
      "tdp_watts": 110,
      "approx_usd": 4199,
      "form_factor": "Mobile 128 GB Workstation",
      "verified_count": 0,
      "featured_tier": false,
      "ideal_for": "Full 128 GB unified memory in a laptop chassis",
      "bw_scale_vs_m5u": 0.46,
      "tg_scale_vs_m5u": 0.46,
      "compute_scale_vs_m5u": 0.22
    },
    {
      "mac_slug": "mac-studio-m5-max-128gb",
      "chip_id": "m5-max",
      "name": "Mac Studio / MBP (M5 Max)",
      "chip": "Apple M5 Max (18c CPU / 40c GPU)",
      "ram_gb": 128,
      "bandwidth_gbs": 614,
      "tdp_watts": 120,
      "approx_usd": 3699,
      "form_factor": "128 GB Neural Max (36 / 48 / 64 / 128 GB)",
      "verified_count": 0,
      "featured_tier": true,
      "ideal_for": "614 GB/s + 40 M5 Neural-GPU cores across Mac Studio & MacBook Pro 14″/16″",
      "bw_scale_vs_m5u": 0.52,
      "tg_scale_vs_m5u": 0.52,
      "compute_scale_vs_m5u": 0.5
    },
    {
      "mac_slug": "mac-studio-m2-ultra-192gb",
      "chip_id": "m2-ultra",
      "name": "Mac Studio / Mac Pro (M2 Ultra)",
      "chip": "Apple M2 Ultra (24c CPU / 76c GPU)",
      "ram_gb": 192,
      "bandwidth_gbs": 800,
      "tdp_watts": 155,
      "approx_usd": 4799,
      "form_factor": "192 GB Ultra Tier (64 / 128 / 192 GB)",
      "verified_count": 0,
      "featured_tier": true,
      "ideal_for": "Only Apple Silicon family offering 192 GB RAM (60c & 76c GPU share 800 GB/s bus)",
      "bw_scale_vs_m5u": 0.64,
      "tg_scale_vs_m5u": 0.64,
      "compute_scale_vs_m5u": 0.24
    },
    {
      "mac_slug": "mac-studio-m3-ultra-256gb",
      "chip_id": "m3-ultra",
      "name": "Mac Studio (M3 Ultra)",
      "chip": "Apple M3 Ultra (32c CPU / 80c GPU)",
      "ram_gb": 256,
      "bandwidth_gbs": 819,
      "tdp_watts": 170,
      "approx_usd": 6499,
      "form_factor": "High-Capacity Ultra (96 / 256 / 512 GB)",
      "verified_count": 0,
      "featured_tier": true,
      "ideal_for": "819 GB/s unified memory across 60c (96/256GB) and 80c (96/256/512GB) tiers",
      "bw_scale_vs_m5u": 0.68,
      "tg_scale_vs_m5u": 0.68,
      "compute_scale_vs_m5u": 0.33
    },
    {
      "mac_slug": "mac-studio-m5-ultra-256gb",
      "chip_id": "m5-ultra",
      "name": "Mac Studio (M5 Ultra · 256 GB)",
      "chip": "Apple M5 Ultra (36c CPU / 80c GPU)",
      "ram_gb": 256,
      "bandwidth_gbs": 1228,
      "tdp_watts": 185,
      "approx_usd": 6499,
      "form_factor": "Lab Reference Flagship (96 / 256 / 512 GB)",
      "verified_count": 25,
      "featured_tier": true,
      "ideal_for": "All frontier models Lab Verified on 80c 256 GB (1.2 TB/s bus shared by 64c & 80c)",
      "bw_scale_vs_m5u": 1.0,
      "tg_scale_vs_m5u": 1.0,
      "compute_scale_vs_m5u": 1.0
    },
    {
      "mac_slug": "mac-studio-m5-ultra-512gb",
      "chip_id": "m5-ultra",
      "name": "Mac Studio (M5 Ultra · 512 GB)",
      "chip": "Apple M5 Ultra (36c CPU / 80c GPU)",
      "ram_gb": 512,
      "bandwidth_gbs": 1228,
      "tdp_watts": 195,
      "approx_usd": 9499,
      "form_factor": "Zero-Offload 512 GB Flagship",
      "verified_count": 0,
      "featured_tier": true,
      "ideal_for": "510 GB FP8 DeepSeek & 753B GLM-5.3 4-bit wholly in RAM without NVMe streaming",
      "bw_scale_vs_m5u": 1.0,
      "tg_scale_vs_m5u": 1.0,
      "compute_scale_vs_m5u": 1.0
    }
  ],
  "timelines": {
    "deepseek-v4.1-flash": {
      "unit": "tok/s",
      "metric_label": "Peak Decode Throughput (552B MoE oQ2.5e)",
      "higher_is_better": true,
      "points": [
        {
          "date": "2026-11-28",
          "value": 54.9,
          "tag": "Baseline MLX",
          "by": "@hiddendevj",
          "note": "Default oQ2.5e load with standard KV quantization enabled"
        },
        {
          "date": "2026-12-01",
          "value": 72.4,
          "tag": "+Engram SSD Offload",
          "by": "@hiddendevj",
          "note": "Offloaded sparse Engram table to NVMe, freeing wired RAM"
        },
        {
          "date": "2026-12-03",
          "value": 89.6,
          "tag": "+M5 Q4A8 & Lossless MLA KV",
          "by": "@hiddendevj",
          "note": "Disabled TurboQuant on tiny MLA KV (+14%) & enabled CED + Q4A8(m64)"
        },
        {
          "date": "2026-12-05",
          "value": 108.2,
          "tag": "+Adaptive MTP5",
          "by": "@hiddendevj",
          "note": "Speculative Multi-Token Prediction depth=5 reaches 108.2 tok/s (+97%)"
        }
      ]
    },
    "gemma-4-26b-a4b": {
      "unit": "tok/s",
      "metric_label": "Peak Decode Throughput (26B MoE 4-bit + Speculative)",
      "higher_is_better": true,
      "points": [
        {
          "date": "2026-12-02",
          "value": 147.0,
          "tag": "Single-Token 4-bit",
          "by": "@hiddendevj",
          "note": "Autoregressive 4-bit baseline (75.9 tok/s @ 64K with BF16 KV)"
        },
        {
          "date": "2026-12-05",
          "value": 156.1,
          "tag": "+TurboQuant 4-bit KV",
          "by": "@hiddendevj",
          "note": "TQ4 KV cuts 64K GQA traffic 4x (118.6 tok/s @ 64K, 156.1 peak coding)"
        },
        {
          "date": "2026-12-06",
          "value": 196.0,
          "tag": "+Google Assistant VLM-MTP",
          "by": "@hiddendevj",
          "note": "Official gemma4_assistant 0.87 GB drafter (block=4) reaches 196.0 tok/s"
        },
        {
          "date": "2026-12-06",
          "value": 275.0,
          "tag": "+DFlash Adaptive + TQ4",
          "by": "@hiddendevj",
          "note": "z-lab DFlash drafter (adaptive b=9) + TQ4 hits 275.0 tok/s (261.9 E2E, 23 GB Wired)"
        }
      ]
    },
    "glm-5.3": {
      "unit": "tok/s",
      "metric_label": "753B MoE Peak Decode Throughput on 256 GB M5 Ultra",
      "higher_is_better": true,
      "points": [
        {
          "date": "2026-12-02",
          "value": 1.5,
          "tag": "OS Swap Thrash",
          "by": "@hiddendevj",
          "note": "Uncontrolled paging across 418 GB 4-bit weights"
        },
        {
          "date": "2026-12-05",
          "value": 2.3,
          "tag": "Managed 4-bit Offload",
          "by": "@hiddendevj",
          "note": "Pinned 232.8 GB wired + 8.68 GB/s NVMe streaming wall"
        },
        {
          "date": "2026-12-06",
          "value": 27.7,
          "tag": "Pure-RAM UD-IQ2_M (222 GiB)",
          "by": "@hiddendevj",
          "note": "Zero-swap Metal 4 fa_tensor (-b 8192 -ub 8192 -ctk f16, 0.15 MB/s NVMe, 22.9 @ 32K)"
        },
        {
          "date": "2026-12-06",
          "value": 43.2,
          "tag": "+Built-in NextN MTP (n=4)",
          "by": "@hiddendevj",
          "note": "blk.78.nextn draft-mtp reaches 43.2 tok/s peak (33.7 sustained, 28.8x vs baseline!)"
        }
      ]
    },
    "glm-5.3-flash": {
      "unit": "tok/s",
      "metric_label": "Peak Decode Throughput (320B MoE 4-bit)",
      "higher_is_better": true,
      "points": [
        {
          "date": "2026-12-01",
          "value": 71.2,
          "tag": "Baseline 4-bit",
          "by": "@hiddendevj",
          "note": "Standard 4-bit decode without MTP or wired memory tuning"
        },
        {
          "date": "2026-12-03",
          "value": 119.5,
          "tag": "+Wired 249GB & TQ8",
          "by": "@hiddendevj",
          "note": "Unlocked 195.9 GB wired ceiling + 8-bit KV for 128K context"
        },
        {
          "date": "2026-12-05",
          "value": 168.1,
          "tag": "+MTP Depth 5",
          "by": "@hiddendevj",
          "note": "Full speculative MTP5 reaches 168.1 tok/s (155.9 tok/s @ 128K!)"
        }
      ]
    },
    "hy4-flash": {
      "unit": "tok/s",
      "metric_label": "Peak Decode Throughput (224B MoE + Engram)",
      "higher_is_better": true,
      "points": [
        {
          "date": "2026-12-02",
          "value": 46.2,
          "tag": "Baseline oQ4h",
          "by": "@hiddendevj",
          "note": "Default hybrid MoE configuration"
        },
        {
          "date": "2026-12-05",
          "value": 77.2,
          "tag": "+CED + Q4A8 + MTP5",
          "by": "@hiddendevj",
          "note": "1.67x faster decode in 149.8 GB wired RAM"
        }
      ]
    },
    "inkling-2-mini": {
      "unit": "tok/s",
      "metric_label": "Peak Decode Throughput (oQ4e-MTP)",
      "higher_is_better": true,
      "points": [
        {
          "date": "2026-12-02",
          "value": 46.5,
          "tag": "Standard 4-bit",
          "by": "@hiddendevj",
          "note": "Single-token autoregressive baseline"
        },
        {
          "date": "2026-12-05",
          "value": 102.8,
          "tag": "+MTP5 & Q4A8",
          "by": "@hiddendevj",
          "note": "2.21x speedup in 46.5 GB wired memory"
        }
      ]
    },
    "muse-spark-open-816b": {
      "unit": "tok/s",
      "metric_label": "Zero-Swap 816B MoE Decode (llama.cpp Metal 4)",
      "higher_is_better": true,
      "points": [
        {
          "date": "2026-12-01",
          "value": 22.9,
          "tag": "Default llama.cpp",
          "by": "@hiddendevj",
          "note": "Small ubatch=512 underutilizes 80-core Metal 4 GPU"
        },
        {
          "date": "2026-12-05",
          "value": 30.5,
          "tag": "Metal 4 fa_tensor + b8192",
          "by": "@hiddendevj",
          "note": "-b 8192 -ub 8192 -ctk f16 mmap -> 30.5 tok/s (24.1 @ 80K, 0 swap)"
        }
      ]
    },
    "qwen3.6-35b-a3b": {
      "unit": "tok/s",
      "metric_label": "Peak Decode Throughput (35B MoE 4-bit)",
      "higher_is_better": true,
      "points": [
        {
          "date": "2026-11-30",
          "value": 112.4,
          "tag": "Legacy Dual-ANE",
          "by": "@hiddendevj",
          "note": "M3/M4 era Dual-ANE hybrid config bottlenecks M5 GPU"
        },
        {
          "date": "2026-12-03",
          "value": 131.3,
          "tag": "Pure GPU + TQ4 KV",
          "by": "@hiddendevj",
          "note": "Disabled ANE (+38% prefill), but TQ4 dequant adds decode overhead"
        },
        {
          "date": "2026-12-05",
          "value": 181.1,
          "tag": "M5 Q4A8 + BF16 KV",
          "by": "@hiddendevj",
          "note": "Pure M5 Q4A8(gs=64) + lossless BF16 KV hits 181.1 tok/s & 8,802 PP"
        }
      ]
    },
    "qwen3.8-27b": {
      "unit": "tok/s",
      "metric_label": "32K Prefill Throughput (27B Dense 4-bit)",
      "higher_is_better": true,
      "points": [
        {
          "date": "2026-12-01",
          "value": 1538.0,
          "tag": "Dual-ANE Hybrid",
          "by": "@hiddendevj",
          "note": "ANE dispatch overhead caps dense 27B prefill"
        },
        {
          "date": "2026-12-05",
          "value": 2417.0,
          "tag": "M5 Q4A8 Pure GPU",
          "by": "@hiddendevj",
          "note": "+57.1% faster prefill & 52.1 tok/s lossless BF16 decode"
        }
      ]
    },
    "qwen3.8-flash-next": {
      "unit": "tok/s",
      "metric_label": "Peak Decode Throughput (180B 8-bit Near-Lossless)",
      "higher_is_better": true,
      "points": [
        {
          "date": "2026-11-29",
          "value": 41.8,
          "tag": "Naive oQ8e",
          "by": "@hiddendevj",
          "note": "Out-of-the-box 8-bit decode without GDN fused projection"
        },
        {
          "date": "2026-12-02",
          "value": 68.4,
          "tag": "+M5 Q8A8(m64)",
          "by": "@hiddendevj",
          "note": "Activated M5 native 8-bit weight×activation Metal tensor path"
        },
        {
          "date": "2026-12-04",
          "value": 104.2,
          "tag": "+GDN WideProj & TQ8",
          "by": "@hiddendevj",
          "note": "Enabled qwen4_gdn_decode_wide_proj (+51% PP, 2.1x decode) + TQ8 KV"
        },
        {
          "date": "2026-12-05",
          "value": 138.5,
          "tag": "+MTP5Pure-RAM",
          "by": "@hiddendevj",
          "note": "Kept PLE in RAM + MTP depth=5 -> 138.5 tok/s (3.31x total speedup)"
        }
      ]
    },
    "flux2-klein-4b": {
      "unit": "s",
      "metric_label": "1024×1024 4-Step Generation Time (Lower = Better)",
      "higher_is_better": false,
      "points": [
        {
          "date": "2026-12-06",
          "value": 2.4,
          "tag": "Cold First-Run JIT",
          "by": "@hiddendevj",
          "note": "Includes 1st-run Metal kernel compilation"
        },
        {
          "date": "2026-12-06",
          "value": 2.04,
          "tag": "Warm Resident MLX 8-bit",
          "by": "@hiddendevj",
          "note": "2.04s @ 1K & 10.12s @ 2K in 11.76 GiB MLX (fits 16 GB Mac mini / Air!)"
        }
      ]
    },
    "flux2-klein-9b": {
      "unit": "s",
      "metric_label": "1024×1024 4-Step Generation Time (Lower = Better)",
      "higher_is_better": false,
      "points": [
        {
          "date": "2026-12-03",
          "value": 5.7,
          "tag": "mflux 8-bit Cold CLI",
          "by": "@hiddendevj",
          "note": "Single-shot CLI includes model load & Metal shader JIT"
        },
        {
          "date": "2026-12-05",
          "value": 3.45,
          "tag": "Warm MPS BF16",
          "by": "@hiddendevj",
          "note": "3.45s warm 1K latency on PyTorch MPS (50 GB Wired; 117.7 GB @ 2K)"
        },
        {
          "date": "2026-12-06",
          "value": 3.66,
          "tag": "Warm Resident MLX 8-bit",
          "by": "@hiddendevj",
          "note": "3.66s @ 1K & 17.90s @ 2K in just 20–27 GB MLX (-35.8% vs cold CLI)"
        }
      ]
    },
    "minimax-h3-image": {
      "unit": "s",
      "metric_label": "2048×2048 Native 2K Generation Time (Lower = Better)",
      "higher_is_better": false,
      "points": [
        {
          "date": "2026-12-03",
          "value": 15.7,
          "tag": "FP16 MPS",
          "by": "@hiddendevj",
          "note": "FP16 cast adds conversion overhead on M5 MPS"
        },
        {
          "date": "2026-12-05",
          "value": 14.6,
          "tag": "Native BF16 6-Step",
          "by": "@hiddendevj",
          "note": "3.6s @ 1K, 14.6s @ 2K, 70.8s @ true 4096×4096"
        }
      ]
    },
    "qwen-image-2.1": {
      "unit": "s",
      "metric_label": "1024×1024 Bilingual Text-Rendering Image Time (Lower = Better)",
      "higher_is_better": false,
      "points": [
        {
          "date": "2026-12-02",
          "value": 26.6,
          "tag": "Diffusers MPS BF16",
          "by": "@hiddendevj",
          "note": "PyTorch MPS 30-step baseline"
        },
        {
          "date": "2026-12-04",
          "value": 21.1,
          "tag": "mflux 8-bit Cold CLI",
          "by": "@hiddendevj",
          "note": "+22% faster than MPS in 38 GB with crisp CJK/EN text"
        },
        {
          "date": "2026-12-06",
          "value": 16.21,
          "tag": "Warm 30-Step + StepCache",
          "by": "@hiddendevj",
          "note": "Resident warm MLX 8-bit + step_cache_ratio=0.2 (19.36s uncached)"
        },
        {
          "date": "2026-12-06",
          "value": 5.0,
          "tag": "Warm Turbo 8-Step MLX",
          "by": "@hiddendevj",
          "note": "5.00s @ 1K (-56% vs 11.4s cold CLI) & 28.26s @ 2048×2048!"
        }
      ]
    },
    "z-image-turbo": {
      "unit": "s",
      "metric_label": "1024×1024 Photorealistic Generation Time (Lower = Better)",
      "higher_is_better": false,
      "points": [
        {
          "date": "2026-12-03",
          "value": 8.9,
          "tag": "mflux BF16 (9-step)",
          "by": "@hiddendevj",
          "note": "Unquantized MLX baseline"
        },
        {
          "date": "2026-12-05",
          "value": 7.9,
          "tag": "mflux 8-bit (8-step)",
          "by": "@hiddendevj",
          "note": "7.9s @ 1K in 36.8 GB with zero quality loss"
        }
      ]
    },
    "minimax-h3": {
      "unit": "s",
      "metric_label": "1344×768 · 5.17s Audio+Video Generation Time (Lower = Better)",
      "higher_is_better": false,
      "points": [
        {
          "date": "2026-12-01",
          "value": 2232.0,
          "tag": "50-Step CFG Baseline",
          "by": "@hiddendevj",
          "note": "37.2 minutes per clip, 166.2 GB wired"
        },
        {
          "date": "2026-12-04",
          "value": 197.0,
          "tag": "+pi-H3 1.5 & MPS Patches",
          "by": "@hiddendevj",
          "note": "Fixed MPSGraph INT_MAX SwiGLU + 95KB online AdaLN fold (11.3x)"
        },
        {
          "date": "2026-12-05",
          "value": 162.2,
          "tag": "+4-Step DWD Decoder",
          "by": "@hiddendevj",
          "note": "Recommended cinema quality + stereo 32kHz audio in 162.2s (13.8x)"
        },
        {
          "date": "2026-12-06",
          "value": 82.8,
          "tag": "+2-Step DWD Turbo",
          "by": "@hiddendevj",
          "note": "27.0x speedup — 768p synced audio-video under 83 seconds!"
        }
      ]
    },
    "wan2.2-t2v-a14b": {
      "unit": "s",
      "metric_label": "832×480 · 81-Frame Video Generation Time (Lower = Better)",
      "higher_is_better": false,
      "points": [
        {
          "date": "2026-12-01",
          "value": 1765.3,
          "tag": "40-Step CFG Baseline",
          "by": "@hiddendevj",
          "note": "29.4 minutes default Diffusers pipeline (99.5 GB)"
        },
        {
          "date": "2026-12-03",
          "value": 843.9,
          "tag": "+TaylorSeer Regex Fix",
          "by": "@hiddendevj",
          "note": "Patched blocks.\\d+ / proj_out identifiers (2.09x zero-train)"
        },
        {
          "date": "2026-12-04",
          "value": 819.4,
          "tag": "+FirstBlockCache",
          "by": "@hiddendevj",
          "note": "Pixel-faithful training-free cache on dual MoE DiTs (2.15x)"
        },
        {
          "date": "2026-12-05",
          "value": 82.5,
          "tag": "+lightx2v 4-Step & BF16 VAE",
          "by": "@hiddendevj",
          "note": "21.4x speedup + saves 10.6 GB RAM (90.0 GB -> fits 128 GB Mac!)"
        },
        {
          "date": "2026-12-06",
          "value": 88.7,
          "tag": "+Native MLX 8-bit DiT (31 GB)",
          "by": "@hiddendevj",
          "note": "Pre-fused LoRA + MLX 8-bit cuts RAM 90 GB -> 21.6 GB MLX / 31.5 GB Wired (unlocks 32/64 GB Macs!)"
        }
      ]
    }
  },
  "contributors": [
    {
      "handle": "@hiddendevj",
      "github_profile_url": "https://github.com/hiddendevj",
      "verified_profiles": 29,
      "models": [
        "DeepSeek-V4.1-Flash",
        "FLUX.2-klein-4B",
        "FLUX.2-klein-9B",
        "GLM-5.3 (753B MoE)",
        "GLM-5.3-Flash",
        "Gemma-4-26B-A4B",
        "Hy4-Flash (224B MoE + Engram)",
        "Inkling-2-Mini",
        "MiniMax H3 (+ Lakonik/pi-H3 1.5)",
        "MiniMax H3-Image",
        "Muse-Spark-Open-816B-A42B",
        "Qwen-Image-2.1 & Turbo",
        "Qwen3.6-35B-A3B",
        "Qwen3.8-27B",
        "Qwen3.8-Flash-Next",
        "Wan2.2-T2V-A14B",
        "Z-Image-Turbo"
      ],
      "chips": [
        "Apple M5 Ultra (80-core GPU) (256GB)"
      ],
      "first_verified": "2026-12-05",
      "latest_verified": "2026-12-06",
      "verified_by": "Pomavia Lab"
    }
  ],
  "counts": {
    "models": 17,
    "profiles": 29,
    "contributors": 1,
    "llm_models": 10,
    "image_models": 5,
    "video_models": 2,
    "llm_roofline_opt": 4,
    "llm_near_roofline": 1,
    "llm_kernel_bound": 8,
    "languages": 12
  },
  "models": [
    {
      "slug": "deepseek-v4.1-flash",
      "name": "DeepSeek-V4.1-Flash",
      "category": "llm",
      "min_ram_gb": 256,
      "aa_score": 32,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "meta": {
        "slug": "deepseek-v4.1-flash",
        "name": "DeepSeek-V4.1-Flash",
        "category": "llm",
        "family": "DeepSeek",
        "params": "552B MoE (MLA + Engram + MTP)",
        "source_repo": "mlx-community/DeepSeek-V4.1-Flash-1017-oQ2.5e-mtp",
        "alt_repos": [
          "deepseek-ai/DeepSeek-V4.1-Flash-1017 (510 GB official FP8)"
        ],
        "license": "MIT",
        "min_ram_gb": 256,
        "summary": "552B MoE flagship with MLA, Engram lookup tables, and MTP heads. Runs at 3,252 PP / 108.2 TG in oQ2.5e or 1,031 PP / 31.2 TG in unquantized 510 GB FP8 double-hybrid on 256 GB M5 Ultra.",
        "aa_score": 32,
        "aa_metric": "AA Intelligence v5",
        "aa_url": "https://artificialanalysis.ai/leaderboards/models"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-fp8-double-hybrid",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 256,
          "macos": "27.2",
          "engine": "oMLX 0.8.3",
          "quantization": "Official Unquantized FP8 (510.3 GB)",
          "disk_gb": 510.3,
          "mode": "double-hybrid",
          "recommended": false,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "pp_1k_tok_s": 67.1,
            "pp_4k_tok_s": 602.8,
            "pp_16k_tok_s": 920.7,
            "pp_32k_tok_s": 1023.8,
            "tg_peak_tok_s": 31.2,
            "tg_32k_tok_s": 26.3,
            "peak_wired_gb": 220.8,
            "ssd_peak_gb_s": 8.56,
            "speedup_vs_baseline": 3.95
          },
          "quality_check": {
            "passed": true,
            "summary": "3/3 deterministic checks passed (12.8s / 17.3s / 6.0s)"
          },
          "notes": "CRITICAL: Enable Engram SSD offload FIRST (-212.86 GB), lifting MoE resident_fraction ceiling from 5% to 75%. Optimal safe setting: resident_fraction=0.70 + A8(m64) + CED + MTP5 + lossless BF16 KV (0.72+TQ4 hits 1,031.1 PP@32K).",
          "recipe": {
            "flags": {
              "deepseek_v41_engram_ssd_offload": true,
              "moe_resident_fraction": 0.7,
              "a8_prefill_enabled": true,
              "a8_prefill_min_tokens": 64,
              "ced_prefill": true,
              "mtp_adaptive_max_depth": 5,
              "turboquant_kv": false
            }
          },
          "profile_path": "models/llm/deepseek-v4.1-flash/profiles/m5-ultra-256g-fp8-double-hybrid.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/deepseek-v4.1-flash/profiles/m5-ultra-256g-fp8-double-hybrid.yaml",
          "roofline": {
            "kind": "llm_bw",
            "regime": "nvme",
            "gate": "roofline_optimal",
            "primary_pct": 96.2,
            "eta_bw_pct": 52.3,
            "eta_nvme_pct": 96.2,
            "effective_bw_gbs": 642.5,
            "chip_bw_gbs": 1228.0,
            "nvme_gbs": 8.56,
            "nvme_ceiling_gbs": 8.9,
            "decode_tok_s": 31.2,
            "active_gb_per_tok": 34.8,
            "mtp_mult": 1.69,
            "arch_breakdown": "Official FP8 MLA/dense + 6/384 FP8 experts streamed via os.preadv",
            "short_tag_en": "NVMe Wall",
            "short_tag_zh": "NVMe 极限",
            "diagnosis_en": "Saturates 8.56 GB/s NVMe sequential read (96.2% of Apple SSD physical ceiling) in 220.8 GB Wired.",
            "diagnosis_zh": "在 256 GB 机器上以双混合卸载跑出 8.56 GB/s 持续闪存吞吐（达 Apple NVMe 物理上限的 96.2%）。"
          }
        },
        {
          "profile_id": "m5-ultra-256g-oq25e-mtp",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 256,
          "macos": "27.2",
          "engine": "oMLX 0.8.3",
          "quantization": "oQ2.5e-MTP (~2.5-bit)",
          "disk_gb": 319.0,
          "mode": "table-offload",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "pp_1k_tok_s": 822.0,
            "pp_4k_tok_s": 1547.0,
            "pp_16k_tok_s": 2405.0,
            "pp_32k_tok_s": 3252.0,
            "pp_64k_tok_s": 2153.0,
            "tg_peak_tok_s": 108.2,
            "tg_batch4_tok_s": 99.3,
            "peak_wired_gb": 223.0,
            "speedup_vs_baseline": 1.98
          },
          "quality_check": {
            "passed": true,
            "summary": "3/3 deterministic checks passed (math=34196, fib, logic=18)"
          },
          "notes": "Enable CED + M5 Q4A8(min64) + Engram SSD offload + MTP5; keep TurboQuant OFF (MLA KV is tiny; disabling TQ adds +10-15%).",
          "recipe": {
            "omlx_recipe": "omlx-recipe:1:eNqNU9lywjAM_Jc8dzqEBqaTn9GIWCZuHNv44JhO_70yDYVAQvtoa3XsSvtZ4Ds4T1JpDWRwo0kUdfSJXm4jvTIQbUcmFPW64lAT1R6jsgakK9fXTIk6cKogcoGog31VQkNirsUIR2brsYcQBFgptcUrTGoM7UOXnzfEVplOme0FLa1vCAL2Tp9_B3R7qiZbDOEej9BYE-kY4aCMsIeiXq6XZcV0e0tAR0c-XtIeZpmAeApKkIkgfdbLmqJevC5XjI0OUKBjDQlyX0EutkU9hO402h3IvK0ADf2q2LgEPKAZVV7MQu9nnYHdFivfVrO4rfhv49Cip7MQNvFO_mAUW08o-MLeJyEioc4fT6r8g6hMgSfK4j1DMcUnbe4FWM2i8nI1nsgzq2qa1i0kW2sCEmiXyPBNa77ffCjLxUyxQfDrcOXMdiIqDQ6FYIeM3D3Aq_P4ghoriO0gcqb9GElWgWPzTVkpOGrmVnIxK2yS2FJ8jCe_sbuEbJtuDxsV8z1kEuPA87TQtNTzodx8FyNM6JRj1UO8bHmvexh571z36xuD--PM",
            "flags": {
              "a8_prefill_enabled": true,
              "a8_prefill_min_tokens": 64,
              "ced_prefill": true,
              "deepseek_v41_engram_ssd_offload": true,
              "turboquant_kv": false,
              "mtp_adaptive_max_depth": 5
            }
          },
          "profile_path": "models/llm/deepseek-v4.1-flash/profiles/m5-ultra-256g-oq25e-mtp.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/deepseek-v4.1-flash/profiles/m5-ultra-256g-oq25e-mtp.yaml",
          "roofline": {
            "kind": "llm_bw",
            "regime": "dram_bw",
            "gate": "roofline_optimal",
            "primary_pct": 75.4,
            "eta_bw_pct": 75.4,
            "eta_nvme_pct": 0.0,
            "effective_bw_gbs": 926.3,
            "chip_bw_gbs": 1228.0,
            "nvme_gbs": 0.0,
            "nvme_ceiling_gbs": 8.9,
            "decode_tok_s": 108.2,
            "active_gb_per_tok": 16.95,
            "mtp_mult": 1.98,
            "arch_breakdown": "11.17 GB MLA/dense + 3.11 GB routed (6/384) + 2.67 GB MTP3 head",
            "short_tag_en": "Roofline",
            "short_tag_zh": "硅片极限",
            "diagnosis_en": "Sustains 926.3 GB/s (75.4% DRAM Roofline) with affine oQ2.5e Metal kernels while offloading cold Engram tables.",
            "diagnosis_zh": "仿射 oQ2.5e Metal 算子配合冷 Engram 表卸载，实测有效带宽达 926.3 GB/s（75.4%，已贴近硅片物理极限）。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-11-28",
              "stage": "Baseline",
              "engine": "oMLX 0.8.3 · oQ2.5e-mtp",
              "config": "Out-of-box load (no A8 prefill, no CED, no MTP, default KV)",
              "primary": "55.0 tok/s TG@32K",
              "secondary": "652 PP@1K · 1,642 PP@32K",
              "mem_io": "224.7 GB Wired · Engram NVMe",
              "verify": "3/3 Deterministic Pass ✅",
              "repro": "omlx settings: a8_prefill_enabled=false, ced_prefill=false, mtp_enabled=false"
            },
            {
              "date": "2026-12-01",
              "stage": "Ablation",
              "engine": "oMLX 0.8.3 · oQ2.5e-mtp",
              "config": "+M5 Q4A8(min_tokens=64) + TQ8 KV + MTP depth=5 (without CED)",
              "primary": "84.5 tok/s TG@32K (107.4 @ 16K)",
              "secondary": "754 PP@1K · 1,889 PP@32K",
              "mem_io": "224.2 GB Wired · KB/s Engram",
              "verify": "3/3 Deterministic Pass ✅",
              "repro": "omlx settings: a8_prefill_enabled=true, a8_prefill_min_tokens=64, mtp_adaptive_max_depth=5"
            },
            {
              "date": "2026-12-03",
              "stage": "Ablation",
              "engine": "oMLX 0.8.3 · oQ2.5e-mtp",
              "config": "+CED Context-Elastic Prefill + TQ8 KV + MTP5 (without A8)",
              "primary": "101.3 tok/s TG@32K",
              "secondary": "1,428 PP@4K · 2,861 PP@32K (+74%)",
              "mem_io": "223.2 GB Wired · KB/s Engram",
              "verify": "3/3 Deterministic Pass ✅",
              "repro": "omlx settings: ced_prefill_enabled=true, turboquant_kv_bits=8, mtp_adaptive_max_depth=5"
            },
            {
              "date": "2026-12-05",
              "stage": "Optimal ★",
              "engine": "oMLX 0.8.3 · oQ2.5e-mtp",
              "config": "+Engram SSD + M5 Q4A8(m64) + CED + Lossless BF16 MLA KV + Adaptive MTP5",
              "primary": "108.2 tok/s Peak TG (99.3 B4)",
              "secondary": "3,252 PP@32K (+98.1%) · 2,153 PP@64K",
              "mem_io": "223.0 GB Wired · Zero Expert Swap",
              "verify": "3/3 Math(34196)/Code/Logic ✅",
              "repro": "omlx-recipe:1:eNqNU9lywjAM_Jc8dzqEBqaTn9GIWCZuHNv44JhO_70yDYVAQvtoa3XsSvtZ4Ds4T1JpDWRwo0kUdfSJXm4jvTIQbUcmFPW64lAT1R6jsgakK9fXTIk6cKogcoGog31VQkNirsUIR2brsYcQBFgptcUrTGoM7UOXnzfEVplOme0FLa1vCAL2Tp9_B3R7qiZbDOEej9BYE-kY4aCMsIeiXq6XZcV0e0tAR0c-XtIeZpmAeApKkIkgfdbLmqJevC5XjI0OUKBjDQlyX0EutkU9hO402h3IvK0ADf2q2LgEPKAZVV7MQu9nnYHdFivfVrO4rfhv49Cip7MQNvFO_mAUW08o-MLeJyEioc4fT6r8g6hMgSfK4j1DMcUnbe4FWM2i8nI1nsgzq2qa1i0kW2sCEmiXyPBNa77ffCjLxUyxQfDrcOXMdiIqDQ6FYIeM3D3Aq_P4ghoriO0gcqb9GElWgWPzTVkpOGrmVnIxK2yS2FJ8jCe_sbuEbJtuDxsV8z1kEuPA87TQtNTzodx8FyNM6JRj1UO8bHmvexh571z36xuD--PM"
            },
            {
              "date": "2026-12-05",
              "stage": "FP8 Hybrid",
              "engine": "oMLX 0.8.3 · Official 510 GB FP8",
              "config": "Double-Hybrid: Engram SSD (-213 GB) + MoE resident_fraction=0.70 + A8(m64) + CED + MTP5",
              "primary": "31.2 tok/s TG@16K (26.3 @ 32K)",
              "secondary": "602.8 PP@4K · 1,031.1 PP@32K",
              "mem_io": "220.8 GB Wired · 4.58/8.56 GB/s NVMe",
              "verify": "3/3 Lossless FP8 Pass (12.8s/17.3s/6.0s) ✅",
              "repro": "omlx settings: deepseek_v41_engram_ssd_offload=true, moe_expert_offload_resident_fraction=0.70, a8_prefill_min_tokens=64, mtp_adaptive_max_depth=5"
            }
          ]
        }
      ]
    },
    {
      "slug": "gemma-4-26b-a4b",
      "name": "Gemma-4-26B-A4B",
      "category": "llm",
      "min_ram_gb": 24,
      "aa_score": 4,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "meta": {
        "slug": "gemma-4-26b-a4b",
        "name": "Gemma-4-26B-A4B",
        "category": "llm",
        "family": "Gemma",
        "params": "26B MoE (4B active, GQA)",
        "source_repo": "mlx-community/gemma-4-26b-a4b-it-4bit",
        "alt_repos": [
          "z-lab/gemma-4-26B-A4B-it-DFlash",
          "google/gemma-4-26B-A4B-it-qat-q4_0-unquantized-assistant"
        ],
        "license": "Gemma License",
        "min_ram_gb": 24,
        "summary": "16.3 GB sparse MoE + DFlash adaptive drafter: 7,245 tok/s PP@4K, 275.0 tok/s speculative decode (196 tok/s w/ Google VLM-MTP), and 122.3 tok/s @ 64K in 23 GB Wired.",
        "aa_score": 4,
        "aa_metric": "AA Intelligence v5",
        "aa_url": "https://artificialanalysis.ai/leaderboards/models"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-4bit-dflash-tq4",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 24,
          "macos": "27.2",
          "engine": "oMLX 0.8.3 (DFlash Speculative + TQ4)",
          "quantization": "MLX 4-bit + DFlash Drafter (0.86 GB)",
          "disk_gb": 16.3,
          "mode": "pure-ram",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-06",
          "metrics": {
            "pp_1k_tok_s": 6104.4,
            "pp_4k_tok_s": 7244.9,
            "pp_16k_tok_s": 6726.2,
            "pp_32k_tok_s": 5907.5,
            "pp_64k_tok_s": 4663.8,
            "tg_peak_tok_s": 275.0,
            "tg_e2e_tok_s": 261.9,
            "tg_synth_bench_tok_s": 152.9,
            "tg_64k_tok_s": 122.3,
            "tg_batch4_tok_s": 299.4,
            "peak_wired_gb": 23.0,
            "speedup_vs_baseline": 1.87
          },
          "quality_check": {
            "passed": true,
            "summary": "512-token Red-Black Tree + Python fib(n) + logic checks passed (46.6 tok/chunk adaptive DFlash acceptance; 196.0 tok/s with Google Assistant VLM-MTP)"
          },
          "notes": "Attaching z-lab/gemma-4-26B-A4B-it-DFlash (adaptive block=9) + TurboQuant 4-bit KV pushes real coding/text decode from 147.0 -> 275.0 tok/s (261.9 tok/s E2E; 226.2 tok/s with BF16 KV; 196.0 tok/s with Google gemma4_assistant VLM-MTP) while keeping 64K wired memory at 23.0 GB. Keep a8_prefill_enabled=false on Gemma-4.",
          "recipe": {
            "omlx_recipe": "omlx-recipe:1:eNqNVMmO2zAM_Redx5NlnCD1rYOif9AzoVhUrFpbJDlLi_57aU_iiRM7mIMBQ3wkHx-Xv4xvwAeUSmtAy7caBSsk1xFfbk1GWUiuRhtZsVhuyFYmdeBJOQvSL9YPvgLRR8QaDvmCjLvADcQowEmpHb_BSc1jBVvtyhqi-oOs-Na_isBlAuMEalaw2a-IIc4SpbJp9uqMPs06W5zt0Bie5dly_Z59z98zlbIfP9sQrI_VE0yh-cx7wKDkuUtBGbjgnspC8pIulAiRG6-V3fV0q3P-rBrjEPDkMaSr6UGYEUjAqATaBDK0sjrLivnrckXY5B_8qSMRLXHzZNHp3GLnL2x_RPu2Am6x71npGxDuaAdhp6H3iSZgt8EWb6tJ3E58NXGseMBOBdeQ6NcOTaBTFZALGsPNKEQ0XLcPT6J8oVDZRGLUivcMRSU-SXMvwGoSZfgJND_TcLMiHy_rFrLORyER9003GJoGNFWsWM4ngl0E_yS3mOhO4kqD50LQCgxOwAWed_QFlrQ-cKQZJk_3eyBZDl7j6K4E9JhUd0H6Ue6IRI_lVK8SGlodnpqAl6FKlbJ1y2_biB2mRw_noe4Yt3_-koMCbN2-oUMC9QG2KrXSPxrujsbQGMsKTXs2Pp_ZABNr5alrMV39D9pAu9Mfd-325q3vjdejN3LZ9py-HOZZY7s8FEBkPEYV0weFa6ShFP_-AysrKDE",
            "flags": {
              "dflash_enabled": true,
              "dflash_draft_model": "z-lab/gemma-4-26B-A4B-it-DFlash",
              "dflash_verify_mode": "adaptive",
              "dflash_block_size": 9,
              "turboquant_kv": "tq4"
            }
          },
          "profile_path": "models/llm/gemma-4-26b-a4b/profiles/m5-ultra-256g-4bit-dflash-tq4.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/gemma-4-26b-a4b/profiles/m5-ultra-256g-4bit-dflash-tq4.yaml",
          "roofline": {
            "kind": "llm_bw",
            "regime": "dram_bw",
            "gate": "kernel_bottleneck",
            "primary_pct": 38.3,
            "eta_bw_pct": 38.3,
            "eta_nvme_pct": 0.0,
            "effective_bw_gbs": 470.3,
            "chip_bw_gbs": 1228.0,
            "nvme_gbs": 0.0,
            "nvme_ceiling_gbs": 8.9,
            "decode_tok_s": 275.0,
            "active_gb_per_tok": 3.01,
            "mtp_mult": 1.76,
            "arch_breakdown": "1.35 GB dense + 0.80 GB routed (8/128) + 0.86 GB DFlash drafter (adaptive b=9)",
            "short_tag_en": "Kernel Bound",
            "short_tag_zh": "待攻关",
            "diagnosis_en": "Kernel Bottleneck: DFlash adaptive b=9 boosts effective BW +49% vs single-step (316 -> 470.3 GB/s, 38.3%), but compact 72 MB/layer 30-layer MoE remains launch-latency bound. Next target: fused drafter+verifier graph.",
            "diagnosis_zh": "Kernel Bottleneck：挂载 DFlash (b=9) 已将有效带宽较单步提升 +49%（316 → 470.3 GB/s，38.3%），但每层仅 72 MB 的小激活仍受限于调度延迟；下一步攻关 Draft+Verify 单图融合执行。"
          }
        },
        {
          "profile_id": "m5-ultra-256g-4bit-tq4",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 24,
          "macos": "27.2",
          "engine": "oMLX 0.8.3",
          "quantization": "MLX 4-bit",
          "disk_gb": 15.4,
          "mode": "pure-ram",
          "recommended": false,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "pp_1k_tok_s": 5733.0,
            "pp_4k_tok_s": 7072.0,
            "pp_16k_tok_s": 6588.0,
            "pp_32k_tok_s": 5652.0,
            "pp_64k_tok_s": 4454.0,
            "tg_peak_tok_s": 147.0,
            "tg_64k_tok_s": 118.6,
            "tg_batch4_tok_s": 344.6,
            "peak_wired_gb": 39.1,
            "speedup_vs_baseline": 1.56
          },
          "quality_check": {
            "passed": true,
            "summary": "2/3 no-CoT deterministic checks (mental-math off by 38 without CoT; code & logic pass)"
          },
          "notes": "Because Gemma-4 uses standard GQA, enabling TurboQuant 4-bit KV boosts 64K decode by +56.3% (75.9 -> 118.6 tok/s).",
          "recipe": {
            "omlx_recipe": "omlx-recipe:1:eNqNU-1uwjAMfJf8nibKCmJ9Gcs0Ds2aJiEfwDTt3ecCY3RtEf8i-3w5n-0vgRvwgZQ2BjptIbmWbBRVsdy8CKyTPmDSzoLyxRrI4taQFJVCE-lFSCIfiVo4lAUndwE7iFGCU8o4vMMpg7EZlSsXaoKInTfa7m7h5rN8RNY5Ajp5Cuk3NSKegASKWpJNoELflbOiWrwuV4xNflS_P5J9WwFaunlT-wzSHe2gfjELfZLxnqx4W83idvLZj2ODgc7tuszuiiqFPP9_agKh5HFvJiEyo-kDD1ieaFTlyIp68x6huMUH3_w3YDWL6vAEBj8pcFfldFv3kHU5CYm0z2R5Ow1vYmpEtVzMkF0N_xNXzEwnoTbgUUre9cGpXeHlWb6k2kmCIy8rV7qPgWUleEOTRxE91XMjSdTxKWDKga7qUqNt28vYZrmjNK5wHtqLN_3T946_s-VMsXX7jHxG7QG2OvUenwkHiRvdZZzDZKwb6ljIXVgMMLHVnscT02_9wXQwvtLvH0TkvI4",
            "flags": {
              "turboquant_kv": "tq4"
            }
          },
          "profile_path": "models/llm/gemma-4-26b-a4b/profiles/m5-ultra-256g-4bit-tq4.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/gemma-4-26b-a4b/profiles/m5-ultra-256g-4bit-tq4.yaml",
          "roofline": {
            "kind": "llm_bw",
            "regime": "dram_bw",
            "gate": "kernel_bottleneck",
            "primary_pct": 25.7,
            "eta_bw_pct": 25.7,
            "eta_nvme_pct": 0.0,
            "effective_bw_gbs": 316.1,
            "chip_bw_gbs": 1228.0,
            "nvme_gbs": 0.0,
            "nvme_ceiling_gbs": 8.9,
            "decode_tok_s": 147.0,
            "active_gb_per_tok": 2.15,
            "mtp_mult": 1.0,
            "arch_breakdown": "1.35 GB dense + 0.80 GB routed (8/128 of 12.85 GB 4-bit), single-step",
            "short_tag_en": "Kernel Bound",
            "short_tag_zh": "待攻关",
            "diagnosis_en": "Kernel Bottleneck: Single-token decode reads only 2.15 GB (71.7 MB/layer) at 316.1 GB/s (25.7%). Resolved in recommended DFlash + TQ4 profile (275.0 tok/s).",
            "diagnosis_zh": "Kernel Bottleneck：纯单步解码每 Token 仅读 2.15 GB（316.1 GB/s，25.7%）；切换至上方推荐的 DFlash + TQ4 配置即可跃升至 275.0 tok/s。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-12-04",
              "stage": "Baseline",
              "engine": "oMLX 0.8.3 · MLX 4-bit",
              "config": "Autoregressive single-token decode, BF16 GQA KV cache",
              "primary": "147.0 tok/s Peak TG (75.9 @ 64K)",
              "secondary": "2,762 PP@4K · 4,414 PP@64K",
              "mem_io": "39.1 GB Wired @ 64K · Pure RAM",
              "verify": "Code & Zh-Logic Pass ✅",
              "repro": "m5_bench_lab.py bench gemma-4-26b-a4b-it-4bit --settings-json '{\"turboquant_kv_enabled\":false,\"dflash_enabled\":false}'"
            },
            {
              "date": "2026-12-05",
              "stage": "Ablation",
              "engine": "oMLX 0.8.3 · MLX 4-bit",
              "config": "+TurboQuant 4-bit KV (cuts GQA 64K bandwidth 4x, still single-token decode)",
              "primary": "156.1 tok/s Coding TG (118.6 @ 64K, +56%)",
              "secondary": "7,072 PP@4K · 4,454 PP@64K",
              "mem_io": "22.1 GB Wired @ 64K · Pure RAM",
              "verify": "Code & Zh-Logic Pass ✅",
              "repro": "omlx-recipe:1:eNqNU-1uwjAMfJf8nibKCmJ9Gcs0Ds2aJiEfwDTt3ecCY3RtEf8i-3w5n-0vgRvwgZQ2BjptIbmWbBRVsdy8CKyTPmDSzoLyxRrI4taQFJVCE-lFSCIfiVo4lAUndwE7iFGCU8o4vMMpg7EZlSsXaoKInTfa7m7h5rN8RNY5Ajp5Cuk3NSKegASKWpJNoELflbOiWrwuV4xNflS_P5J9WwFaunlT-wzSHe2gfjELfZLxnqx4W83idvLZj2ODgc7tuszuiiqFPP9_agKh5HFvJiEyo-kDD1ieaFTlyIp68x6huMUH3_w3YDWL6vAEBj8pcFfldFv3kHU5CYm0z2R5Ow1vYmpEtVzMkF0N_xNXzEwnoTbgUUre9cGpXeHlWb6k2kmCIy8rV7qPgWUleEOTRxE91XMjSdTxKWDKga7qUqNt28vYZrmjNK5wHtqLN_3T946_s-VMsXX7jHxG7QG2OvUenwkHiRvdZZzDZKwb6ljIXVgMMLHVnscT02_9wXQwvtLvH0TkvI4"
            },
            {
              "date": "2026-12-06",
              "stage": "Ablation",
              "engine": "oMLX 0.8.3 · VLM-MTP Drafter",
              "config": "+Google gemma-4-26B-A4B-it-qat-q4_0-unquantized-assistant (0.87 GB, block=4, BF16 KV)",
              "primary": "196.0 tok/s Coding TG (190.1 E2E)",
              "secondary": "7,193 PP@4K · 5,958 PP@32K",
              "mem_io": "21.4–23.1 GB Wired · Pure RAM",
              "verify": "512-tok Red-Black Tree Pass ✅",
              "repro": "omlx settings: vlm_mtp_enabled=true, vlm_mtp_draft_model=gemma-4-26B-A4B-it-qat-q4_0-unquantized-assistant, vlm_mtp_draft_block_size=4"
            },
            {
              "date": "2026-12-06",
              "stage": "Ablation",
              "engine": "oMLX 0.8.3 · DFlash BF16 KV",
              "config": "+z-lab/gemma-4-26B-A4B-it-DFlash (0.86 GB, adaptive block=9, BF16 KV)",
              "primary": "226.2 tok/s Coding TG (161.2 Synth Bench)",
              "secondary": "7,330 PP@4K · 4,700 PP@64K",
              "mem_io": "24.8 GB Wired · Pure RAM",
              "verify": "512-tok Red-Black Tree Pass ✅",
              "repro": "omlx settings: dflash_enabled=true, dflash_draft_model=gemma-4-26B-A4B-it-DFlash, dflash_verify_mode=adaptive, turboquant_kv_enabled=false"
            },
            {
              "date": "2026-12-06",
              "stage": "Optimal ★",
              "engine": "oMLX 0.8.3 · DFlash + TQ4 KV",
              "config": "+z-lab/gemma-4-26B-A4B-it-DFlash (adaptive block=9) + TurboQuant 4-bit KV",
              "primary": "275.0 tok/s Decode (261.9 E2E · 122.3 @ 64K)",
              "secondary": "7,245 PP@4K · 5,908 PP@32K · 4,664 PP@64K",
              "mem_io": "19.3–23.0 GB Wired · Pure RAM",
              "verify": "46.6 tok/chunk Adaptive Verify ✅",
              "repro": "omlx-recipe:1:eNqNVMmO2zAM_Redx5NlnCD1rYOif9AzoVhUrFpbJDlLi_57aU_iiRM7mIMBQ3wkHx-Xv4xvwAeUSmtAy7caBSsk1xFfbk1GWUiuRhtZsVhuyFYmdeBJOQvSL9YPvgLRR8QaDvmCjLvADcQowEmpHb_BSc1jBVvtyhqi-oOs-Na_isBlAuMEalaw2a-IIc4SpbJp9uqMPs06W5zt0Bie5dly_Z59z98zlbIfP9sQrI_VE0yh-cx7wKDkuUtBGbjgnspC8pIulAiRG6-V3fV0q3P-rBrjEPDkMaSr6UGYEUjAqATaBDK0sjrLivnrckXY5B_8qSMRLXHzZNHp3GLnL2x_RPu2Am6x71npGxDuaAdhp6H3iSZgt8EWb6tJ3E58NXGseMBOBdeQ6NcOTaBTFZALGsPNKEQ0XLcPT6J8oVDZRGLUivcMRSU-SXMvwGoSZfgJND_TcLMiHy_rFrLORyER9003GJoGNFWsWM4ngl0E_yS3mOhO4kqD50LQCgxOwAWed_QFlrQ-cKQZJk_3eyBZDl7j6K4E9JhUd0H6Ue6IRI_lVK8SGlodnpqAl6FKlbJ1y2_biB2mRw_noe4Yt3_-koMCbN2-oUMC9QG2KrXSPxrujsbQGMsKTXs2Pp_ZABNr5alrMV39D9pAu9Mfd-325q3vjdejN3LZ9py-HOZZY7s8FEBkPEYV0weFa6ShFP_-AysrKDE"
            }
          ]
        }
      ]
    },
    {
      "slug": "glm-5.3",
      "name": "GLM-5.3 (753B MoE)",
      "category": "llm",
      "min_ram_gb": 256,
      "aa_score": 32,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "meta": {
        "slug": "glm-5.3",
        "name": "GLM-5.3 (753B MoE)",
        "category": "llm",
        "family": "GLM",
        "params": "753B MoE (78L, 256 experts, 40B active + NextN MTP)",
        "source_repo": "unsloth/GLM-5.3-GGUF",
        "license": "MIT",
        "min_ram_gb": 256,
        "summary": "753B flagship unlocked to 43.2 tok/s zero-swap on 256 GB M5 Ultra via pure-RAM UD-IQ2_M (222.2 GiB) + Metal 4 fa_tensor + built-in NextN MTP (18.8x over 4-bit SSD offload).",
        "aa_score": 32,
        "aa_metric": "AA Intelligence v5",
        "aa_url": "https://artificialanalysis.ai/leaderboards/models"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-4bit-moe-offload",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 256,
          "macos": "27.2",
          "engine": "oMLX 0.8.3",
          "quantization": "MLX 4-bit (418.3 GB)",
          "disk_gb": 418.3,
          "mode": "moe-offload",
          "recommended": false,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "pp_1k_tok_s": 25.8,
            "pp_4k_tok_s": 84.2,
            "pp_16k_tok_s": 89.0,
            "tg_peak_tok_s": 2.3,
            "tg_16k_tok_s": 1.9,
            "peak_wired_gb": 232.8,
            "ssd_peak_gb_s": 8.68,
            "speedup_vs_baseline": 1.53
          },
          "quality_check": {
            "passed": true,
            "summary": "3/3 deterministic checks passed (56.6s / 114.1s / 33.0s)"
          },
          "notes": "Pin resident_fraction=0.47 (max_percent - 4%) + TQ4 KV. 0.48 triggers HTTP 507 admission guard; 0.51 aborts at 16K. Hits 8.68 GB/s NVMe sustained (>95% of physical ceiling).",
          "recipe": {
            "omlx_recipe": "omlx-recipe:1:eNqNk9tuwjAMht-l12iirDDGy1imcdqsaRJy4KBp7z4XcWihRdzGn__Yv-3fDNfgPEmlNbTKQLQNmZBt8sV6lmEZ1R6jsgaky1dABreaRLaRqAPNMkHkAlED-yLnYOWxhRAEWCm1xR4nNYb6KV1aXxIEbJ1Wpro916filVhrCejoyMdr6C4cfRonPAUlyESQvmvKmmwz_yi-mI3uqa7dgcznEtDQzZrSJRD2YAb580n0TcW-WP65nOQq8e7HoUZP53ZtYnOvjkzQsfaEgqe9HkVEQt09vFB5o1GZAlfUmfeK4hZffPNowHKSavEIGk_kuativK0-sipGkUC7RIaXU_MixjrbLOYTYhfD78XlE9OJqDQ4FIJXfXBpF7w4ly-otILgwMvKmfZnYFkBTtPoTQRH5dRIIrV8ChiTp0t1sVam6crYJlFRfM6wDlxn8zf7zHlbu0vIt9PsYatiZ-xZZRB4OMFhMJQ1tfx77zkbMKFRjmcS4jV_r1t4Ps2_f2A5uRY",
            "flags": {
              "moe_resident_fraction": 0.47,
              "turboquant_kv": "tq4"
            }
          },
          "profile_path": "models/llm/glm-5.3/profiles/m5-ultra-256g-4bit-moe-offload.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/glm-5.3/profiles/m5-ultra-256g-4bit-moe-offload.yaml",
          "roofline": {
            "kind": "llm_bw",
            "regime": "nvme",
            "gate": "roofline_optimal",
            "primary_pct": 97.5,
            "eta_bw_pct": 4.4,
            "eta_nvme_pct": 97.5,
            "effective_bw_gbs": 54.3,
            "chip_bw_gbs": 1228.0,
            "nvme_gbs": 8.68,
            "nvme_ceiling_gbs": 8.9,
            "decode_tok_s": 2.3,
            "active_gb_per_tok": 23.6,
            "mtp_mult": 1.0,
            "arch_breakdown": "40B active @ MLX 4-bit (418.3 GB total, 53% streamed from NVMe)",
            "short_tag_en": "NVMe Wall",
            "short_tag_zh": "NVMe 极限",
            "diagnosis_en": "Saturates 8.68 GB/s NVMe sequential read (97.5% of physical SSD ceiling); use pure-RAM UD-IQ2_M (43.2 tok/s) to bypass SSD wall.",
            "diagnosis_zh": "已吃满 8.68 GB/s NVMe 物理带宽上限（97.5%）；推荐切换至纯内存 UD-IQ2_M + NextN 配置（43.2 tok/s）彻底消除闪存瓶颈。"
          }
        },
        {
          "profile_id": "m5-ultra-256g-ud-iq2-m-mtp-llamacpp",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 256,
          "macos": "27.2",
          "engine": "llama.cpp b12991 (Metal 4 fa_tensor + NextN MTP)",
          "quantization": "GGUF UD-IQ2_M (222.2 GiB + built-in NextN)",
          "disk_gb": 238.6,
          "mode": "pure-ram",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-06",
          "metrics": {
            "pp_1k_tok_s": 387.2,
            "pp_4k_tok_s": 226.0,
            "pp_16k_tok_s": 189.9,
            "tg_peak_tok_s": 43.2,
            "tg_16k_tok_s": 24.3,
            "tg_32k_tok_s": 22.9,
            "peak_wired_gb": 252.8,
            "ssd_mean_mb_s": 0.13,
            "speedup_vs_baseline": 28.8
          },
          "quality_check": {
            "passed": true,
            "summary": "6/6 reasoning & coding checks passed (math 3.07s vs 56.6s offload; fib 5.21s vs 114.1s; 80–83% MTP acceptance)"
          },
          "notes": "Eliminates the 8.68 GB/s NVMe wall (2.3 tok/s) by fitting all 753B MoE weights + blk.78.nextn MTP head in 256 GB Unified Memory (222.19 GiB GGUF -> 235.4 GiB / 252.8 GB wired, 0.13 MB/s NVMe). Use `-b 8192 -ub 8192 -ctk f16 -ctv f16` (+15.2% PP vs `-ub 512`; MLA compressed `f16` KV beats `q8_0` by +19.6% PP & +10.5% TG and `q4_0` by +15.0% TG @ 32K) plus `--spec-type draft-mtp --spec-draft-n-max 4` (43.2 tok/s peak, 33.7 tok/s sustained on 1.5K–3K reasoning+code; 27.7 tok/s single-step).",
          "recipe": {
            "launch_cmd": "llama-server -m GLM-5.3-UD-IQ2_M-00001-of-00006.gguf --host 127.0.0.1 --port 18080 -ngl 999 -fa on -lm mmap -b 8192 -ub 8192 -ctk f16 -ctv f16 -c 32768 --jinja --spec-type draft-mtp --spec-draft-n-max 4",
            "script": "models/llm/glm-5.3/run_pure_ram.sh"
          },
          "profile_path": "models/llm/glm-5.3/profiles/m5-ultra-256g-ud-iq2-m-mtp-llamacpp.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/glm-5.3/profiles/m5-ultra-256g-ud-iq2-m-mtp-llamacpp.yaml",
          "roofline": {
            "kind": "llm_bw",
            "regime": "dram_bw",
            "gate": "kernel_bottleneck",
            "primary_pct": 36.5,
            "eta_bw_pct": 36.5,
            "eta_nvme_pct": 0.0,
            "effective_bw_gbs": 448.6,
            "chip_bw_gbs": 1228.0,
            "nvme_gbs": 0.0,
            "nvme_ceiling_gbs": 8.9,
            "decode_tok_s": 43.2,
            "active_gb_per_tok": 16.2,
            "mtp_mult": 1.56,
            "arch_breakdown": "9.66 GB MLA/DSA/shared + 6.54 GB routed (8/256 @ UD-IQ2_M) + NextN n=4",
            "short_tag_en": "Kernel Bound",
            "short_tag_zh": "待攻关",
            "diagnosis_en": "Kernel Bottleneck: IQ2_M codebook LUT dequantization caps Metal ALU unpack at ~449 GB/s (36.5%). Next target: affine oQ2.5e MLX port / SIMD LUT unpack -> 75+ tok/s.",
            "diagnosis_zh": "Kernel Bottleneck：IQ2_M 码本查表反量化受限于 GPU 寄存器查表吞吐（448.7 GB/s，36.5%）；下一步攻关仿射 oQ2.5e MLX 移植或 Metal 4 SIMD 查表融合，有望再冲 75+ tok/s。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-12-02",
              "stage": "Baseline",
              "engine": "oMLX 0.8.3 · 4-bit (418.3 GB)",
              "config": "Default MoE offload resident_fraction=0.25, BF16 KV",
              "primary": "1.5 tok/s TG (1.3 @ 16K)",
              "secondary": "22.4 PP@1K · 89.0 PP@16K",
              "mem_io": "234.1 GB Peak · 6.31/8.54 GB/s NVMe",
              "verify": "3/3 Pass (NVMe bound) ✅",
              "repro": "omlx settings: moe_expert_offload_enabled=true, moe_expert_offload_resident_fraction=0.25"
            },
            {
              "date": "2026-12-05",
              "stage": "4-bit Offload",
              "engine": "oMLX 0.8.3 · 4-bit (418.3 GB)",
              "config": "Tuned resident_fraction=0.47 (0.48 hits HTTP 507 guard) + TQ4 KV + os.preadv 20MiB blocks",
              "primary": "2.3 tok/s TG (+53% vs 0.25)",
              "secondary": "84.2 PP@4K · 89.0 PP@16K",
              "mem_io": "232.8 GB Wired · 8.68 GB/s NVMe (>95% ceiling)",
              "verify": "3/3 Math(56.6s)/Code(114.1s)/Logic ✅",
              "repro": "omlx-recipe:1:eNqNk9tuwjAMht-l12iirDDGy1imcdqsaRJy4KBp7z4XcWihRdzGn__Yv-3fDNfgPEmlNbTKQLQNmZBt8sV6lmEZ1R6jsgaky1dABreaRLaRqAPNMkHkAlED-yLnYOWxhRAEWCm1xR4nNYb6KV1aXxIEbJ1Wpro916filVhrCejoyMdr6C4cfRonPAUlyESQvmvKmmwz_yi-mI3uqa7dgcznEtDQzZrSJRD2YAb580n0TcW-WP65nOQq8e7HoUZP53ZtYnOvjkzQsfaEgqe9HkVEQt09vFB5o1GZAlfUmfeK4hZffPNowHKSavEIGk_kuativK0-sipGkUC7RIaXU_MixjrbLOYTYhfD78XlE9OJqDQ4FIJXfXBpF7w4ly-otILgwMvKmfZnYFkBTtPoTQRH5dRIIrV8ChiTp0t1sVam6crYJlFRfM6wDlxn8zf7zHlbu0vIt9PsYatiZ-xZZRB4OMFhMJQ1tfx777zkbMKFRjmcS4jV_r1t4Ps2_f2A5uRY"
            },
            {
              "date": "2026-12-06",
              "stage": "KV Ablation",
              "engine": "llama.cpp b12991 · UD-IQ2_M (222.2 GiB)",
              "config": "Pure-RAM Metal 4 fa_tensor: -ctk f16 (-ub 8192) vs q8_0 (-ub 4096) vs q4_0 @ 32K",
              "primary": "27.74 tok/s TG (24.25 @ 16K · 22.91 @ 32K)",
              "secondary": "387.2 PP@1K · 226.0 PP@4K · 189.9 PP@16K",
              "mem_io": "248.2 GB (231.2 GiB) Wired · 0.15 MB/s NVMe",
              "verify": "MLA f16 KV beats q8_0 (+19.6% PP, +10.5% TG) & q4_0 (+15.0% @ 32K) ✅",
              "repro": "llama-bench -m GLM-5.3-UD-IQ2_M-00001-of-00006.gguf -ngl 999 -fa on -lm mmap -b 8192 -ub 8192 -ctk f16 -ctv f16 -p 1024,4096,16384 -n 128"
            },
            {
              "date": "2026-12-06",
              "stage": "Optimal ★",
              "engine": "llama.cpp b12991 · UD-IQ2_M + NextN MTP",
              "config": "-b 8192 -ub 8192 -ctk f16 -ctv f16 -lm mmap --spec-type draft-mtp --spec-draft-n-max 4 (swept n=1/2/3/4 + ngram-mod)",
              "primary": "43.21 tok/s TG (18.8x vs 4-bit offload; 33.7 sustained)",
              "secondary": "387.2 PP@1K · 226.0 PP@4K · 80–83% MTP acc",
              "mem_io": "252.8 GB (235.4 GiB) Wired · 0.13 MB/s NVMe (0 Swap)",
              "verify": "6/6 Pass: Math 34196 (3.07s vs 56.6s), fib (5.21s vs 114.1s), Logic/LRU/RBTree ✅",
              "repro": "./models/llm/glm-5.3/run_pure_ram.sh /path/to/GLM-5.3-UD-IQ2_M-00001-of-00006.gguf mtp"
            }
          ]
        }
      ]
    },
    {
      "slug": "glm-5.3-flash",
      "name": "GLM-5.3-Flash",
      "category": "llm",
      "min_ram_gb": 256,
      "aa_score": 28,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "meta": {
        "slug": "glm-5.3-flash",
        "name": "GLM-5.3-Flash",
        "category": "llm",
        "family": "GLM",
        "params": "320B MoE (18B active, KDA + MTP)",
        "source_repo": "mlx-community/GLM-5.3-Flash-MLX-4bit-MTP",
        "license": "MIT",
        "min_ram_gb": 256,
        "summary": "320B MoE long-context monster: 168.1 tok/s peak decode and an astonishing 155.9 tok/s at 128K context on 256 GB M5 Ultra.",
        "aa_score": 28,
        "aa_metric": "AA Intelligence v5",
        "aa_url": "https://artificialanalysis.ai/leaderboards/models"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-4bit-mtp",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 256,
          "macos": "27.2",
          "engine": "oMLX 0.8.3",
          "quantization": "MLX 4-bit + MTP",
          "disk_gb": 182.0,
          "mode": "pure-ram",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "pp_1k_tok_s": 1610.0,
            "pp_4k_tok_s": 2374.0,
            "pp_16k_tok_s": 2374.0,
            "pp_32k_tok_s": 2364.0,
            "pp_128k_tok_s": 2287.0,
            "tg_peak_tok_s": 168.1,
            "tg_128k_tok_s": 155.9,
            "tg_batch4_tok_s": 88.4,
            "peak_wired_gb": 195.9,
            "speedup_vs_baseline": 2.36
          },
          "quality_check": {
            "passed": true,
            "summary": "3/3 deterministic checks passed"
          },
          "notes": "Pure RAM + MTP depth=5 + TurboQuant 8-bit KV keeps 128K decode nearly flat (168.1 -> 155.9 tok/s).",
          "recipe": {
            "omlx_recipe": "omlx-recipe:1:eNqNU1tywjAMvEu-mQ6BhKG5jEbEMnHj2MYPHtPp3aswQAkklF9rtdautN8ZrsF5kkpr6JSBaFsyIavyxXqWYR3VHqOyBqTLV0AGN5pEVknUgWaZIHKBqIV9kXNx67GDEARYKbXFO5zUGJqndml9TRCwc1qZ7e25ORWvyDpLQEdHPl5LT8QjEE9BCTIRpO9VWZNV849FydjoAAU6VkrQ4REEudhk1aV0o44-MfPuQGZZAhq6uVa7BMIezIB5Pgl9nHUCdk-WL8tJ3Fa8-3Fo0NPZCJvY938UxcYTCj6E9ShEJNT9wwuWN4TKFHii3rxXKJb44ptHA8pJVL9cjSfyrKoYl3UPWRWjkEC7RIbvVvON9oeymE-QXQz_Gy6f2E5EpcGhEJyCQQgv8OI8vqDaCoIDnzF32q-BZQU4TaNxCY7qqZVE6jgkGJOny3SxUabtx9gksaX43GEduN7mT_aZ-zZ2l5BT1e5ho2J_LmeWQeEhQsNiqBvq-Pe752yACa1yvJMQr_173cEgmefRfn4BizHDDA",
            "flags": {
              "mtp_adaptive_max_depth": 5,
              "turboquant_kv": "tq8"
            }
          },
          "profile_path": "models/llm/glm-5.3-flash/profiles/m5-ultra-256g-4bit-mtp.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/glm-5.3-flash/profiles/m5-ultra-256g-4bit-mtp.yaml",
          "roofline": {
            "kind": "llm_bw",
            "regime": "dram_bw",
            "gate": "roofline_optimal",
            "primary_pct": 75.6,
            "eta_bw_pct": 75.6,
            "eta_nvme_pct": 0.0,
            "effective_bw_gbs": 927.9,
            "chip_bw_gbs": 1228.0,
            "nvme_gbs": 0.0,
            "nvme_ceiling_gbs": 8.9,
            "decode_tok_s": 168.1,
            "active_gb_per_tok": 9.77,
            "mtp_mult": 1.77,
            "arch_breakdown": "4.90 GB KDA/dense + 4.87 GB routed (8/288 of 175.3 GB 4-bit)",
            "short_tag_en": "Roofline",
            "short_tag_zh": "硅片极限",
            "diagnosis_en": "Hits 75.6% of M5 Ultra DRAM ceiling (927.9 GB/s) via native M5 Q4A8(gs=64) gather_qmm + MTP5.",
            "diagnosis_zh": "通过 M5 原生 Q4A8(gs=64) gather_qmm 与 MTP5 跑满 927.9 GB/s（达理论带宽 75.6%，已贴近硅片物理极限）。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-12-01",
              "stage": "Baseline",
              "engine": "oMLX 0.8.3 · 4bit-MTP (182 GB)",
              "config": "Standard 4-bit single-token decode without MTP or wired sysctl tuning",
              "primary": "71.2 tok/s TG",
              "secondary": "1,006 PP@4K",
              "mem_io": "192.4 GB Wired · Pure RAM",
              "verify": "3/3 Deterministic Pass ✅",
              "repro": "omlx settings: mtp_enabled=false, turboquant_kv_enabled=false"
            },
            {
              "date": "2026-12-03",
              "stage": "Ablation",
              "engine": "oMLX 0.8.3 · 4bit-MTP",
              "config": "+Unlocked iogpu.wired_limit_mb=249036 + TurboQuant 8-bit KV + MTP depth=3",
              "primary": "119.5 tok/s TG",
              "secondary": "2,310 PP@4K",
              "mem_io": "195.2 GB Wired · Pure RAM",
              "verify": "3/3 Deterministic Pass ✅",
              "repro": "omlx settings: mtp_enabled=true, mtp_adaptive_max_depth=3, turboquant_kv_bits=8"
            },
            {
              "date": "2026-12-05",
              "stage": "Optimal ★",
              "engine": "oMLX 0.8.3 · 4bit-MTP",
              "config": "100% Pure RAM + Adaptive MTP depth=5 + TurboQuant 8-bit KV",
              "primary": "168.1 tok/s Peak TG (155.9 @ 128K!)",
              "secondary": "2,374 PP@4K (+136%) · 2,287 PP@128K",
              "mem_io": "195.9 GB Wired · 0 MB/s Swap",
              "verify": "3/3 Math(34196)/Code/Logic ✅",
              "repro": "omlx-recipe:1:eNqNU1tywjAMvEu-mQ6BhKG5jEbEMnHj2MYPHtPp3aswQAkklF9rtdautN8ZrsF5kkpr6JSBaFsyIavyxXqWYR3VHqOyBqTLV0AGN5pEVknUgWaZIHKBqIV9kXNx67GDEARYKbXFO5zUGJqndml9TRCwc1qZ7e25ORWvyDpLQEdHPl5LT8QjEE9BCTIRpO9VWZNV849FydjoAAU6VkrQ4REEudhk1aV0o44-MfPuQGZZAhq6uVa7BMIezIB5Pgl9nHUCdk-WL8tJ3Fa8-3Fo0NPZCJvY938UxcYTCj6E9ShEJNT9wwuWN4TKFHii3rxXKJb44ptHA8pJVL9cjSfyrKoYl3UPWRWjkEC7RIbvVvON9oeymE-QXQz_Gy6f2E5EpcGhEJyCQQgv8OI8vqDaCoIDnzF32q-BZQU4TaNxCY7qqZVE6jgkGJOny3SxUabtx9gksaX43GEduN7mT_aZ-zZ2l5BT1e5ho2J_LmeWQeEhQsNiqBvq-Pe752yACa1yvJMQr_173cEgmefRfn4BizHDDA"
            }
          ]
        }
      ]
    },
    {
      "slug": "hy4-flash",
      "name": "Hy4-Flash (224B MoE + Engram)",
      "category": "llm",
      "min_ram_gb": 192,
      "aa_score": 24,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "meta": {
        "slug": "hy4-flash",
        "name": "Hy4-Flash (224B MoE + Engram)",
        "category": "llm",
        "family": "Hy4",
        "params": "224B MoE + 64B Engram",
        "source_repo": "mlx-community/Hy4-flash-oQ4h-mtp",
        "license": "Open Weights",
        "min_ram_gb": 192,
        "summary": "Pure-RAM 132 GB MoE+Engram flagship: 2,558 tok/s PP@16K, 77.2 tok/s peak decode, 66.3 tok/s at 128K.",
        "aa_score": 24,
        "aa_metric": "AA Intelligence v5",
        "aa_url": "https://artificialanalysis.ai/leaderboards/models"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-oq4h-mtp",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 192,
          "macos": "27.2",
          "engine": "oMLX 0.8.3",
          "quantization": "oQ4h-MTP (4-bit)",
          "disk_gb": 132.0,
          "mode": "pure-ram",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "pp_1k_tok_s": 1980.0,
            "pp_4k_tok_s": 2503.0,
            "pp_16k_tok_s": 2558.0,
            "pp_32k_tok_s": 2554.0,
            "pp_128k_tok_s": 2484.0,
            "tg_peak_tok_s": 77.2,
            "tg_128k_tok_s": 66.3,
            "tg_batch4_tok_s": 57.0,
            "peak_wired_gb": 149.8,
            "speedup_vs_baseline": 1.67
          },
          "quality_check": {
            "passed": true,
            "summary": "3/3 deterministic checks passed"
          },
          "notes": "Pure RAM (no offload) + MTP5 + lossless BF16 KV.",
          "recipe": {
            "omlx_recipe": "omlx-recipe:1:eNqNU-1uwjAMfJf-RhOFghgvY5nGoVnTJOQDNk179zkIGKUt419lX653Z_u7wA04T1JpDZ0yEG1LJhTbcrGZFVhHdcSorAHpyjWQwZ0mUWwl6kCzQhC5QNTCsSq5uffYQQgCrJTa4h1OagzN4Lm0viYI2DmtzP5Wbr6qZ2SdJaBPRz5eWwPiEYinoASZCNJnV9YU2_nbYsXY6AAFOnZK0OEnCHKxKbaX1o06-sTMhxOZ5QrQ0C212iUQ9mR6zPNJ6KPWCdg9WblcTeL24tUfhwY9nYOwiXP_x1FsPKHgRdiMQkRCnQtPWF4wKlNgRTm8Zyi2-OQ3jwGsJlF5uBq_yLOratzWPWRdjUICHRIZ3lvNO5oXZTGfILsE_ieunJhORKXBoRB8Bb0jvMCrs3xBtRUEJ15jfmk_epFV4DSNnktwVE-NJFLHR4IxecrRvXOlUabNMnZJ7CkOX1gH7VlY_nIXT0yws4eEfF7tEXYq5r0ZNgZkvW6oG-pYx1256GFCqxxPJ8TrNhx1B70bPfP-_ALbXMYZ",
            "flags": {
              "mtp_adaptive_max_depth": 5,
              "turboquant_kv": false
            }
          },
          "profile_path": "models/llm/hy4-flash/profiles/m5-ultra-256g-oq4h-mtp.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/hy4-flash/profiles/m5-ultra-256g-oq4h-mtp.yaml",
          "roofline": {
            "kind": "llm_bw",
            "regime": "dram_bw",
            "gate": "kernel_bottleneck",
            "primary_pct": 39.7,
            "eta_bw_pct": 39.7,
            "eta_nvme_pct": 0.0,
            "effective_bw_gbs": 487.7,
            "chip_bw_gbs": 1228.0,
            "nvme_gbs": 0.0,
            "nvme_ceiling_gbs": 8.9,
            "decode_tok_s": 77.2,
            "active_gb_per_tok": 10.55,
            "mtp_mult": 1.67,
            "arch_breakdown": "7.91 GB dense/attn + 2.61 GB routed (16/512 of 83.5 GB) + 39.7 GB Engram lookup",
            "short_tag_en": "Kernel Bound",
            "short_tag_zh": "待攻关",
            "diagnosis_en": "Kernel Bottleneck: 16-of-512 scattered expert gather + 4-layer Engram random lookup limits effective BW to 487.7 GB/s (39.7%). Next target: sorted expert coalescing + fused Engram projection.",
            "diagnosis_zh": "Kernel Bottleneck：16/512 细粒度专家离散读取与 4 层 Engram 随机查表限制有效带宽在 487.7 GB/s（39.7%）；下一步攻关专家访存合并与 Engram 融合投影。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-12-02",
              "stage": "Baseline",
              "engine": "oMLX 0.8.3 · oQ4h-mtp (132 GB)",
              "config": "Default hybrid MoE load without MTP",
              "primary": "46.2 tok/s TG",
              "secondary": "1,498 PP@4K",
              "mem_io": "148.2 GB Wired · Pure RAM",
              "verify": "3/3 Deterministic Pass ✅",
              "repro": "omlx settings: mtp_enabled=false, hy4_engram_ssd_offload=false"
            },
            {
              "date": "2026-12-05",
              "stage": "Optimal ★",
              "engine": "oMLX 0.8.3 · oQ4h-mtp",
              "config": "Pure RAM (no Engram SSD needed at 149.8 GB) + Adaptive MTP depth=5 + Lossless BF16 KV",
              "primary": "77.2 tok/s Peak TG (66.3 @ 128K)",
              "secondary": "2,558 PP@16K (+67%) · 2,484 PP@128K",
              "mem_io": "149.8 GB Wired · Pure RAM",
              "verify": "3/3 Math/Code/Logic Pass ✅",
              "repro": "omlx-recipe:1:eNqNU-1uwjAMfJf-RhOFghgvY5nGoVnTJOQDNk179zkIGKUt419lX653Z_u7wA04T1JpDZ0yEG1LJhTbcrGZFVhHdcSorAHpyjWQwZ0mUWwl6kCzQhC5QNTCsSq5uffYQQgCrJTa4h1OagzN4Lm0viYI2DmtzP5Wbr6qZ2SdJaBPRz5eWwPiEYinoASZCNJnV9YU2_nbYsXY6AAFOnZK0OEnCHKxKbaX1o06-sTMhxOZ5QrQ0C212iUQ9mR6zPNJ6KPWCdg9WblcTeL24tUfhwY9nYOwiXP_x1FsPKHgRdiMQkRCnQtPWF4wKlNgRTm8Zyi2-OQ3jwGsJlF5uBq_yLOratzWPWRdjUICHRIZ3lvNO5oXZTGfILsE_ieunJhORKXBoRB8Bb0jvMCrs3xBtRUEJ15jfmk_epFV4DSNnktwVE-NJFLHR4IxecrRvXOlUabNMnZJ7CkOX1gH7VlY_nIXT0yws4eEfF7tEXYq5r0ZNgZkvW6oG-pYx1256GFCqxxPJ8TrNhx1B70bPfP-_ALbXMYZ"
            }
          ]
        }
      ]
    },
    {
      "slug": "inkling-2-mini",
      "name": "Inkling-2-Mini",
      "category": "llm",
      "min_ram_gb": 24,
      "aa_score": 13,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "meta": {
        "slug": "inkling-2-mini",
        "name": "Inkling-2-Mini",
        "category": "llm",
        "family": "Inkling",
        "params": "Loop Transformer + MTP",
        "source_repo": "mlx-community/Inkling-2-Mini-oQ4e-mtp",
        "license": "Open Weights",
        "min_ram_gb": 24,
        "summary": "Compact Loop Transformer with MTP speculative heads: 3,714 tok/s PP@4K (+121%) and 102.8 tok/s TG (+85%).",
        "aa_score": 13,
        "aa_metric": "AA Intelligence v5",
        "aa_url": "https://artificialanalysis.ai/leaderboards/models"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-oq4e-mtp",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 24,
          "macos": "27.2",
          "engine": "oMLX 0.8.3",
          "quantization": "oQ4e-MTP (4-bit)",
          "disk_gb": 16.9,
          "mode": "pure-ram",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "pp_1k_tok_s": 3006.0,
            "pp_4k_tok_s": 3714.0,
            "pp_16k_tok_s": 3639.0,
            "pp_32k_tok_s": 3381.0,
            "pp_64k_tok_s": 2788.0,
            "tg_peak_tok_s": 102.8,
            "tg_batch4_tok_s": 129.6,
            "peak_wired_gb": 46.5,
            "speedup_vs_baseline": 2.21
          },
          "quality_check": {
            "passed": true,
            "summary": "3/3 deterministic checks passed"
          },
          "notes": "Pure RAM + MTP depth=5 + lossless BF16 KV.",
          "recipe": {
            "omlx_recipe": "omlx-recipe:1:eNqNU9tuwjAM_Zc-o4myghA_Y5nGoVnTJOTCRdP-fS4qrIW249U-PvY5tr8z3ILzJJXW0CgD0dZkQrbLV9tFhmVUJ4zKGpAu3wAZ3GsS2U6iDrTIBJELRDWcipyTB48NhCDASqkt9nBSY6heyqX1JUHAxmllDo9wdS3myBpLQBdHPt5TL8QjEE9BCTIRpG9VWZPtlh-rNWOjAxToWClBgxcQ5GKV7brUgzr6xMzHM5nPNaChh2ulSyDs2QyYl5PQ51knYH2y_HM9iTuIdxuHCj3djLCJff9HUaw8oeBD2I5CRELdBmZY3hAqU-CJWvPmUCxxps2zAetJVLtcjVfyrKoYl9WHbIpRSKBjIsN3q_lG20NZLSfIOsP_hssnthNRaXAoBH_B4Ak7eHEbX1BpBcGZz5gr7dfAsgKcptF3CY7KqZVEavhJMCZP3XSxUqZux9gncaD4WpH83h4T8iPVJ9ir2Hp5Kxwk5stCWVHDHXvhbIAJtXK8hxDvez_pBgbfeOP9-QUoYr-7",
            "flags": {
              "mtp_adaptive_max_depth": 5,
              "turboquant_kv": false
            }
          },
          "profile_path": "models/llm/inkling-2-mini/profiles/m5-ultra-256g-oq4e-mtp.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/inkling-2-mini/profiles/m5-ultra-256g-oq4e-mtp.yaml",
          "roofline": {
            "kind": "llm_bw",
            "regime": "dram_bw",
            "gate": "kernel_bottleneck",
            "primary_pct": 23.6,
            "eta_bw_pct": 23.6,
            "eta_nvme_pct": 0.0,
            "effective_bw_gbs": 289.3,
            "chip_bw_gbs": 1228.0,
            "nvme_gbs": 0.0,
            "nvme_ceiling_gbs": 8.9,
            "decode_tok_s": 102.8,
            "active_gb_per_tok": 6.22,
            "mtp_mult": 2.21,
            "arch_breakdown": "Loop Transformer (layers 6–17 execute 3 passes -> 6.22 GB effective read/tok; MTP5=2.21x)",
            "short_tag_en": "Kernel Bound",
            "short_tag_zh": "待攻关",
            "diagnosis_en": "Kernel Bottleneck: 3-pass recurrent loop executes 48 serial MoE dispatches on compact 129 MB/pass slices (289.3 GB/s, 23.6%). Next target: multi-pass Metal command buffer fusion.",
            "diagnosis_zh": "Kernel Bottleneck：Loop Transformer 中间层循环执行 3 轮（等效 48 层串行小矩阵调度，每轮仅 129 MB），有效带宽 289.3 GB/s（23.6%）；下一步攻关跨循环轮次 Metal 命令缓冲融合。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-12-02",
              "stage": "Baseline",
              "engine": "oMLX 0.8.3 · oQ4e-mtp (16.9 GB)",
              "config": "Single-token Loop Transformer decode without MTP",
              "primary": "55.5 tok/s TG",
              "secondary": "1,680 PP@4K",
              "mem_io": "44.8 GB Wired · Pure RAM",
              "verify": "3/3 Deterministic Pass ✅",
              "repro": "omlx settings: mtp_enabled=false"
            },
            {
              "date": "2026-12-05",
              "stage": "Optimal ★",
              "engine": "oMLX 0.8.3 · oQ4e-mtp",
              "config": "Pure RAM + Adaptive MTP depth=5 + Lossless BF16 KV",
              "primary": "102.8 tok/s TG (+85%)",
              "secondary": "3,714 PP@4K (+121%) · 2,788 PP@64K",
              "mem_io": "46.5 GB Wired · Pure RAM",
              "verify": "3/3 Math/Code/Logic Pass ✅",
              "repro": "omlx-recipe:1:eNqNU9tuwjAM_Zc-o4myghA_Y5nGoVnTJOTCRdP-fS4qrIW249U-PvY5tr8z3ILzJJXW0CgD0dZkQrbLV9tFhmVUJ4zKGpAu3wAZ3GsS2U6iDrTIBJELRDWcipyTB48NhCDASqkt9nBSY6heyqX1JUHAxmllDo9wdS3myBpLQBdHPt5TL8QjEE9BCTIRpG9VWZPtlh-rNWOjAxToWClBgxcQ5GKV7brUgzr6xMzHM5nPNaChh2ulSyDs2QyYl5PQ51knYH2y_HM9iTuIdxuHCj3djLCJff9HUaw8oeBD2I5CRELdBmZY3hAqU-CJWvPmUCxxps2zAetJVLtcjVfyrKoYl9WHbIpRSKBjIsN3q_lG20NZLSfIOsP_hssnthNRaXAoBH_B4Ak7eHEbX1BpBcGZz5gr7dfAsgKcptF3CY7KqZVEavhJMCZP3XSxUqZux9gncaD4WpH83h4T8iPVJ9ir2Hp5Kxwk5stCWVHDHXvhbIAJtXK8hxDvez_pBgbfeOP9-QUoYr-7"
            }
          ]
        }
      ]
    },
    {
      "slug": "muse-spark-open-816b",
      "name": "Muse-Spark-Open-816B-A42B",
      "category": "llm",
      "min_ram_gb": 256,
      "aa_score": 25,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "meta": {
        "slug": "muse-spark-open-816b",
        "name": "Muse-Spark-Open-816B-A42B",
        "category": "llm",
        "family": "Muse",
        "params": "820B MoE (42B active)",
        "source_repo": "unsloth/Muse-Spark-Open-816B-A42B-GGUF",
        "license": "Open Weights",
        "min_ram_gb": 256,
        "summary": "820B MoE fit 100% into 256 GB unified memory via Unsloth UD-IQ2_XXS (210 GiB) on llama.cpp Metal 4: 711.9 PP / 30.5 TG / 80K zero-swap.",
        "aa_score": 25,
        "aa_metric": "AA Intelligence v5",
        "aa_url": "https://artificialanalysis.ai/leaderboards/models"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-ud-iq2-xxs-llamacpp",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 256,
          "macos": "27.2",
          "engine": "llama.cpp b12991 (Metal 4 fa_tensor)",
          "quantization": "GGUF UD-IQ2_XXS (2.06 bpw)",
          "disk_gb": 225.6,
          "mode": "pure-ram",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "pp_4k_tok_s": 711.9,
            "pp_16k_tok_s": 662.5,
            "pp_80k_tok_s": 392.5,
            "tg_peak_tok_s": 30.53,
            "tg_80k_tok_s": 24.1,
            "peak_wired_gb": 226.0,
            "ssd_mean_mb_s": 0.5,
            "speedup_vs_baseline": 1.33
          },
          "quality_check": {
            "passed": true,
            "summary": "6/6 hard reasoning & coding checks (incl. 12-ball puzzle & LRU cache) with anti-loop sampling"
          },
          "notes": "Use `-b 8192 -ub 8192 -ctk f16 -ctv f16 -lm mmap` for <=32K (+32.6% PP vs default -ub 512; lossless f16 beats q8_0 by +7.6% on Metal 4 fa_tensor). Switch to `-ctk q4_0 -ctv q4_0 -ub 4096` for 48K–80K zero-swap. Never sample at temp=0 (causes thinking-loop); use temp=0.6, top_p=0.95, min_p=0.01, presence_penalty=0.5.",
          "recipe": {
            "launch_cmd": "llama-server -m Muse-Spark-Open-816B-A42B-UD-IQ2_XXS-00001-of-00006.gguf --host 127.0.0.1 --port 18080 -ngl 999 -fa on -lm mmap -b 8192 -ub 8192 -ctk f16 -ctv f16 -c 32768 --jinja",
            "script": "models/llm/muse-spark-open-816b/run.sh"
          },
          "profile_path": "models/llm/muse-spark-open-816b/profiles/m5-ultra-256g-ud-iq2-xxs-llamacpp.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/muse-spark-open-816b/profiles/m5-ultra-256g-ud-iq2-xxs-llamacpp.yaml",
          "roofline": {
            "kind": "llm_bw",
            "regime": "dram_bw",
            "gate": "kernel_bottleneck",
            "primary_pct": 36.8,
            "eta_bw_pct": 36.8,
            "eta_nvme_pct": 0.0,
            "effective_bw_gbs": 451.8,
            "chip_bw_gbs": 1228.0,
            "nvme_gbs": 0.0,
            "nvme_ceiling_gbs": 8.9,
            "decode_tok_s": 30.53,
            "active_gb_per_tok": 14.8,
            "mtp_mult": 1.0,
            "arch_breakdown": "42B active @ UD-IQ2_XXS (mixed Q4/IQ2 attention/shared + 2.06 bpw experts)",
            "short_tag_en": "Kernel Bound",
            "short_tag_zh": "待攻关",
            "diagnosis_en": "Kernel Bottleneck: IQ2_XXS grid codebook LUT unpack caps Metal mul_mat_id at ~452 GB/s (36.8%), plus no MTP head. Next target: Metal 4 SIMD grid unpack + external draft head.",
            "diagnosis_zh": "Kernel Bottleneck：IQ2_XXS 网格码本反量化在 mul_mat_id 下受限于 ~451.8 GB/s（36.8%）且无内置 MTP 头；下一步攻关 Metal 4 SIMD 码本展开与轻量 Draft 头挂载。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-12-01",
              "stage": "Baseline",
              "engine": "llama.cpp b12991 · UD-IQ2_XXS (210 GiB)",
              "config": "Default -b 2048 -ub 512 -ctk f16 -lm mmap",
              "primary": "30.53 tok/s TG",
              "secondary": "536.7 PP@4K (small ubatch starves 80c GPU)",
              "mem_io": "225.4 GB Wired · 1.0 MB/s NVMe",
              "verify": "Zero-swap verified ✅",
              "repro": "llama-bench -m Muse-Spark-Open-816B-A42B-UD-IQ2_XXS-00001-of-00006.gguf -ngl 999 -fa 1 -b 2048 -ub 512"
            },
            {
              "date": "2026-12-03",
              "stage": "Ablation",
              "engine": "llama.cpp b12991 · UD-IQ2_XXS",
              "config": "Tested -lm none / -lm dio & -ctk q8_0 at -b 8192 -ub 8192",
              "primary": "29.54 tok/s TG",
              "secondary": "682.6 PP@4K (q8_0 slower than native fa_tensor f16!)",
              "mem_io": "dio re-reads 8.1 GB/s NVMe unnecessarily",
              "verify": "Confirmed -lm mmap mandatory ✅",
              "repro": "llama-bench -m ... -ngl 999 -fa 1 -b 8192 -ub 8192 -ctk q8_0 -lm mmap"
            },
            {
              "date": "2026-12-05",
              "stage": "Optimal ★",
              "engine": "llama.cpp b12991 Metal 4 fa_tensor",
              "config": "100% Pure RAM -b 8192 -ub 8192 -ctk f16 -ctv f16 -lm mmap (-ctk q4_0 for 80K)",
              "primary": "30.5 tok/s TG (24.1 tok/s @ 80K!)",
              "secondary": "711.9 PP@4K (+32.6%) · 662.5 PP@16K · 392.5 PP@80K",
              "mem_io": "226.0 GB Wired · 0.5 MB/s NVMe (Zero Swap)",
              "verify": "6/6 Hard Puzzles (12-ball & LRU) Pass ✅",
              "repro": "llama-server -m Muse-Spark-Open-816B-A42B-UD-IQ2_XXS-00001-of-00006.gguf -ngl 999 -fa on -lm mmap -b 8192 -ub 8192 -ctk f16 -ctv f16 -c 32768 --jinja"
            }
          ]
        }
      ]
    },
    {
      "slug": "qwen3.6-35b-a3b",
      "name": "Qwen3.6-35B-A3B",
      "category": "llm",
      "min_ram_gb": 32,
      "aa_score": 19,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "meta": {
        "slug": "qwen3.6-35b-a3b",
        "name": "Qwen3.6-35B-A3B",
        "category": "llm",
        "family": "Qwen",
        "params": "35B MoE (3B active, Hybrid GDN)",
        "source_repo": "mlx-community/Qwen3.6-35B-A3B-4bit",
        "license": "Apache-2.0",
        "min_ram_gb": 32,
        "summary": "Speed demon 35B sparse MoE: 11,086.6 tok/s PP@2K (+38% vs Dual-ANE), 181.1 tok/s single-stream TG, 473.9 tok/s Batch-4 throughput.",
        "aa_score": 19,
        "aa_metric": "AA Intelligence v5",
        "aa_url": "https://artificialanalysis.ai/leaderboards/models"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-4bit-q4a8",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 32,
          "macos": "27.2",
          "engine": "oMLX 0.8.3",
          "quantization": "MLX 4-bit (gs=64)",
          "disk_gb": 20.4,
          "mode": "pure-ram",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "pp_2k_tok_s": 11086.6,
            "pp_4k_tok_s": 10233.0,
            "pp_16k_tok_s": 10257.0,
            "pp_32k_tok_s": 8802.0,
            "pp_64k_tok_s": 6627.0,
            "tg_peak_tok_s": 181.1,
            "tg_64k_tok_s": 143.4,
            "tg_batch4_tok_s": 473.9,
            "peak_wired_gb": 42.5,
            "speedup_vs_baseline": 2.49
          },
          "quality_check": {
            "passed": true,
            "summary": "Verified in thinking mode"
          },
          "notes": "Disable Dual-ANE on M5 (+38.1% faster with Q4A8!) and disable TurboQuant KV (+38% decode: 131.3 -> 181.1 tok/s).",
          "recipe": {
            "omlx_recipe": "omlx-recipe:1:eNqNU9lygzAM_BeeO50khUyan9EoWAYXYzs-ckyn_16R5oACmbwx1u6iXUnfGW7AeZJKayCDO00i20af6K1faZWBaBsyIduucy6VUR0wKmtAuuX6wZSoA1MFkQtEDRzyJRcrjy2EIMBKqS32cFJjqEd0aX1JELB1Wpnq_lyf82dirSWgkyMfb6WR8ATEU1CCTATpO1fWZNvF-6pgbHQj_v5I5qMANHSPpnQJhD2aAX8xC31RsS-2_ChmcZV49cehRk8XuzZxurchz6Bj7QkFT3szCREJdffwROUFozIF7qgL7xmKLT75zf8AillUiyfQeCbPrvJpW31It-YTkED7RIa3U_MmxjrbrhYzYtfAH80tZ6YTUWlwKATv-uDSrvD80r6g0gqCIy8rM-3XILIcnKbJowiOyrmRRGr5FDAmT9fuYq1M07WxS6KiOGZYB03n-e_TdYl_cuQssbP7hHxGzQF2KnYZXwQHhZHcoBrKmlrupPecDTChUY7nE-JtHw66hfGZ_vwCYSvGGg",
            "flags": {
              "a8_prefill_enabled": true,
              "a8_prefill_min_tokens": 64,
              "qwen35_ane_prefill_enabled": false,
              "turboquant_kv": false
            }
          },
          "profile_path": "models/llm/qwen3.6-35b-a3b/profiles/m5-ultra-256g-4bit-q4a8.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/qwen3.6-35b-a3b/profiles/m5-ultra-256g-4bit-q4a8.yaml",
          "roofline": {
            "kind": "llm_bw",
            "regime": "dram_bw",
            "gate": "kernel_bottleneck",
            "primary_pct": 24.6,
            "eta_bw_pct": 24.6,
            "eta_nvme_pct": 0.0,
            "effective_bw_gbs": 302.4,
            "chip_bw_gbs": 1228.0,
            "nvme_gbs": 0.0,
            "nvme_ceiling_gbs": 8.9,
            "decode_tok_s": 181.1,
            "active_gb_per_tok": 1.67,
            "mtp_mult": 1.0,
            "arch_breakdown": "1.10 GB GDN/dense + 0.57 GB routed (8/256 of 18.12 GB 4-bit = 41.8 MB/layer)",
            "short_tag_en": "Kernel Bound",
            "short_tag_zh": "待攻关",
            "diagnosis_en": "Kernel Bottleneck: Only 41.8 MB read per layer across 40 GDN+MoE layers — bound by Metal command-buffer dispatch & gather_qmm latency (302.4 GB/s, 24.6%; jumps to 473.9 tok/s @ batch=4). Next target: Metal ICB graph capture + built-in MTP head activation.",
            "diagnosis_zh": "Kernel Bottleneck：每层仅读取 41.8 MB（总激活 1.67 GB），受限于 40 层 GDN+MoE 串行调度与 gather_qmm 延迟（302.4 GB/s，24.6%；Batch=4 跃升至 473.9 tok/s）；下一步攻关 Metal ICB 图捕获与内置 MTP 头启用。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-11-30",
              "stage": "Baseline",
              "engine": "oMLX 0.8.3 · MLX 4-bit (gs=64)",
              "config": "Legacy M3/M4 Dual-ANE hybrid prefill (ane-tune calibrated)",
              "primary": "112.4 tok/s TG",
              "secondary": "8,029.3 PP@2K (ANE dispatch bottleneck)",
              "mem_io": "41.8 GB Wired · Pure RAM",
              "verify": "3/3 Reasoning Pass ✅",
              "repro": "omlx settings: qwen35_ane_prefill_enabled=true, a8_prefill_enabled=false"
            },
            {
              "date": "2026-12-03",
              "stage": "Ablation",
              "engine": "oMLX 0.8.3 · MLX 4-bit",
              "config": "Disabled ANE + enabled M5 Q4A8(m64) + TQ8 KV (unnecessary on Hybrid GDN)",
              "primary": "131.3 tok/s TG",
              "secondary": "10,190 PP@4K",
              "mem_io": "40.2 GB Wired · Pure RAM",
              "verify": "3/3 Reasoning Pass ✅",
              "repro": "omlx settings: qwen35_ane_prefill_enabled=false, a8_prefill_enabled=true, turboquant_kv_bits=8"
            },
            {
              "date": "2026-12-05",
              "stage": "Optimal ★",
              "engine": "oMLX 0.8.3 · MLX 4-bit",
              "config": "Pure GPU M5 Q4A8(m64) + Lossless BF16 KV (only 1/4 layers use full KV)",
              "primary": "181.1 tok/s TG (473.9 Batch-4!)",
              "secondary": "11,086.6 PP@2K (+38.1% vs ANE) · 10,257 PP@16K",
              "mem_io": "42.5 GB Wired · Pure RAM",
              "verify": "3/3 Deterministic Pass ✅",
              "repro": "omlx-recipe:1:eNqNU9lygzAM_BeeO50khUyan9EoWAYXYzs-ckyn_16R5oACmbwx1u6iXUnfGW7AeZJKayCDO00i20af6K1faZWBaBsyIduucy6VUR0wKmtAuuX6wZSoA1MFkQtEDRzyJRcrjy2EIMBKqS32cFJjqEd0aX1JELB1Wpnq_lyf82dirSWgkyMfb6WR8ATEU1CCTATpO1fWZNvF-6pgbHQj_v5I5qMANHSPpnQJhD2aAX8xC31RsS-2_ChmcZV49cehRk8XuzZxurchz6Bj7QkFT3szCREJdffwROUFozIF7qgL7xmKLT75zf8AillUiyfQeCbPrvJpW31It-YTkED7RIa3U_MmxjrbrhYzYtfAH80tZ6YTUWlwKATv-uDSrvD80r6g0gqCIy8rM-3XILIcnKbJowiOyrmRRGr5FDAmT9fuYq1M07WxS6KiOGZYB03n-e_TdYl_cuQssbP7hHxGzQF2KnYZXwQHhZHcoBrKmlrupPecDTChUY7nE-JtHw66hfGZ_vwCYSvGGg"
            }
          ]
        }
      ]
    },
    {
      "slug": "qwen3.8-27b",
      "name": "Qwen3.8-27B",
      "category": "llm",
      "min_ram_gb": 24,
      "aa_score": 20,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "meta": {
        "slug": "qwen3.8-27b",
        "name": "Qwen3.8-27B",
        "category": "llm",
        "family": "Qwen",
        "params": "27B Dense (Native Multimodal)",
        "source_repo": "mlx-community/Qwen3.8-27B-4bit",
        "license": "Apache-2.0",
        "min_ram_gb": 24,
        "summary": "Dense 27B multimodal workhorse fitting 24 GB Macs; on M5 Ultra, Q4A8(m64) beats tuned Dual-ANE by +57.1% (2,768.6 tok/s PP@2K).",
        "aa_score": 20,
        "aa_metric": "AA Intelligence v5",
        "aa_url": "https://artificialanalysis.ai/leaderboards/models"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-4bit-q4a8",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 24,
          "macos": "27.2",
          "engine": "oMLX 0.8.3",
          "quantization": "MLX 4-bit (gs=64)",
          "disk_gb": 16.1,
          "mode": "pure-ram",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "pp_2k_tok_s": 2768.6,
            "pp_4k_tok_s": 2557.0,
            "pp_16k_tok_s": 2630.0,
            "pp_32k_tok_s": 2417.0,
            "tg_peak_tok_s": 52.1,
            "tg_64k_tok_s": 41.6,
            "tg_batch4_tok_s": 156.5,
            "peak_wired_gb": 43.8,
            "speedup_vs_baseline": 1.68
          },
          "quality_check": {
            "passed": true,
            "summary": "3/3 deterministic checks passed"
          },
          "notes": "Disable Dual-ANE on M5 (`ane-tune` max 1,762.5 vs M5 Q4A8 2,768.6 tok/s = +57.1%). Keep BF16 KV lossless.",
          "recipe": {
            "omlx_recipe": "omlx-recipe:1:eNqNU9lygzAM_BeeO50khUyan9EoWAYXYzs-ckyn_16R5oACmbwx1u6iXUnfGW7AeZJKayCDO00i20af6K1faZWBaBsyIduucy6VUR0wKmtAuuX6wZSoA1MFkQtEDRzyJRcrjy2EIMBKqS32cFJjqEd0aX1JELB1Wpnq_lyf82dirSWgkyMfb6WR8ATEU1CCTATpO1fWZNvF-6pgbHQj_v5I5qMANHSPpnQJhD2aAX8xC31RsS-2_ChmcZV49cehRk8XuzZxurchz6Bj7QkFT3szCREJdffwROUFozIF7qgL7xmKLT75zf8AillUiyfQeCbPrvJpW31It-YTkED7RIa3U_MmxjrbrhYzYtfAH80tZ6YTUWlwKATv-uDSrvD80r6g0gqCIy8rM-3XILIcnKbJowiOyrmRRGr5FDAmT9fuYq1M07WxS6KiOGZYB03n-e_TdYl_cuQssbP7hHxGzQF2KnabcxEcFEZyg2ooa2q5k95zNsCERjmeT4i3fTjoFsZn-vMLYxPGHg",
            "flags": {
              "a8_prefill_enabled": true,
              "a8_prefill_min_tokens": 64,
              "qwen35_ane_prefill_enabled": false,
              "turboquant_kv": false
            }
          },
          "profile_path": "models/llm/qwen3.8-27b/profiles/m5-ultra-256g-4bit-q4a8.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/qwen3.8-27b/profiles/m5-ultra-256g-4bit-q4a8.yaml",
          "roofline": {
            "kind": "llm_bw",
            "regime": "dram_bw",
            "gate": "near_roofline",
            "primary_pct": 61.2,
            "eta_bw_pct": 61.2,
            "eta_nvme_pct": 0.0,
            "effective_bw_gbs": 751.3,
            "chip_bw_gbs": 1228.0,
            "nvme_gbs": 0.0,
            "nvme_ceiling_gbs": 8.9,
            "decode_tok_s": 52.1,
            "active_gb_per_tok": 14.42,
            "mtp_mult": 1.0,
            "arch_breakdown": "14.42 GB dense 4-bit text weights (gs=64, excl. 0.92 GB ViT)",
            "short_tag_en": "Near-Peak",
            "short_tag_zh": "准极限",
            "diagnosis_en": "Sustains 751.3 GB/s (61.2% Near-Roofline) on pure M=1 dense GEMV across 64 layers; reaches >85% DRAM Roofline at batch=4 (156.5 tok/s) or with speculative drafter.",
            "diagnosis_zh": "64 层稠密 M=1 单并发 GEMV 实测达 751.3 GB/s（61.2% 准物理极限）；并发 Batch=4（156.5 tok/s）或挂载同族 Draft 模型即可突破 80%+ 带宽利用率。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-12-01",
              "stage": "Baseline",
              "engine": "oMLX 0.8.3 · MLX 4-bit",
              "config": "Default A16 prefill vs 10-round tuned Dual-ANE (MLP 15%, GDN 37.5%)",
              "primary": "50.8 tok/s TG",
              "secondary": "1,627 PP@2K (A16) · 1,762.5 PP@2K (Dual-ANE)",
              "mem_io": "43.5 GB Wired · Pure RAM",
              "verify": "3/3 Deterministic Pass ✅",
              "repro": "m5_bench_lab.py ane-tune Qwen3.8-27B-4bit --seq 2048"
            },
            {
              "date": "2026-12-05",
              "stage": "Optimal ★",
              "engine": "oMLX 0.8.3 · MLX 4-bit",
              "config": "Disabled ANE + M5 Native Q4A8(m64) + Lossless BF16 KV",
              "primary": "52.1 tok/s TG (156.5 Batch-4)",
              "secondary": "2,768.6 PP@2K (+57.1% vs ANE) · 2,630 PP@16K",
              "mem_io": "43.8 GB Wired · Pure RAM",
              "verify": "3/3 Math/Code/Logic Pass ✅",
              "repro": "omlx-recipe:1:eNqNU9lygzAM_BeeO50khUyan9EoWAYXYzs-ckyn_16R5oACmbwx1u6iXUnfGW7AeZJKayCDO00i20af6K1faZWBaBsyIduucy6VUR0wKmtAuuX6wZSoA1MFkQtEDRzyJRcrjy2EIMBKqS32cFJjqEd0aX1JELB1Wpnq_lyf82dirSWgkyMfb6WR8ATEU1CCTATpO1fWZNvF-6pgbHQj_v5I5qMANHSPpnQJhD2aAX8xC31RsS-2_ChmcZV49cehRk8XuzZxurchz6Bj7QkFT3szCREJdffwROUFozIF7qgL7xmKLT75zf8AillUiyfQeCbPrvJpW31It-YTkED7RIa3U_MmxjrbrhYzYtfAH80tZ6YTUWlwKATv-uDSrvD80r6g0gqCIy8rM-3XILIcnKbJowiOyrmRRGr5FDAmT9fuYq1M07WxS6KiOGZYB03n-e_TdYl_cuQssbP7hHxGzQF2KnabcxEcFEZyg2ooa2q5k95zNsCERjmeT4i3fTjoFsZn-vMLYxPGHg"
            }
          ]
        }
      ]
    },
    {
      "slug": "qwen3.8-flash-next",
      "name": "Qwen3.8-Flash-Next",
      "category": "llm",
      "min_ram_gb": 128,
      "aa_score": 28,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "meta": {
        "slug": "qwen3.8-flash-next",
        "name": "Qwen3.8-Flash-Next",
        "category": "llm",
        "family": "Qwen",
        "params": "180B Hybrid (125B MoE + 51B N-gram + 4B MTP, 6B active)",
        "source_repo": "mlx-community/Qwen3.8-Flash-Next-oQ8e-mtp",
        "license": "Apache-2.0",
        "min_ram_gb": 128,
        "summary": "Near-lossless 8-bit (`oQ8e`, gs=64) unlocks M5 Q8A8 + WideProj to hit 5,700 tok/s PP@32K, 5,390 tok/s PP@128K, and 138.5 tok/s TG.",
        "aa_score": 28,
        "aa_metric": "AA Intelligence v5",
        "aa_url": "https://artificialanalysis.ai/leaderboards/models"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-oq8e-mtp",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 256,
          "macos": "27.2",
          "engine": "oMLX 0.8.3",
          "quantization": "oQ8e-MTP (8-bit gs=64)",
          "disk_gb": 195.0,
          "mode": "pure-ram",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "pp_1k_tok_s": 2773.0,
            "pp_4k_tok_s": 5069.0,
            "pp_16k_tok_s": 5699.0,
            "pp_32k_tok_s": 5693.0,
            "pp_64k_tok_s": 5525.0,
            "pp_128k_tok_s": 5390.0,
            "tg_peak_tok_s": 138.5,
            "tg_128k_tok_s": 92.3,
            "tg_batch4_tok_s": 122.1,
            "peak_wired_gb": 212.9,
            "speedup_vs_baseline": 3.31
          },
          "quality_check": {
            "passed": true,
            "summary": "3/3 deterministic checks passed"
          },
          "notes": "MUST enable `qwen4_gdn_decode_wide_proj=true` (+51% PP@4K, 2.1x decode!) + `Q8A8(m64)` + `TQ8` (+60.5% at 64K) + `MTP5`. Do NOT enable PLE-SSD on 256 GB (hurts short-prompt PP 2.2x).",
          "recipe": {
            "omlx_recipe": "omlx-recipe:1:eNqNU9lywjAM_Jc8dzpAA0P5GY2IZeLGsY0Pjun03ytTjgQSylvGWim7K-13gUtwnqTSGsjgWpMoVtEneutWWmUg2oZMKFaLkktVVDuMyhqQbrq4dUrUgVsFkQtEDezKKRc3HlsIQYCVUlvs4KTGUD-0S-srgoCt08psrs_1sXw2rLUEdHDk46X0MHgA4ikoQSaC9FmVNcVq8j6bMzY6QIGOlRK0eABBLtbF6ly6M2u7J_MxBzR0Na1yCYTdm97kySj0nusIrDts-jEfxW3Eqz8ONXo6GWET-_6Polh7QsF3sByEiIQ6PzyZ8oJQmQIzyuY9Q7HEJ7-5N2A-isrL1Xgkz6rKYVldSA7AACTQNpHhu9V8o_lQZpORYWfDb-SmI9uJqDQ4FIJT0MvgGV6e6AuqrCDY8xlzp_3qelKC0zSYluCoGttIpJYzgjF5OpOLtTJNZrFOYkPxscM6aLLkv0-XDf9kx3nE2m4Tcr6aHaxVzIdzGtgr3IWpXwxVTS0T6TwXPUxolOPthHjp3-kWehk9sfz5BQ4uzzM",
            "flags": {
              "a8_prefill_enabled": true,
              "a8_prefill_min_tokens": 64,
              "qwen4_gdn_decode_wide_proj": true,
              "turboquant_kv": "tq8",
              "mtp_adaptive_max_depth": 5,
              "ple_ssd_offload": false
            }
          },
          "profile_path": "models/llm/qwen3.8-flash-next/profiles/m5-ultra-256g-oq8e-mtp.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/qwen3.8-flash-next/profiles/m5-ultra-256g-oq8e-mtp.yaml",
          "roofline": {
            "kind": "llm_bw",
            "regime": "dram_bw",
            "gate": "kernel_bottleneck",
            "primary_pct": 44.7,
            "eta_bw_pct": 44.7,
            "eta_nvme_pct": 0.0,
            "effective_bw_gbs": 548.5,
            "chip_bw_gbs": 1228.0,
            "nvme_gbs": 0.0,
            "nvme_ceiling_gbs": 8.9,
            "decode_tok_s": 138.5,
            "active_gb_per_tok": 8.0,
            "mtp_mult": 2.02,
            "arch_breakdown": "4.57 GB GDN/dense + 2.51 GB routed (10/512 of 128.4 GB oQ8e) + 0.92 GB MTP",
            "short_tag_en": "Kernel Bound",
            "short_tag_zh": "待攻关",
            "diagnosis_en": "Kernel Bottleneck: 10-of-512 fine-grained expert scatter + 57.6 GB PLE row-miss latency caps effective read at 548.5 GB/s (44.7%). Next target: fused router+gather_q8a8 kernel & SLC-pinned PLE hot rows.",
            "diagnosis_zh": "Kernel Bottleneck：10/512 细粒度专家随机离散读取叠加 57.6 GB PLE 跨页访存延迟，有效带宽卡在 548.5 GB/s（44.7%）；下一步攻关融合路由 gather_q8a8 算子与 SLC 热点缓存驻留。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-11-29",
              "stage": "Baseline",
              "engine": "oMLX 0.8.3 · oQ8e-mtp (195 GB)",
              "config": "Default load without Q8A8, without WideProj, without MTP",
              "primary": "86.7 tok/s TG@1K (66.5 @ 32K)",
              "secondary": "530 PP@1K · 1,534 PP@4K",
              "mem_io": "205.7 GB Wired · Pure RAM",
              "verify": "3/3 Deterministic Pass ✅",
              "repro": "omlx settings: a8_prefill_enabled=false, qwen4_gdn_decode_wide_proj=false, mtp_enabled=false"
            },
            {
              "date": "2026-12-02",
              "stage": "Ablation",
              "engine": "oMLX 0.8.3 · oQ8e-mtp",
              "config": "+M5 Q8A8(m64, gs=64) + MTP5 (WideProj still off -> GDN bottleneck)",
              "primary": "63.8 tok/s TG@32K (104.4 @ 16K)",
              "secondary": "2,658 PP@1K · 3,362 PP@4K",
              "mem_io": "208.7 GB Wired · Pure RAM",
              "verify": "3/3 Deterministic Pass ✅",
              "repro": "omlx settings: a8_prefill_enabled=true, a8_prefill_min_tokens=64, qwen4_gdn_decode_wide_proj=false"
            },
            {
              "date": "2026-12-04",
              "stage": "Ablation",
              "engine": "oMLX 0.8.3 · oQ8e-mtp",
              "config": "+PLE-SSD Table Offload (-53.6 GB RAM; unlocks 128 GB / 192 GB Macs)",
              "primary": "120.0 tok/s TG@32K",
              "secondary": "2,256 PP@4K · 5,410 PP@32K",
              "mem_io": "155.1 GB Wired (-53.6 GB) · KB/s NVMe",
              "verify": "3/3 Deterministic Pass ✅",
              "repro": "omlx settings: qwen4_ple_ssd_offload=true, qwen4_gdn_decode_wide_proj=true, turboquant_kv_bits=8"
            },
            {
              "date": "2026-12-05",
              "stage": "Optimal ★",
              "engine": "oMLX 0.8.3 · oQ8e-mtp",
              "config": "100% Pure RAM + M5 Q8A8(m64) + qwen4_gdn_decode_wide_proj + TQ8 KV + MTP5",
              "primary": "138.5 tok/s Peak TG (92.3 @ 128K!)",
              "secondary": "5,077 PP@4K (+231%) · 5,700 PP@32K · 5,390 PP@128K",
              "mem_io": "212.9 GB Wired · 0 MB/s Swap",
              "verify": "3/3 Near-Lossless 8-bit Pass ✅",
              "repro": "omlx-recipe:1:eNqNU9lywjAM_Jc8dzpAA0P5GY2IZeLGsY0Pjun03ytTjgQSylvGWim7K-13gUtwnqTSGsjgWpMoVtEneutWWmUg2oZMKFaLkktVVDuMyhqQbrq4dUrUgVsFkQtEDezKKRc3HlsIQYCVUlvs4KTGUD-0S-srgoCt08psrs_1sXw2rLUEdHDk46X0MHgA4ikoQSaC9FmVNcVq8j6bMzY6QIGOlRK0eABBLtbF6ly6M2u7J_MxBzR0Na1yCYTdm97kySj0nusIrDts-jEfxW3Eqz8ONXo6GWET-_6Polh7QsF3sByEiIQ6PzyZ8oJQmQIzyuY9Q7HEJ7-5N2A-isrL1Xgkz6rKYVldSA7AACTQNpHhu9V8o_lQZpORYWfDb-SmI9uJqDQ4FIJT0MvgGV6e6AuqrCDY8xlzp_3qelKC0zSYluCoGttIpJYzgjF5OpOLtTJNZrFOYkPxscM6aLLkv0-XDf9kx3nE2m4Tcr6aHaxVzIdzGtgr3IWpXwxVTS0T6TwXPUxolOPthHjp3-kWehk9sfz5BQ4uzzM"
            }
          ]
        }
      ]
    },
    {
      "slug": "flux2-klein-4b",
      "name": "FLUX.2-klein-4B",
      "category": "image",
      "min_ram_gb": 16,
      "aa_score": 838,
      "aa_metric": "AA Image Elo",
      "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image",
      "meta": {
        "slug": "flux2-klein-4b",
        "name": "FLUX.2-klein-4B",
        "category": "image",
        "family": "FLUX",
        "params": "4B DiT (4-step distilled)",
        "source_repo": "black-forest-labs/FLUX.2-klein-4B",
        "license": "Apache-2.0",
        "min_ram_gb": 16,
        "summary": "Ultra-fast 16 GB Mac image tier: 2.04s warm 1K (10.12s @ 2K) in just 11.76 GB MLX memory on M5 Ultra.",
        "aa_score": 838,
        "aa_metric": "AA Image Elo",
        "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-mflux-warm-8bit",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 16,
          "macos": "27.2",
          "engine": "mflux 0.24.0 Resident Warm (MLX 0.32.5)",
          "quantization": "MLX 8-bit",
          "disk_gb": 16.0,
          "mode": "distilled",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-06",
          "metrics": {
            "resolution": "1024x1024",
            "steps": 4,
            "load_s": 0.33,
            "gen_s": 2.04,
            "cold_total_s": 2.4,
            "gen_2k_s": 10.12,
            "peak_mlx_gb": 11.76,
            "peak_wired_gb": 25.0,
            "speedup_vs_baseline": 1.18
          },
          "quality_check": {
            "passed": true,
            "summary": "Clean photorealistic lighting & crisp English typography (zero NaN, std=53.9); unlocks 16 GB Mac mini / Air!"
          },
          "notes": "Resident Python pipeline separates 1st-run Metal shader compilation (2.40s) from warm generation (2.04s @ 1K, 10.12s @ 2048x2048). Uses only 11.76 GiB MLX memory at 1K (14.11 GiB at 2K), fitting comfortably inside entry 16 GB Macs.",
          "recipe": {
            "launch_cmd": "python models/image/flux2-klein-4b/run.py --model-path /path/to/FLUX.2-klein-4B --base-model flux2-klein-4b -q 8 --warmup --steps 4 --width 1024 --height 1024",
            "script": "models/image/flux2-klein-4b/run.py"
          },
          "profile_path": "models/image/flux2-klein-4b/profiles/m5-ultra-256g-mflux-warm-8bit.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/image/flux2-klein-4b/profiles/m5-ultra-256g-mflux-warm-8bit.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "near_roofline",
            "primary_pct": 74.5,
            "sustained_tflops": 102.8,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Near-Peak",
            "short_tag_zh": "准极限",
            "diagnosis_en": "4B DiT @ 1024x1024 (4 steps in 2.04s) sustains 102.8 TFLOPS (74.5% Compute Roofline) via warm MLX 8-bit.",
            "diagnosis_zh": "4B DiT 在 1K 4 步热态下实测达 102.8 TFLOPS（算力屋脊线利用率 74.5%）。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-12-06",
              "stage": "Baseline",
              "engine": "mflux 0.24.0 · MLX BF16",
              "config": "1st-run cold JIT vs Warm Resident BF16 (1024×1024, 4 steps)",
              "primary": "2.41s Cold -> 2.06s Warm",
              "secondary": "0.30s mmap load · 4 steps",
              "mem_io": "14.47 GB MLX · 25.9 GB Wired",
              "verify": "Zero NaN · Crisp EN Signage ✅",
              "repro": "python models/image/flux2-klein-4b/run.py --model-path /path/to/FLUX.2-klein-4B --base-model flux2-klein-4b --warmup"
            },
            {
              "date": "2026-12-06",
              "stage": "Optimal ★",
              "engine": "mflux 0.24.0 · Resident MLX 8-bit",
              "config": "Resident Python pipeline with warmup + 8-bit quantized DiT (1K & 2K)",
              "primary": "2.04s Warm 1K · 10.12s Warm 2K",
              "secondary": "0.33s load · 2.40s cold 1st-run",
              "mem_io": "11.76 GB MLX (14.11 GB @ 2K) -> Fits 16 GB Mac!",
              "verify": "Pixel-faithful to BF16 (std=53.9) ✅",
              "repro": "python models/image/flux2-klein-4b/run.py --model-path /path/to/FLUX.2-klein-4B --base-model flux2-klein-4b -q 8 --warmup"
            }
          ]
        }
      ]
    },
    {
      "slug": "flux2-klein-9b",
      "name": "FLUX.2-klein-9B",
      "category": "image",
      "min_ram_gb": 24,
      "aa_score": 931,
      "aa_metric": "AA Image Elo",
      "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image",
      "meta": {
        "slug": "flux2-klein-9b",
        "name": "FLUX.2-klein-9B",
        "category": "image",
        "family": "FLUX",
        "params": "9B DiT (4-step distilled)",
        "source_repo": "black-forest-labs/FLUX.2-klein-9B",
        "license": "Apache-2.0",
        "min_ram_gb": 24,
        "summary": "Fastest 1K model tested: 3.45s warm MPS / 5.7s cold MLX 8-bit in only 20 GB RAM (fits 24 GB Mac mini!). English typography rock-solid; weak on CJK.",
        "aa_score": 931,
        "aa_metric": "AA Image Elo",
        "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-mflux-8bit",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 24,
          "macos": "27.2",
          "engine": "mflux 0.24.0 Resident Warm (MLX 0.32.5)",
          "quantization": "MLX 8-bit",
          "disk_gb": 34.7,
          "mode": "distilled",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-06",
          "metrics": {
            "resolution": "1024x1024",
            "steps": 4,
            "load_s": 0.32,
            "gen_s": 3.66,
            "cold_total_s": 5.67,
            "gen_2k_s": 17.9,
            "peak_mlx_gb": 20.03,
            "peak_wired_gb": 30.0,
            "speedup_vs_baseline": 1.56
          },
          "quality_check": {
            "passed": true,
            "summary": "Pixel-identical to BF16; crisp English typography; CJK characters garble (use H3-Image or Z-Image-Turbo for CJK)"
          },
          "notes": "Resident warm MLX cuts 1K latency from 5.70s cold CLI -> 3.66s (-35.8%, matching 3.45s PyTorch MPS while saving 20 GB RAM!) and cuts 2K latency from 20.3s -> 17.90s in 4.3x less memory than MPS (27.3 GB MLX vs 117.7 GB MPS Wired).",
          "recipe": {
            "launch_cmd": "python models/image/flux2-klein-4b/run.py --model-path /path/to/FLUX.2-klein-9B --base-model flux2-klein-9b -q 8 --warmup --steps 4 --width 1024 --height 1024",
            "script": "models/image/flux2-klein-4b/run.py"
          },
          "profile_path": "models/image/flux2-klein-9b/profiles/m5-ultra-256g-mflux-8bit.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/image/flux2-klein-9b/profiles/m5-ultra-256g-mflux-8bit.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "near_roofline",
            "primary_pct": 72.0,
            "sustained_tflops": 99.4,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Near-Peak",
            "short_tag_zh": "准极限",
            "diagnosis_en": "Compute-bound DiT evaluated against Metal BF16 tensor core ceiling.",
            "diagnosis_zh": "计算密集型 DiT，按 Metal 矩阵核心峰值算力评估。"
          }
        },
        {
          "profile_id": "m5-ultra-256g-mps-warm-bf16",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 64,
          "macos": "27.2",
          "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS)",
          "quantization": "BF16",
          "disk_gb": 34.7,
          "mode": "distilled",
          "recommended": false,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "resolution": "1024x1024",
            "steps": 4,
            "load_s": 8.9,
            "gen_s": 3.45,
            "gen_16x9_s": 4.69,
            "gen_2k_s": 17.46,
            "peak_wired_gb": 50.0
          },
          "quality_check": {
            "passed": true,
            "summary": "Fastest 1K image latency (3.45s) on M5 Ultra; 2K uses 117.7 GB wired"
          },
          "notes": "Fastest persistent-server latency at 1K (3.45s) and 1536x864 (4.69s); prefer mflux at 2K for 5x lower RAM.",
          "recipe": {
            "launch_cmd": "python -c \"import torch; from diffusers import DiffusionPipeline; p=DiffusionPipeline.from_pretrained('/path/to/FLUX.2-klein-9B', torch_dtype=torch.bfloat16).to('mps'); p('...', num_inference_steps=4, guidance_scale=1.0).images[0].save('out.png')\""
          },
          "profile_path": "models/image/flux2-klein-9b/profiles/m5-ultra-256g-mps-warm-bf16.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/image/flux2-klein-9b/profiles/m5-ultra-256g-mps-warm-bf16.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "roofline_optimal",
            "primary_pct": 83.0,
            "sustained_tflops": 114.5,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Compute Peak",
            "short_tag_zh": "算力极限",
            "diagnosis_en": "9B DiT warm PyTorch MPS BF16 sustains 114.5 TFLOPS (83.0% Compute Roofline) at 50 GB Wired.",
            "diagnosis_zh": "9B DiT 热态 PyTorch MPS BF16 实测达 114.5 TFLOPS（算力屋脊线 83.0%）。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-12-03",
              "stage": "Baseline",
              "engine": "mflux 0.24.0 CLI · BF16 / 8-bit",
              "config": "Single-shot CLI invocation (includes model load + Metal JIT every image)",
              "primary": "9.0s BF16 Cold · 5.70s 8-bit Cold",
              "secondary": "20.3s @ 2048×2048",
              "mem_io": "20.03 GB MLX · 30.0 GB Wired",
              "verify": "4-bit tested (5.6s, garbles text ❌)",
              "repro": "mflux-generate-flux2 --model /path/to/FLUX.2-klein-9B --base-model flux2-klein-9b -q 8 --steps 4"
            },
            {
              "date": "2026-12-05",
              "stage": "Warm MPS",
              "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS)",
              "config": "Resident PyTorch MPS BF16 pipeline (1024² & 2048², 4 steps)",
              "primary": "3.45s Warm 1K · 17.46s Warm 2K",
              "secondary": "8.9s initial load · 0.862s/step",
              "mem_io": "50.0 GB Wired @ 1K · 117.7 GB @ 2K",
              "verify": "Crisp English typography ✅",
              "repro": "python models/image/flux2-klein-9b/run_mps.py --model /path/to/FLUX.2-klein-9B --steps 4"
            },
            {
              "date": "2026-12-06",
              "stage": "Optimal ★",
              "engine": "mflux 0.24.0 · Resident MLX 8-bit",
              "config": "In-process warm MLX 8-bit (eliminates per-image CLI load & Metal JIT)",
              "primary": "3.66s Warm 1K · 17.90s Warm 2K",
              "secondary": "0.32s load · -35.8% vs Cold CLI",
              "mem_io": "20.0–27.3 GB MLX (4.3x less RAM than MPS @ 2K!)",
              "verify": "Zero NaN · Matches BF16 (std=63.5) ✅",
              "repro": "python models/image/flux2-klein-4b/run.py --model-path /path/to/FLUX.2-klein-9B --base-model flux2-klein-9b -q 8 --warmup"
            }
          ]
        }
      ]
    },
    {
      "slug": "minimax-h3-image",
      "name": "MiniMax H3-Image",
      "category": "image",
      "min_ram_gb": 192,
      "aa_score": 1065,
      "aa_metric": "AA Image Elo",
      "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image",
      "meta": {
        "slug": "minimax-h3-image",
        "name": "MiniMax H3-Image",
        "category": "image",
        "family": "MiniMax",
        "params": "68.7 GB DiT + 66.7 GB Qwen3-VL Text Encoder (6-step no-CFG)",
        "source_repo": "MiniMaxAI/MiniMax-H3-Image",
        "license": "MiniMax Community",
        "min_ram_gb": 192,
        "summary": "#1 open-weights image arena flagship: native 1K (3.6s), 2K (14.6s), and 4K 16MP (70.8s) with flawless CJK + English calligraphy on M5 Ultra MPS.",
        "aa_score": 1065,
        "aa_metric": "AA Image Elo",
        "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-mps-bf16-2k",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 192,
          "macos": "27.2",
          "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS)",
          "quantization": "BF16",
          "disk_gb": 126.0,
          "mode": "distilled",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "resolution": "2048x2048",
            "steps": 6,
            "load_s": 38.0,
            "gen_s": 14.6,
            "gen_1k_s": 3.6,
            "gen_4k_s": 70.8,
            "per_step_s": 2.44,
            "peak_wired_gb": 145.6
          },
          "quality_check": {
            "passed": true,
            "summary": "Visually verified at 1K, 2K, and 4K (16MP): photorealistic with exact CJK+EN calligraphy"
          },
          "notes": "Keep BF16 (FP16 is slower at 15.7s @ 2K). Native 6-step distilled with guidance_scale=1.0; generates 4096x4096 directly in 70.8s without any upscaler.",
          "recipe": {
            "script": "models/image/minimax-h3-image/run.py",
            "launch_cmd": "python models/image/minimax-h3-image/run.py --model /path/to/MiniMax-H3-Image --width 2048 --height 2048"
          },
          "profile_path": "models/image/minimax-h3-image/profiles/m5-ultra-256g-mps-bf16-2k.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/image/minimax-h3-image/profiles/m5-ultra-256g-mps-bf16-2k.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "roofline_optimal",
            "primary_pct": 81.4,
            "sustained_tflops": 112.3,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Compute Peak",
            "short_tag_zh": "算力极限",
            "diagnosis_en": "34B DiT @ 2048x2048 (6 steps in 14.6s) sustains 112.3 TFLOPS (81.4% Compute Roofline) on native BF16 MPS.",
            "diagnosis_zh": "原生 2K 6 步 BF16 DiT 实测持续算力达 112.3 TFLOPS（算力屋脊线 81.4%）。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-12-03",
              "stage": "Ablation",
              "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS)",
              "config": "FP16 precision cast @ 2048×2048 (6 steps, no CFG)",
              "primary": "15.7s @ 2K · 3.7s @ 1K",
              "secondary": "38s load · FP16 cast overhead",
              "mem_io": "144.0 GB Wired",
              "verify": "Exact bilingual calligraphy ✅",
              "repro": "torch_dtype=torch.float16 on MPS (slower than native BF16)"
            },
            {
              "date": "2026-12-05",
              "stage": "Optimal ★",
              "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS BF16)",
              "config": "Native BF16 6-step distilled across 1024², 2048², and true 4096² (16MP)",
              "primary": "3.6s @ 1K · 14.6s @ 2K · 70.8s @ 4K",
              "secondary": "2.44s/step @ 2K · 6 steps",
              "mem_io": "145.6 GB Wired (151.6 GB @ 4K)",
              "verify": "Zero-typo CJK/EN across 1K–4K ✅",
              "repro": "python models/image/minimax-h3-image/run.py --model /path/to/MiniMax-H3-Image --width 2048 --height 2048"
            }
          ]
        }
      ]
    },
    {
      "slug": "qwen-image-2.1",
      "name": "Qwen-Image-2.1 & Turbo",
      "category": "image",
      "min_ram_gb": 48,
      "aa_score": 1047,
      "aa_metric": "AA Image Elo",
      "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image",
      "meta": {
        "slug": "qwen-image-2.1",
        "name": "Qwen-Image-2.1 & Turbo",
        "category": "image",
        "family": "Qwen",
        "params": "7B DiT + 17.5 GB Text Encoder (33 GB)",
        "source_repo": "Qwen/Qwen-Image-2.1",
        "alt_repos": [
          "Qwen/Qwen-Image-2.1-Turbo"
        ],
        "license": "Apache-2.0",
        "min_ram_gb": 48,
        "summary": "#2 open-weights image model (1047 Elo): resident warm MLX 8-bit hits 5.00s @ 1K (28.26s @ 2K) in Turbo 8-step and 16.21s in 30-step StepCache.",
        "aa_score": 1047,
        "aa_metric": "AA Image Elo",
        "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-mflux-8bit",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 48,
          "macos": "27.2",
          "engine": "mflux 0.24.0 Resident Warm (MLX 0.32.5)",
          "quantization": "MLX 8-bit (30-step + StepCache 0.2)",
          "disk_gb": 31.0,
          "mode": "pure-ram",
          "recommended": false,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-06",
          "metrics": {
            "resolution": "1024x1024",
            "steps": 30,
            "load_s": 0.33,
            "gen_s": 16.21,
            "uncached_warm_s": 19.36,
            "cold_total_s": 21.1,
            "total_2k_s": 106.1,
            "peak_mlx_gb": 36.45,
            "peak_wired_gb": 38.0,
            "speedup_vs_baseline": 1.64
          },
          "quality_check": {
            "passed": true,
            "summary": "Matches BF16 quality (std=33.3 vs 34.0 uncached); exact Chinese/English typography at 1K & 2K"
          },
          "notes": "Resident warm MLX + step_cache_ratio=0.2 cuts 30-step generation from 26.6s (MPS) / 21.1s (cold CLI) -> 16.21s! Avoid 4-bit (garbles signage).",
          "recipe": {
            "launch_cmd": "python models/image/qwen-image-2.1/run_warm.py --model-path /path/to/Qwen-Image-2.1 --base-model qwen-image-2.1 -q 8 --warmup --steps 30 --guidance 4.0 --step-cache-ratio 0.2 --width 1024 --height 1024",
            "script": "models/image/qwen-image-2.1/run_warm.py"
          },
          "profile_path": "models/image/qwen-image-2.1/profiles/m5-ultra-256g-mflux-8bit.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/image/qwen-image-2.1/profiles/m5-ultra-256g-mflux-8bit.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "roofline_optimal",
            "primary_pct": 75.0,
            "sustained_tflops": 103.5,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Compute Peak",
            "short_tag_zh": "算力极限",
            "diagnosis_en": "30-step + StepCache 0.2 (16.21s warm) sustains 103.5 effective TFLOPS (75.0% Compute Roofline).",
            "diagnosis_zh": "30 步 + StepCache 0.2 常驻热态等效算力 103.5 TFLOPS（算力屋脊线 75.0%）。"
          }
        },
        {
          "profile_id": "m5-ultra-256g-turbo-8bit",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 48,
          "macos": "27.2",
          "engine": "mflux 0.24.0 Resident Warm (MLX 0.32.5)",
          "quantization": "MLX 8-bit (Turbo 8-step)",
          "disk_gb": 31.0,
          "mode": "distilled",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-06",
          "metrics": {
            "resolution": "1024x1024",
            "steps": 8,
            "load_s": 0.48,
            "gen_s": 5.0,
            "cold_total_s": 8.14,
            "gen_2k_s": 28.26,
            "peak_mlx_gb": 35.98,
            "peak_wired_gb": 39.0,
            "speedup_vs_baseline": 5.32
          },
          "quality_check": {
            "passed": true,
            "summary": "5.32x faster than 30-step MPS (26.6s -> 5.00s @ 1K) and 28.26s @ 2K; crisp CJK & composition"
          },
          "notes": "Resident warm Python MLX cuts 1K latency from 11.4s cold CLI -> 5.00s (-56%) and 2K latency from 35.2s -> 28.26s! Symlink base text_encoder/tokenizer into Qwen-Image-2.1-Turbo to save 17.5 GB on disk.",
          "recipe": {
            "launch_cmd": "python models/image/qwen-image-2.1/run_warm.py --model-path /path/to/Qwen-Image-2.1-Turbo --base-model qwen-image-2.1-turbo -q 8 --warmup --steps 8 --width 1024 --height 1024",
            "script": "models/image/qwen-image-2.1/run_warm.py"
          },
          "profile_path": "models/image/qwen-image-2.1/profiles/m5-ultra-256g-turbo-8bit.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/image/qwen-image-2.1/profiles/m5-ultra-256g-turbo-8bit.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "roofline_optimal",
            "primary_pct": 76.8,
            "sustained_tflops": 106.0,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Compute Peak",
            "short_tag_zh": "算力极限",
            "diagnosis_en": "7B DiT Turbo 8-step (5.00s warm @ 1K) sustains 106.0 TFLOPS (76.8% Compute Roofline) on MLX 8-bit.",
            "diagnosis_zh": "Qwen-Image Turbo 8 步常驻热态实测达 106.0 TFLOPS（算力屋脊线 76.8%）。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-12-02",
              "stage": "Baseline",
              "engine": "diffusers 0.43.0 (MPS BF16)",
              "config": "30-step PyTorch MPS BF16 @ 1024×1024",
              "primary": "26.6s Gen Time",
              "secondary": "0.714s/step · 30 steps",
              "mem_io": "46.2 GB Wired",
              "verify": "Exact CJK & EN signage ✅",
              "repro": "Wan/Qwen diffusers BF16 30-step baseline"
            },
            {
              "date": "2026-12-04",
              "stage": "MLX 8-bit",
              "engine": "mflux 0.24.0 · MLX 8-bit",
              "config": "30-step Native MLX 8-bit (+22% vs MPS; 4-bit rejected due to signage typos)",
              "primary": "21.1s Total @ 1K (106.1s @ 2K)",
              "secondary": "1.71 it/s · 30 steps",
              "mem_io": "38.0 GB Wired",
              "verify": "Exact CJK & EN signage at 1K/2K ✅",
              "repro": "mflux-generate-qwen-2.1 --model /path/to/Qwen-Image-2.1 -q 8 --steps 30"
            },
            {
              "date": "2026-12-05",
              "stage": "Turbo Cold",
              "engine": "mflux 0.24.0 · Qwen-Image-2.1-Turbo",
              "config": "Official 8-step CFG=1 Turbo checkpoint in single-shot CLI MLX 8-bit",
              "primary": "11.4s Cold @ 1K · 35.2s @ 2K",
              "secondary": "8 steps · 3x faster 2K",
              "mem_io": "39.0 GB Wired",
              "verify": "Crisp CJK signage & composition ✅",
              "repro": "mflux-generate-qwen-2.1 --model /path/to/Qwen-Image-2.1-Turbo --base-model qwen-image-2.1-turbo -q 8 --steps 8"
            },
            {
              "date": "2026-12-06",
              "stage": "30-Step Warm ★",
              "engine": "mflux 0.24.0 · Resident MLX 8-bit",
              "config": "Resident warm 30-step + step_cache_ratio=0.2 (19.36s uncached warm)",
              "primary": "16.21s Warm @ 1K (+64% vs MPS)",
              "secondary": "0.33s load · 30 steps",
              "mem_io": "36.5 GB MLX · 38.0 GB Wired",
              "verify": "Zero NaN · Matches uncached (std=33.3) ✅",
              "repro": "python models/image/qwen-image-2.1/run_warm.py --model-path /path/to/Qwen-Image-2.1 --base-model qwen-image-2.1 -q 8 --warmup --steps 30 --guidance 4.0 --step-cache-ratio 0.2"
            },
            {
              "date": "2026-12-06",
              "stage": "Optimal ★",
              "engine": "mflux 0.24.0 · Resident Turbo 8-bit",
              "config": "Resident warm Qwen-Image-2.1-Turbo 8-step (eliminates per-image CLI JIT & load)",
              "primary": "5.00s Warm @ 1K · 28.26s Warm @ 2K",
              "secondary": "0.48s load · 5.32x faster vs MPS baseline!",
              "mem_io": "36.0 GB MLX · 39.0 GB Wired",
              "verify": "Zero NaN · Exact CJK signage (std=40.1) ✅",
              "repro": "python models/image/qwen-image-2.1/run_warm.py --model-path /path/to/Qwen-Image-2.1-Turbo --base-model qwen-image-2.1-turbo -q 8 --warmup --steps 8"
            }
          ]
        }
      ]
    },
    {
      "slug": "z-image-turbo",
      "name": "Z-Image-Turbo",
      "category": "image",
      "min_ram_gb": 32,
      "aa_score": 936,
      "aa_metric": "AA Image Elo",
      "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image",
      "meta": {
        "slug": "z-image-turbo",
        "name": "Z-Image-Turbo",
        "category": "image",
        "family": "Z-Image",
        "params": "6B DiT (31 GB total, 8–9 steps)",
        "source_repo": "Tongyi-MAI/Z-Image-Turbo",
        "license": "Apache-2.0",
        "min_ram_gb": 32,
        "summary": "Mid-RAM photorealistic bilingual champion: 7.9–8.9s @ 1024², 10.8s @ 1536x864, only 31–36 GB RAM, accurate CJK+EN signage.",
        "aa_score": 936,
        "aa_metric": "AA Image Elo",
        "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-mflux-8bit",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 32,
          "macos": "27.2",
          "engine": "mflux 0.24.0 (MLX 0.32.5)",
          "quantization": "MLX 8-bit / BF16",
          "disk_gb": 31.0,
          "mode": "distilled",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "resolution": "1024x1024",
            "steps": 8,
            "total_s": 7.9,
            "total_16x9_s": 10.8,
            "peak_wired_gb": 36.8
          },
          "quality_check": {
            "passed": true,
            "summary": "Photorealistic with accurate CJK+EN signage at <=1536; avoid 2048² (text duplication)"
          },
          "notes": "mflux BF16 (9 steps) = 8.9s; mflux 8-bit (8 steps) = 7.9s; warm diffusers MPS BF16 = 8.2s (31.4 GB wired). Stay <= 1536px.",
          "recipe": {
            "launch_cmd": "mflux-generate-z-image-turbo --model /path/to/Z-Image-Turbo -q 8 --steps 8 --width 1024 --height 1024 --seed 42 --prompt '...'",
            "script": "models/image/z-image-turbo/run.sh"
          },
          "profile_path": "models/image/z-image-turbo/profiles/m5-ultra-256g-mflux-8bit.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/image/z-image-turbo/profiles/m5-ultra-256g-mflux-8bit.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "near_roofline",
            "primary_pct": 72.1,
            "sustained_tflops": 99.5,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Near-Peak",
            "short_tag_zh": "准极限",
            "diagnosis_en": "6B DiT 8-step (7.9s total incl. CLI init) achieves 99.5 TFLOPS (72.1% Near-Roofline; warm loop can save ~1.2s).",
            "diagnosis_zh": "单次 CLI 口径达 99.5 TFLOPS（72.1% 准极限；改常驻热循环还可再省约 1.2s）。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-12-03",
              "stage": "Baseline",
              "engine": "mflux 0.24.0 · MLX BF16",
              "config": "Unquantized BF16 @ 1024×1024 (9 steps, guidance=0)",
              "primary": "8.9s Total (~6.5s denoise)",
              "secondary": "1.38 it/s · 9 steps",
              "mem_io": "36.0 GB Wired",
              "verify": "Exact CJK + EN signage ✅",
              "repro": "mflux-generate-z-image-turbo --model /path/to/Z-Image-Turbo --steps 9"
            },
            {
              "date": "2026-12-05",
              "stage": "Optimal ★",
              "engine": "mflux 0.24.0 · MLX 8-bit",
              "config": "8-bit quantized DiT @ 1024×1024 (8 steps) & 1536×864 (9 steps)",
              "primary": "7.9s @ 1K · 10.8s @ 1536×864",
              "secondary": "1.45 it/s · 8 steps",
              "mem_io": "36.5 GB Wired (fits 36–48 GB Macs)",
              "verify": "Matches BF16 photorealism ✅",
              "repro": "mflux-generate-z-image-turbo --model /path/to/Z-Image-Turbo -q 8 --steps 8 --width 1024 --height 1024"
            }
          ]
        }
      ]
    },
    {
      "slug": "minimax-h3",
      "name": "MiniMax H3 (+ Lakonik/pi-H3 1.5)",
      "category": "video",
      "min_ram_gb": 192,
      "aa_score": 1155,
      "aa_metric": "AA Video Elo",
      "aa_url": "https://artificialanalysis.ai/video/leaderboard/text-to-video",
      "meta": {
        "slug": "minimax-h3",
        "name": "MiniMax H3 (+ Lakonik/pi-H3 1.5)",
        "category": "video",
        "family": "MiniMax",
        "params": "33B Video-Audio DiT + 32 kHz Stereo Audio (1344x768 @ 24fps)",
        "source_repo": "MiniMaxAI/MiniMax-H3",
        "alt_repos": [
          "Lakonik/pi-H3",
          "multimodalart/MiniMax-H3-Pruned (95KB adaln_affine.safetensors)"
        ],
        "license": "MiniMax Community",
        "min_ram_gb": 192,
        "summary": "#1 open video+audio flagship accelerated 13.8x–27.0x on macOS MPS via Model2Metal's 16K-chunked SolH3SwiGLU patch & 95KB online AdaLN folding (-26 GB RAM).",
        "aa_score": 1155,
        "aa_metric": "AA Video Elo",
        "aa_url": "https://artificialanalysis.ai/video/leaderboard/text-to-video"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-pih3-2step-dwd-5s",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 192,
          "macos": "27.2",
          "engine": "diffusers 0.43.0 + LakonLab + Model2Metal MPS patches",
          "quantization": "BF16 + Online Rank-8 AdaLN Fold + pi-H3 1.5 2-step DWD",
          "disk_gb": 142.0,
          "mode": "distilled",
          "recommended": false,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "resolution": "1344x768",
            "frames": 124,
            "fps": 24,
            "duration_s": 5.17,
            "steps": 2,
            "load_s": 34.0,
            "gen_s": 82.8,
            "peak_wired_gb": 147.7,
            "audio_sr_hz": 32000,
            "audio_rms": 0.0935,
            "speedup_vs_baseline": 26.96
          },
          "quality_check": {
            "passed": true,
            "summary": "Visually verified: sharp CJK signage, natural motion & stereo audio even in 2 steps"
          },
          "notes": "27.0x faster than official 50-step baseline! Only 82.8s for 5.17s 768p 24fps + 32kHz stereo audio.",
          "recipe": {
            "script": "models/video/minimax-h3/run.py",
            "launch_cmd": "python models/video/minimax-h3/run.py --model /path/to/MiniMax-H3 --adapter-dir /path/to/pi-H3 --adapter pi_h3_1_5_2step_dwd_adapter --steps 2 --dwd --frames 124",
            "patches": [
              {
                "path": "model2metal/patches/minimax_h3_mps.py",
                "kind": "python-hook",
                "target_pkg": "lakonlab + diffusers>=0.43",
                "description": "16K-token SolH3SwiGLU chunking (< MPSGraph INT_MAX) + 95KB online rank-8 AdaLN folding + arm64 mmcv shim"
              }
            ]
          },
          "profile_path": "models/video/minimax-h3/profiles/m5-ultra-256g-pih3-2step-dwd-5s.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/minimax-h3/profiles/m5-ultra-256g-pih3-2step-dwd-5s.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "roofline_optimal",
            "primary_pct": 78.6,
            "sustained_tflops": 108.4,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Compute Peak",
            "short_tag_zh": "算力极限",
            "diagnosis_en": "2-step pi-H3 DWD (82.8s @ 768p) sustains 108.4 TFLOPS (78.6% Compute Roofline).",
            "diagnosis_zh": "2 步极速 DWD 实测持续算力 108.4 TFLOPS（算力屋脊线 78.6%）。"
          }
        },
        {
          "profile_id": "m5-ultra-256g-pih3-4step-dwd-10s",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 256,
          "macos": "27.2",
          "engine": "diffusers 0.43.0 + LakonLab + Model2Metal MPS patches",
          "quantization": "BF16 + Online Rank-8 AdaLN Fold + pi-H3 1.5 4-step DWD",
          "disk_gb": 142.0,
          "mode": "distilled",
          "recommended": false,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "resolution": "1344x768",
            "frames": 243,
            "fps": 24,
            "duration_s": 10.12,
            "steps": 4,
            "load_s": 33.2,
            "gen_s": 583.7,
            "peak_wired_gb": 179.7,
            "audio_sr_hz": 32000,
            "audio_rms": 0.1279
          },
          "quality_check": {
            "passed": true,
            "summary": "f0/fmid/flast 10.12s single-take dolly-in verified; zero text drift & rich stereo audio"
          },
          "notes": "Demonstrates quadratic O(N^2) dense attention scaling (2x frames -> 3.6x step time) and proves our 16K SwiGLU chunking handles 243 frames cleanly.",
          "recipe": {
            "script": "models/video/minimax-h3/run.py",
            "launch_cmd": "python models/video/minimax-h3/run.py --model /path/to/MiniMax-H3 --adapter-dir /path/to/pi-H3 --adapter pi_h3_1_5_4step_dwd_adapter --steps 4 --dwd --frames 243",
            "patches": [
              {
                "path": "model2metal/patches/minimax_h3_mps.py",
                "kind": "python-hook",
                "target_pkg": "lakonlab + diffusers>=0.43",
                "description": "16K-token SolH3SwiGLU chunking (< MPSGraph INT_MAX) + 95KB online rank-8 AdaLN folding + arm64 mmcv shim"
              }
            ]
          },
          "profile_path": "models/video/minimax-h3/profiles/m5-ultra-256g-pih3-4step-dwd-10s.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/minimax-h3/profiles/m5-ultra-256g-pih3-4step-dwd-10s.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "roofline_optimal",
            "primary_pct": 80.9,
            "sustained_tflops": 111.6,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Compute Peak",
            "short_tag_zh": "算力极限",
            "diagnosis_en": "243-frame 10.1s 3D attention sustains 111.6 TFLOPS (80.9% Compute Roofline).",
            "diagnosis_zh": "10 秒 243 帧超长序列 3D 注意力持续算力达 111.6 TFLOPS（算力屋脊线 80.9%）。"
          }
        },
        {
          "profile_id": "m5-ultra-256g-pih3-4step-dwd-5s",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 192,
          "macos": "27.2",
          "engine": "diffusers 0.43.0 + LakonLab + Model2Metal MPS patches",
          "quantization": "BF16 + Online Rank-8 AdaLN Fold + pi-H3 1.5 4-step DWD",
          "disk_gb": 142.0,
          "mode": "distilled",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "resolution": "1344x768",
            "frames": 124,
            "fps": 24,
            "duration_s": 5.17,
            "steps": 4,
            "load_s": 30.1,
            "gen_s": 162.2,
            "peak_wired_gb": 147.5,
            "audio_sr_hz": 32000,
            "audio_rms": 0.1368,
            "speedup_vs_baseline": 13.76
          },
          "quality_check": {
            "passed": true,
            "summary": "Cinema-grade f0/fmid verified; exact CJK plaque, kettle steam & 32kHz stereo audio (RMS 0.1368 / Peak 0.7769)"
          },
          "notes": "Sweet spot for quality & speed: 13.8x faster than 50-step baseline (2,232s) and 21.5% faster than 4-step native 3D VAE (197.0s). Requires model2metal.patches.minimax_h3_mps.",
          "recipe": {
            "script": "models/video/minimax-h3/run.py",
            "launch_cmd": "python models/video/minimax-h3/run.py --model /path/to/MiniMax-H3 --adapter-dir /path/to/pi-H3 --adapter pi_h3_1_5_4step_dwd_adapter --steps 4 --dwd --frames 124",
            "patches": [
              {
                "path": "model2metal/patches/minimax_h3_mps.py",
                "kind": "python-hook",
                "target_pkg": "lakonlab + diffusers>=0.43",
                "description": "16K-token SolH3SwiGLU chunking (< MPSGraph INT_MAX) + 95KB online rank-8 AdaLN folding + arm64 mmcv shim"
              }
            ]
          },
          "profile_path": "models/video/minimax-h3/profiles/m5-ultra-256g-pih3-4step-dwd-5s.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/minimax-h3/profiles/m5-ultra-256g-pih3-4step-dwd-5s.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "roofline_optimal",
            "primary_pct": 79.6,
            "sustained_tflops": 109.8,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Compute Peak",
            "short_tag_zh": "算力极限",
            "diagnosis_en": "33B Audio-Video DiT (1344x768x124f, 4-step pi-H3 + DWD) sustains 109.8 TFLOPS (79.6% Compute Roofline).",
            "diagnosis_zh": "33B 音视频联合 DiT 4 步 DWD 实测持续算力 109.8 TFLOPS（算力屋脊线 79.6%）。"
          }
        },
        {
          "profile_id": "m5-ultra-256g-pih3-4step-vae-5s",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 192,
          "macos": "27.2",
          "engine": "diffusers 0.43.0 + LakonLab + Model2Metal MPS patches",
          "quantization": "BF16 + Online Rank-8 AdaLN Fold + pi-H3 1.5 4-step Native VAE",
          "disk_gb": 142.0,
          "mode": "distilled",
          "recommended": false,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "resolution": "1344x768",
            "frames": 124,
            "fps": 24,
            "duration_s": 5.17,
            "steps": 4,
            "load_s": 36.5,
            "gen_s": 197.0,
            "peak_wired_gb": 136.8,
            "audio_sr_hz": 32000,
            "audio_rms": 0.1322,
            "speedup_vs_baseline": 11.33
          },
          "quality_check": {
            "passed": true,
            "summary": "Lowest peak wired (136.8 GB) and marginally crisper far-background lattice vs DWD"
          },
          "notes": "Use MiniMaxH3BlocksMod (not raw ModularPipeline) when running non-DWD pi-H3 adapters.",
          "recipe": {
            "script": "models/video/minimax-h3/run.py",
            "launch_cmd": "python models/video/minimax-h3/run.py --model /path/to/MiniMax-H3 --adapter-dir /path/to/pi-H3 --adapter pi_h3_1_5_4step_adapter --steps 4 --frames 124",
            "patches": [
              {
                "path": "model2metal/patches/minimax_h3_mps.py",
                "kind": "python-hook",
                "target_pkg": "lakonlab + diffusers>=0.43",
                "description": "16K-token SolH3SwiGLU chunking (< MPSGraph INT_MAX) + 95KB online rank-8 AdaLN folding + arm64 mmcv shim"
              }
            ]
          },
          "profile_path": "models/video/minimax-h3/profiles/m5-ultra-256g-pih3-4step-vae-5s.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/minimax-h3/profiles/m5-ultra-256g-pih3-4step-vae-5s.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "near_roofline",
            "primary_pct": 69.7,
            "sustained_tflops": 96.2,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Near-Peak",
            "short_tag_zh": "准极限",
            "diagnosis_en": "Native 3D VAE decode lowers end-to-end effective TFLOPS to 96.2 (69.7%); prefer 4-step DWD decoder (162.2s).",
            "diagnosis_zh": "原生重量级 3D VAE 拉低端到端有效算力至 69.7%；推荐使用轻量 DWD 解码器（162.2s）。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-12-01",
              "stage": "Baseline",
              "engine": "PyTorch 2.15.0 MPS · 33B Audio-Video DiT",
              "config": "Official 50-step CFG pipeline (1344×768, 124f = 5.17s @ 24fps + 32kHz stereo)",
              "primary": "2,232.0s (37.2 min)",
              "secondary": "39.2s load · 1.0x baseline",
              "mem_io": "166.2 GB Wired",
              "verify": "Audio RMS 0.0985 / Cinema f0..f123 ✅",
              "repro": "python models/video/minimax-h3/run.py --steps 50 --decoder vae"
            },
            {
              "date": "2026-12-04",
              "stage": "Kernel/Patch",
              "engine": "PyTorch 2.15.0 MPS + Model2Metal Patch",
              "config": "+pi-H3 1.5 4-step + 95KB online AdaLN low-rank fold (-26 GB RAM) + 3D VAE",
              "primary": "197.0s (11.3x faster)",
              "secondary": "36.5s load · 4 steps",
              "mem_io": "136.8 GB Wired (-29.4 GB!)",
              "verify": "Cosine 1.0000 AdaLN · Audio RMS 0.1322 ✅",
              "repro": "python models/video/minimax-h3/run.py --steps 4 --decoder vae  # uses model2metal/patches/minimax_h3_mps.py"
            },
            {
              "date": "2026-12-05",
              "stage": "Optimal Quality ★",
              "engine": "PyTorch 2.15.0 MPS + 16K SwiGLU Chunk Patch",
              "config": "+DWD VAE-free pixel refiner + 16,384-token SolH3SwiGLU chunking (fixes MPSGraph INT_MAX crash!)",
              "primary": "162.2s @ 5.17s (13.8x) · 583.7s @ 10.12s",
              "secondary": "30.1s load · Unlocks 243-frame 10s HD!",
              "mem_io": "147.5 GB Wired (179.7 GB @ 10.12s)",
              "verify": "f0/fmid/flast + Stereo RMS 0.1368 ✅",
              "repro": "python models/video/minimax-h3/run.py --steps 4 --decoder dwd --frames 124"
            },
            {
              "date": "2026-12-06",
              "stage": "Optimal Speed ★",
              "engine": "PyTorch 2.15.0 MPS + DWD + AdaLN Fold",
              "config": "pi-H3 1.5 2-step DWD Turbo (1344×768 @ 24fps + 32kHz stereo)",
              "primary": "82.8s (27.0x faster vs 50-step!)",
              "secondary": "34.0s load · 2 steps",
              "mem_io": "147.7 GB Wired",
              "verify": "Sharp CJK signage & Stereo RMS 0.0935 ✅",
              "repro": "python models/video/minimax-h3/run.py --steps 2 --decoder dwd --frames 124"
            }
          ]
        }
      ]
    },
    {
      "slug": "wan2.2-t2v-a14b",
      "name": "Wan2.2-T2V-A14B",
      "category": "video",
      "min_ram_gb": 32,
      "aa_score": 1118,
      "aa_metric": "AA Video Elo",
      "aa_url": "https://artificialanalysis.ai/video/leaderboard/text-to-video",
      "meta": {
        "slug": "wan2.2-t2v-a14b",
        "name": "Wan2.2-T2V-A14B",
        "category": "video",
        "family": "Wan",
        "params": "Dual 14B MoE Video DiT (28B total, 81f @ 16fps)",
        "source_repo": "Wan-AI/Wan2.2-T2V-A14B-Diffusers",
        "alt_repos": [
          "lightx2v/Wan2.2-Distill-Loras"
        ],
        "license": "Apache-2.0",
        "min_ram_gb": 32,
        "summary": "Unlocks 32 GB–64 GB Macs via Native MLX 8-bit Sequential DiT (21.6 GB MLX / 31.5 GB Wired, 88.7s) and hits 82.5s (21.4x) at 480p / 357.3s at 720p via lightx2v 4-step Dual-LoRA.",
        "aa_score": 1118,
        "aa_metric": "AA Video Elo",
        "aa_url": "https://artificialanalysis.ai/video/leaderboard/text-to-video"
      },
      "profiles": [
        {
          "profile_id": "m5-ultra-256g-fbcache-480p",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 128,
          "macos": "27.2",
          "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS)",
          "quantization": "BF16 DiT + FP32 VAE (Zero-Training FirstBlockCache)",
          "disk_gb": 126.2,
          "mode": "training-free-cache",
          "recommended": false,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "resolution": "832x480",
            "frames": 81,
            "fps": 16,
            "duration_s": 5.06,
            "steps": 40,
            "load_s": 14.4,
            "gen_s": 819.4,
            "peak_wired_gb": 105.0,
            "speedup_vs_baseline": 2.15
          },
          "quality_check": {
            "passed": true,
            "summary": "Visually indistinguishable from 40-step baseline (1,765.3s) while skipping 22 of 40 steps"
          },
          "notes": "Best zero-LoRA option: works out of the box on WanTransformer3DModel (cached steps run in ~1.0s vs 42s).",
          "recipe": {
            "script": "models/video/wan2.2-t2v-a14b/run.py",
            "launch_cmd": "python models/video/wan2.2-t2v-a14b/run.py --model /path/to/Wan2.2-T2V-A14B-Diffusers --mode fbcache --steps 40",
            "patches": [
              {
                "path": "model2metal/patches/wan22_mps.py",
                "kind": "python-hook",
                "target_pkg": "diffusers>=0.43",
                "description": "Dual-LoRA weight-delta fusion guard + TaylorSeer blocks.\\d+/proj_out regex fix + FirstBlockCache helper"
              }
            ]
          },
          "profile_path": "models/video/wan2.2-t2v-a14b/profiles/m5-ultra-256g-fbcache-480p.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/wan2.2-t2v-a14b/profiles/m5-ultra-256g-fbcache-480p.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "near_roofline",
            "primary_pct": 64.8,
            "sustained_tflops": 89.4,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Near-Peak",
            "short_tag_zh": "准极限",
            "diagnosis_en": "40-step CFG + FirstBlockCache sustains 89.4 TFLOPS (64.8%); superseded by 4-step lightx2v LoRA (82.5s).",
            "diagnosis_zh": "40 步无训练 FirstBlockCache 有效算力 64.8%；追求极速请选上方 4 步 lightx2v 蒸馏配置（82.5s）。"
          }
        },
        {
          "profile_id": "m5-ultra-256g-lightning4-480p-bf16vae",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 96,
          "macos": "27.2",
          "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS)",
          "quantization": "BF16 DiT + BF16 VAE + lightx2v 4-step Dual LoRA",
          "disk_gb": 128.8,
          "mode": "distilled",
          "recommended": true,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "resolution": "832x480",
            "frames": 81,
            "fps": 16,
            "duration_s": 5.06,
            "steps": 4,
            "load_s": 24.6,
            "gen_s": 82.5,
            "peak_wired_gb": 90.0,
            "speedup_vs_baseline": 21.4
          },
          "quality_check": {
            "passed": true,
            "summary": "Pixel-identical to FP32 VAE (zero NaN/banding), crisp CJK signage & natural motion"
          },
          "notes": "21.4x faster than official 40-step CFG baseline (1,765.3s) and saves 10.6 GB wired vs FP32 VAE (100.6 -> 90.0 GB). Fits comfortably on 128 GB Mac Studio!",
          "recipe": {
            "script": "models/video/wan2.2-t2v-a14b/run.py",
            "launch_cmd": "python models/video/wan2.2-t2v-a14b/run.py --model /path/to/Wan2.2-T2V-A14B-Diffusers --lora-dir /path/to/Wan2.2-Distill-Loras --mode lightning4 --vae-bf16 --width 832 --height 480",
            "patches": [
              {
                "path": "model2metal/patches/wan22_mps.py",
                "kind": "python-hook",
                "target_pkg": "diffusers>=0.43",
                "description": "Dual-LoRA weight-delta fusion guard + TaylorSeer blocks.\\d+/proj_out regex fix + FirstBlockCache helper"
              }
            ]
          },
          "profile_path": "models/video/wan2.2-t2v-a14b/profiles/m5-ultra-256g-lightning4-480p-bf16vae.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/wan2.2-t2v-a14b/profiles/m5-ultra-256g-lightning4-480p-bf16vae.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "near_roofline",
            "primary_pct": 71.8,
            "sustained_tflops": 99.1,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Near-Peak",
            "short_tag_zh": "准极限",
            "diagnosis_en": "Dual 14B DiT @ 32,760 tokens (4 steps + BF16 VAE = 82.5s) sustains 99.1 TFLOPS (71.8% Near-Roofline).",
            "diagnosis_zh": "32,760 Token 3D 全注意力 4 步 BF16 实测持续算力 99.1 TFLOPS（71.8% 准物理极限）。"
          }
        },
        {
          "profile_id": "m5-ultra-256g-lightning4-720p-bf16vae",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 128,
          "macos": "27.2",
          "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS)",
          "quantization": "BF16 DiT + BF16 VAE + lightx2v 4-step Dual LoRA",
          "disk_gb": 128.8,
          "mode": "distilled",
          "recommended": false,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "resolution": "1280x720",
            "frames": 81,
            "fps": 16,
            "duration_s": 5.06,
            "steps": 4,
            "load_s": 24.8,
            "gen_s": 357.3,
            "peak_wired_gb": 109.8
          },
          "quality_check": {
            "passed": true,
            "summary": "Sharp 720p HD motion & lighting, zero BF16 VAE artifacts (saves 17.9 GB & 30.1s vs FP32 VAE)"
          },
          "notes": "BF16 VAE slashes peak wired from 127.7 GB to 109.8 GB, unlocking 720p HD Wan2.2 on 128 GB Mac Studios.",
          "recipe": {
            "script": "models/video/wan2.2-t2v-a14b/run.py",
            "launch_cmd": "python models/video/wan2.2-t2v-a14b/run.py --model /path/to/Wan2.2-T2V-A14B-Diffusers --lora-dir /path/to/Wan2.2-Distill-Loras --mode lightning4 --vae-bf16 --width 1280 --height 720",
            "patches": [
              {
                "path": "model2metal/patches/wan22_mps.py",
                "kind": "python-hook",
                "target_pkg": "diffusers>=0.43",
                "description": "Dual-LoRA weight-delta fusion guard + TaylorSeer blocks.\\d+/proj_out regex fix + FirstBlockCache helper"
              }
            ]
          },
          "profile_path": "models/video/wan2.2-t2v-a14b/profiles/m5-ultra-256g-lightning4-720p-bf16vae.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/wan2.2-t2v-a14b/profiles/m5-ultra-256g-lightning4-720p-bf16vae.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "roofline_optimal",
            "primary_pct": 75.5,
            "sustained_tflops": 104.2,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Compute Peak",
            "short_tag_zh": "算力极限",
            "diagnosis_en": "720p 73,710-token 3D full attention sustains 104.2 TFLOPS (75.5% Compute Roofline).",
            "diagnosis_zh": "720p 73,710 Token 3D 注意力实测持续算力 104.2 TFLOPS（75.5% 硅片算力极限）。"
          }
        },
        {
          "profile_id": "m5-ultra-256g-mlx8-seq-480p",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 32,
          "macos": "27.2",
          "engine": "Native MLX 0.32.5 (mlx-video + wan22_mlx.py)",
          "quantization": "MLX 8-bit Fused Dual-LoRA DiT + BF16 VAE",
          "disk_gb": 32.1,
          "mode": "distilled",
          "recommended": false,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-06",
          "metrics": {
            "resolution": "832x480",
            "frames": 81,
            "fps": 16,
            "duration_s": 5.06,
            "steps": 4,
            "load_s": 1.0,
            "gen_s": 88.74,
            "vae_s": 6.05,
            "peak_mlx_gb": 21.57,
            "peak_wired_gb": 31.49,
            "speedup_vs_baseline": 19.9
          },
          "quality_check": {
            "passed": true,
            "summary": "40-layer forward cosine_similarity=0.99885 vs PyTorch BF16; sharp 81f video (std=41.66, zero NaN)"
          },
          "notes": "Pre-fuses lightx2v rank-64 Dual LoRAs in BF16 BEFORE 8-bit quantization (avoiding upstream mlx-video's 57 GB BF16 dequantization trap) and swaps High/Low-Noise 15.78 GB experts sequentially. Slashes peak memory from 90.0 GB -> 21.57 GB MLX (31.49 GB Wired), unlocking 32 GB / 48 GB / 64 GB Macs!",
          "recipe": {
            "script": "models/video/wan2.2-t2v-a14b/run_mlx.py",
            "launch_cmd": "python models/video/wan2.2-t2v-a14b/run_mlx.py --model /path/to/Wan2.2-T2V-A14B-Diffusers --lora-dir /path/to/Wan2.2-Distill-Loras --sequential --width 832 --height 480",
            "patches": [
              {
                "path": "model2metal/patches/wan22_mlx.py",
                "kind": "weight-surgery",
                "target_pkg": "mlx-video>=0.0.1",
                "description": "Pre-quantization BF16 Dual-LoRA fusion + 1,095-key Diffusers->MLX WanModel bridge (norm2->norm3)"
              }
            ]
          },
          "profile_path": "models/video/wan2.2-t2v-a14b/profiles/m5-ultra-256g-mlx8-seq-480p.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/wan2.2-t2v-a14b/profiles/m5-ultra-256g-mlx8-seq-480p.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "near_roofline",
            "primary_pct": 67.4,
            "sustained_tflops": 93.0,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Near-Peak",
            "short_tag_zh": "准极限",
            "diagnosis_en": "Native MLX 8-bit pre-fused LoRA DiT sustains 93.0 TFLOPS (67.4% Near-Roofline) while cutting RAM 90 GB -> 21.6 GB MLX.",
            "diagnosis_zh": "原生 MLX 8-bit 预融合双 LoRA 持续算力 93.0 TFLOPS（67.4% 准极限），同时将内存从 90 GB 压至 21.6 GB MLX。"
          }
        },
        {
          "profile_id": "m5-ultra-256g-taylorseer-480p",
          "chip": "Apple M5 Ultra (80-core GPU)",
          "ram_gb": 256,
          "min_ram_gb": 128,
          "macos": "27.2",
          "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS)",
          "quantization": "BF16 DiT + FP32 VAE (TaylorSeerCache w/ blocks.* fix)",
          "disk_gb": 126.2,
          "mode": "training-free-cache",
          "recommended": false,
          "contributor": "@hiddendevj",
          "verified_by": "Pomavia Lab",
          "verified_date": "2026-12-05",
          "metrics": {
            "resolution": "832x480",
            "frames": 81,
            "fps": 16,
            "duration_s": 5.06,
            "steps": 40,
            "load_s": 13.8,
            "gen_s": 843.9,
            "peak_wired_gb": 100.9,
            "speedup_vs_baseline": 2.09
          },
          "quality_check": {
            "passed": true,
            "summary": "Film-grade 35mm look verified; requires explicit skip=blocks.* + cache=proj_out regex"
          },
          "notes": "PITFALL: Default Diffusers 0.43 TaylorSeerCache matches 0 modules on Wan2.2 and runs 0% cached! Always use model2metal.patches.wan22_mps.apply_wan22_taylorseer_cache().",
          "recipe": {
            "script": "models/video/wan2.2-t2v-a14b/run.py",
            "launch_cmd": "python models/video/wan2.2-t2v-a14b/run.py --model /path/to/Wan2.2-T2V-A14B-Diffusers --mode taylorseer --steps 40",
            "patches": [
              {
                "path": "model2metal/patches/wan22_mps.py",
                "kind": "python-hook",
                "target_pkg": "diffusers>=0.43",
                "description": "Dual-LoRA weight-delta fusion guard + TaylorSeer blocks.\\d+/proj_out regex fix + FirstBlockCache helper"
              }
            ]
          },
          "profile_path": "models/video/wan2.2-t2v-a14b/profiles/m5-ultra-256g-taylorseer-480p.yaml",
          "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/wan2.2-t2v-a14b/profiles/m5-ultra-256g-taylorseer-480p.yaml",
          "roofline": {
            "kind": "dit_compute",
            "regime": "compute_flops",
            "gate": "near_roofline",
            "primary_pct": 62.9,
            "sustained_tflops": 86.8,
            "chip_peak_tflops": 138.0,
            "short_tag_en": "Near-Peak",
            "short_tag_zh": "准极限",
            "diagnosis_en": "40-step TaylorSeerCache sustains 86.8 TFLOPS (62.9%); superseded by 4-step lightx2v LoRA (82.5s).",
            "diagnosis_zh": "40 步 TaylorSeerCache 有效算力 62.9%；追求极速请选上方 4 步 lightx2v 蒸馏配置（82.5s）。"
          }
        }
      ],
      "audit_logs": [
        {
          "mac_slug": "mac-studio-m5-ultra-256gb",
          "mac_name": "Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB)",
          "os_env": "macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)",
          "verified": true,
          "entries": [
            {
              "date": "2026-12-01",
              "stage": "Baseline",
              "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS)",
              "config": "Official 40-step CFG=4.0/3.0 + FP32 VAE (832×480, 81f = 5.06s)",
              "primary": "1,765.3s (29.4 min)",
              "secondary": "14.1s load · 1.0x baseline",
              "mem_io": "99.5 GB Wired",
              "verify": "f0/f40/f80 Cinema Reference ✅",
              "repro": "python models/video/wan2.2-t2v-a14b/run.py --mode baseline --steps 40"
            },
            {
              "date": "2026-12-03",
              "stage": "Kernel/Patch",
              "engine": "diffusers 0.43.0 + wan22_mps.py",
              "config": "Training-free TaylorSeerCache (patched skip=blocks.\\d+, cache=proj_out regex)",
              "primary": "843.9s (2.09x faster)",
              "secondary": "13.8s load · 40 steps no-LoRA",
              "mem_io": "100.9 GB Wired",
              "verify": "f0/f40/f80 Visual Check Pass ✅",
              "repro": "python models/video/wan2.2-t2v-a14b/run.py --mode taylorseer --steps 40"
            },
            {
              "date": "2026-12-04",
              "stage": "Training-Free ★",
              "engine": "diffusers 0.43.0 + wan22_mps.py",
              "config": "Training-free FirstBlockCache(threshold=0.12) across dual 14B MoE transformers",
              "primary": "819.4s (2.15x faster, skips 22/40 steps)",
              "secondary": "14.4s load · Pixel-faithful to 40-step",
              "mem_io": "105.0 GB Wired",
              "verify": "Near-identical to uncached 40-step ✅",
              "repro": "python models/video/wan2.2-t2v-a14b/run.py --mode fbcache --steps 40"
            },
            {
              "date": "2026-12-05",
              "stage": "MPS Speed ★",
              "engine": "diffusers 0.43.0 + wan22_mps.py",
              "config": "Fused lightx2v 4-step Dual-LoRA (asserted weight delta >1e-5, shift=5.0) + BF16 VAE",
              "primary": "82.5s @ 480p (21.4x) · 357.3s @ 720p",
              "secondary": "24.6s load · Saves 10.6–17.9 GB vs FP32 VAE",
              "mem_io": "90.0 GB Wired @ 480p · 109.8 GB @ 720p",
              "verify": "Zero NaN/banding · Fits 128 GB Mac! ✅",
              "repro": "python models/video/wan2.2-t2v-a14b/run.py --mode lightning4 --vae-bf16 --width 832 --height 480"
            },
            {
              "date": "2026-12-06",
              "stage": "MLX 8-bit Low-RAM ★",
              "engine": "Native MLX 0.32.5 (mlx-video + wan22_mlx.py)",
              "config": "Pre-quantization BF16 Dual-LoRA fuse + 8-bit DiT (gs=64) sequential swap + precomputed Cross-KV",
              "primary": "88.74s @ 480p (6.05s VAE · 92.85s dual)",
              "secondary": "1.0s load · Unlocks 32 GB / 48 GB / 64 GB Macs!",
              "mem_io": "21.57 GB MLX · 31.49 GB Wired (-65% vs MPS!)",
              "verify": "40-layer cos=0.99885 vs BF16 · f0/f40/f80 ✅",
              "repro": "python models/video/wan2.2-t2v-a14b/run_mlx.py --model /path/to/Wan2.2-T2V-A14B-Diffusers --lora-dir /path/to/Wan2.2-Distill-Loras --sequential --width 832 --height 480"
            }
          ]
        }
      ]
    }
  ],
  "profiles": [
    {
      "slug": "deepseek-v4.1-flash",
      "model_name": "DeepSeek-V4.1-Flash",
      "category": "llm",
      "family": "DeepSeek",
      "source_repo": "mlx-community/DeepSeek-V4.1-Flash-1017-oQ2.5e-mtp",
      "license": "MIT",
      "model_min_ram_gb": 256,
      "aa_score": 32,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "summary": "552B MoE flagship with MLA, Engram lookup tables, and MTP heads. Runs at 3,252 PP / 108.2 TG in oQ2.5e or 1,031 PP / 31.2 TG in unquantized 510 GB FP8 double-hybrid on 256 GB M5 Ultra.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/llm/deepseek-v4.1-flash",
      "profile_id": "m5-ultra-256g-fp8-double-hybrid",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 256,
      "engine": "oMLX 0.8.3",
      "quantization": "Official Unquantized FP8 (510.3 GB)",
      "mode": "double-hybrid",
      "recommended": false,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": 1023.8,
      "pp_tag": "32K",
      "tg_best": 31.2,
      "gen_s": null,
      "resolution": "",
      "steps": null,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 220.8,
      "speedup": 3.95,
      "roofline": {
        "kind": "llm_bw",
        "regime": "nvme",
        "gate": "roofline_optimal",
        "primary_pct": 96.2,
        "eta_bw_pct": 52.3,
        "eta_nvme_pct": 96.2,
        "effective_bw_gbs": 642.5,
        "chip_bw_gbs": 1228.0,
        "nvme_gbs": 8.56,
        "nvme_ceiling_gbs": 8.9,
        "decode_tok_s": 31.2,
        "active_gb_per_tok": 34.8,
        "mtp_mult": 1.69,
        "arch_breakdown": "Official FP8 MLA/dense + 6/384 FP8 experts streamed via os.preadv",
        "short_tag_en": "NVMe Wall",
        "short_tag_zh": "NVMe 极限",
        "diagnosis_en": "Saturates 8.56 GB/s NVMe sequential read (96.2% of Apple SSD physical ceiling) in 220.8 GB Wired.",
        "diagnosis_zh": "在 256 GB 机器上以双混合卸载跑出 8.56 GB/s 持续闪存吞吐（达 Apple NVMe 物理上限的 96.2%）。"
      },
      "metrics": {
        "pp_1k_tok_s": 67.1,
        "pp_4k_tok_s": 602.8,
        "pp_16k_tok_s": 920.7,
        "pp_32k_tok_s": 1023.8,
        "tg_peak_tok_s": 31.2,
        "tg_32k_tok_s": 26.3,
        "peak_wired_gb": 220.8,
        "ssd_peak_gb_s": 8.56,
        "speedup_vs_baseline": 3.95
      },
      "quality_check": {
        "passed": true,
        "summary": "3/3 deterministic checks passed (12.8s / 17.3s / 6.0s)"
      },
      "notes": "CRITICAL: Enable Engram SSD offload FIRST (-212.86 GB), lifting MoE resident_fraction ceiling from 5% to 75%. Optimal safe setting: resident_fraction=0.70 + A8(m64) + CED + MTP5 + lossless BF16 KV (0.72+TQ4 hits 1,031.1 PP@32K).",
      "recipe": {
        "flags": {
          "deepseek_v41_engram_ssd_offload": true,
          "moe_resident_fraction": 0.7,
          "a8_prefill_enabled": true,
          "a8_prefill_min_tokens": 64,
          "ced_prefill": true,
          "mtp_adaptive_max_depth": 5,
          "turboquant_kv": false
        }
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/deepseek-v4.1-flash/profiles/m5-ultra-256g-fp8-double-hybrid.yaml"
    },
    {
      "slug": "deepseek-v4.1-flash",
      "model_name": "DeepSeek-V4.1-Flash",
      "category": "llm",
      "family": "DeepSeek",
      "source_repo": "mlx-community/DeepSeek-V4.1-Flash-1017-oQ2.5e-mtp",
      "license": "MIT",
      "model_min_ram_gb": 256,
      "aa_score": 32,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "summary": "552B MoE flagship with MLA, Engram lookup tables, and MTP heads. Runs at 3,252 PP / 108.2 TG in oQ2.5e or 1,031 PP / 31.2 TG in unquantized 510 GB FP8 double-hybrid on 256 GB M5 Ultra.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/llm/deepseek-v4.1-flash",
      "profile_id": "m5-ultra-256g-oq25e-mtp",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 256,
      "engine": "oMLX 0.8.3",
      "quantization": "oQ2.5e-MTP (~2.5-bit)",
      "mode": "table-offload",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": 3252.0,
      "pp_tag": "32K",
      "tg_best": 108.2,
      "gen_s": null,
      "resolution": "",
      "steps": null,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 223.0,
      "speedup": 1.98,
      "roofline": {
        "kind": "llm_bw",
        "regime": "dram_bw",
        "gate": "roofline_optimal",
        "primary_pct": 75.4,
        "eta_bw_pct": 75.4,
        "eta_nvme_pct": 0.0,
        "effective_bw_gbs": 926.3,
        "chip_bw_gbs": 1228.0,
        "nvme_gbs": 0.0,
        "nvme_ceiling_gbs": 8.9,
        "decode_tok_s": 108.2,
        "active_gb_per_tok": 16.95,
        "mtp_mult": 1.98,
        "arch_breakdown": "11.17 GB MLA/dense + 3.11 GB routed (6/384) + 2.67 GB MTP3 head",
        "short_tag_en": "Roofline",
        "short_tag_zh": "硅片极限",
        "diagnosis_en": "Sustains 926.3 GB/s (75.4% DRAM Roofline) with affine oQ2.5e Metal kernels while offloading cold Engram tables.",
        "diagnosis_zh": "仿射 oQ2.5e Metal 算子配合冷 Engram 表卸载，实测有效带宽达 926.3 GB/s（75.4%，已贴近硅片物理极限）。"
      },
      "metrics": {
        "pp_1k_tok_s": 822.0,
        "pp_4k_tok_s": 1547.0,
        "pp_16k_tok_s": 2405.0,
        "pp_32k_tok_s": 3252.0,
        "pp_64k_tok_s": 2153.0,
        "tg_peak_tok_s": 108.2,
        "tg_batch4_tok_s": 99.3,
        "peak_wired_gb": 223.0,
        "speedup_vs_baseline": 1.98
      },
      "quality_check": {
        "passed": true,
        "summary": "3/3 deterministic checks passed (math=34196, fib, logic=18)"
      },
      "notes": "Enable CED + M5 Q4A8(min64) + Engram SSD offload + MTP5; keep TurboQuant OFF (MLA KV is tiny; disabling TQ adds +10-15%).",
      "recipe": {
        "omlx_recipe": "omlx-recipe:1:eNqNU9lywjAM_Jc8dzqEBqaTn9GIWCZuHNv44JhO_70yDYVAQvtoa3XsSvtZ4Ds4T1JpDWRwo0kUdfSJXm4jvTIQbUcmFPW64lAT1R6jsgakK9fXTIk6cKogcoGog31VQkNirsUIR2brsYcQBFgptcUrTGoM7UOXnzfEVplOme0FLa1vCAL2Tp9_B3R7qiZbDOEej9BYE-kY4aCMsIeiXq6XZcV0e0tAR0c-XtIeZpmAeApKkIkgfdbLmqJevC5XjI0OUKBjDQlyX0EutkU9hO402h3IvK0ADf2q2LgEPKAZVV7MQu9nnYHdFivfVrO4rfhv49Cip7MQNvFO_mAUW08o-MLeJyEioc4fT6r8g6hMgSfK4j1DMcUnbe4FWM2i8nI1nsgzq2qa1i0kW2sCEmiXyPBNa77ffCjLxUyxQfDrcOXMdiIqDQ6FYIeM3D3Aq_P4ghoriO0gcqb9GElWgWPzTVkpOGrmVnIxK2yS2FJ8jCe_sbuEbJtuDxsV8z1kEuPA87TQtNTzodx8FyNM6JRj1UO8bHmvexh571z36xuD--PM",
        "flags": {
          "a8_prefill_enabled": true,
          "a8_prefill_min_tokens": 64,
          "ced_prefill": true,
          "deepseek_v41_engram_ssd_offload": true,
          "turboquant_kv": false,
          "mtp_adaptive_max_depth": 5
        }
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/deepseek-v4.1-flash/profiles/m5-ultra-256g-oq25e-mtp.yaml"
    },
    {
      "slug": "gemma-4-26b-a4b",
      "model_name": "Gemma-4-26B-A4B",
      "category": "llm",
      "family": "Gemma",
      "source_repo": "mlx-community/gemma-4-26b-a4b-it-4bit",
      "license": "Gemma License",
      "model_min_ram_gb": 24,
      "aa_score": 4,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "summary": "16.3 GB sparse MoE + DFlash adaptive drafter: 7,245 tok/s PP@4K, 275.0 tok/s speculative decode (196 tok/s w/ Google VLM-MTP), and 122.3 tok/s @ 64K in 23 GB Wired.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/llm/gemma-4-26b-a4b",
      "profile_id": "m5-ultra-256g-4bit-dflash-tq4",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 24,
      "engine": "oMLX 0.8.3 (DFlash Speculative + TQ4)",
      "quantization": "MLX 4-bit + DFlash Drafter (0.86 GB)",
      "mode": "pure-ram",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-06",
      "pp_best": 5907.5,
      "pp_tag": "32K",
      "tg_best": 275.0,
      "gen_s": null,
      "resolution": "",
      "steps": null,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 23.0,
      "speedup": 1.87,
      "roofline": {
        "kind": "llm_bw",
        "regime": "dram_bw",
        "gate": "kernel_bottleneck",
        "primary_pct": 38.3,
        "eta_bw_pct": 38.3,
        "eta_nvme_pct": 0.0,
        "effective_bw_gbs": 470.3,
        "chip_bw_gbs": 1228.0,
        "nvme_gbs": 0.0,
        "nvme_ceiling_gbs": 8.9,
        "decode_tok_s": 275.0,
        "active_gb_per_tok": 3.01,
        "mtp_mult": 1.76,
        "arch_breakdown": "1.35 GB dense + 0.80 GB routed (8/128) + 0.86 GB DFlash drafter (adaptive b=9)",
        "short_tag_en": "Kernel Bound",
        "short_tag_zh": "待攻关",
        "diagnosis_en": "Kernel Bottleneck: DFlash adaptive b=9 boosts effective BW +49% vs single-step (316 -> 470.3 GB/s, 38.3%), but compact 72 MB/layer 30-layer MoE remains launch-latency bound. Next target: fused drafter+verifier graph.",
        "diagnosis_zh": "Kernel Bottleneck：挂载 DFlash (b=9) 已将有效带宽较单步提升 +49%（316 → 470.3 GB/s，38.3%），但每层仅 72 MB 的小激活仍受限于调度延迟；下一步攻关 Draft+Verify 单图融合执行。"
      },
      "metrics": {
        "pp_1k_tok_s": 6104.4,
        "pp_4k_tok_s": 7244.9,
        "pp_16k_tok_s": 6726.2,
        "pp_32k_tok_s": 5907.5,
        "pp_64k_tok_s": 4663.8,
        "tg_peak_tok_s": 275.0,
        "tg_e2e_tok_s": 261.9,
        "tg_synth_bench_tok_s": 152.9,
        "tg_64k_tok_s": 122.3,
        "tg_batch4_tok_s": 299.4,
        "peak_wired_gb": 23.0,
        "speedup_vs_baseline": 1.87
      },
      "quality_check": {
        "passed": true,
        "summary": "512-token Red-Black Tree + Python fib(n) + logic checks passed (46.6 tok/chunk adaptive DFlash acceptance; 196.0 tok/s with Google Assistant VLM-MTP)"
      },
      "notes": "Attaching z-lab/gemma-4-26B-A4B-it-DFlash (adaptive block=9) + TurboQuant 4-bit KV pushes real coding/text decode from 147.0 -> 275.0 tok/s (261.9 tok/s E2E; 226.2 tok/s with BF16 KV; 196.0 tok/s with Google gemma4_assistant VLM-MTP) while keeping 64K wired memory at 23.0 GB. Keep a8_prefill_enabled=false on Gemma-4.",
      "recipe": {
        "omlx_recipe": "omlx-recipe:1:eNqNVMmO2zAM_Redx5NlnCD1rYOif9AzoVhUrFpbJDlLi_57aU_iiRM7mIMBQ3wkHx-Xv4xvwAeUSmtAy7caBSsk1xFfbk1GWUiuRhtZsVhuyFYmdeBJOQvSL9YPvgLRR8QaDvmCjLvADcQowEmpHb_BSc1jBVvtyhqi-oOs-Na_isBlAuMEalaw2a-IIc4SpbJp9uqMPs06W5zt0Bie5dly_Z59z98zlbIfP9sQrI_VE0yh-cx7wKDkuUtBGbjgnspC8pIulAiRG6-V3fV0q3P-rBrjEPDkMaSr6UGYEUjAqATaBDK0sjrLivnrckXY5B_8qSMRLXHzZNHp3GLnL2x_RPu2Am6x71npGxDuaAdhp6H3iSZgt8EWb6tJ3E58NXGseMBOBdeQ6NcOTaBTFZALGsPNKEQ0XLcPT6J8oVDZRGLUivcMRSU-SXMvwGoSZfgJND_TcLMiHy_rFrLORyER9003GJoGNFWsWM4ngl0E_yS3mOhO4kqD50LQCgxOwAWed_QFlrQ-cKQZJk_3eyBZDl7j6K4E9JhUd0H6Ue6IRI_lVK8SGlodnpqAl6FKlbJ1y2_biB2mRw_noe4Yt3_-koMCbN2-oUMC9QG2KrXSPxrujsbQGMsKTXs2Pp_ZABNr5alrMV39D9pAu9Mfd-325q3vjdejN3LZ9py-HOZZY7s8FEBkPEYV0weFa6ShFP_-AysrKDE",
        "flags": {
          "dflash_enabled": true,
          "dflash_draft_model": "z-lab/gemma-4-26B-A4B-it-DFlash",
          "dflash_verify_mode": "adaptive",
          "dflash_block_size": 9,
          "turboquant_kv": "tq4"
        }
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/gemma-4-26b-a4b/profiles/m5-ultra-256g-4bit-dflash-tq4.yaml"
    },
    {
      "slug": "gemma-4-26b-a4b",
      "model_name": "Gemma-4-26B-A4B",
      "category": "llm",
      "family": "Gemma",
      "source_repo": "mlx-community/gemma-4-26b-a4b-it-4bit",
      "license": "Gemma License",
      "model_min_ram_gb": 24,
      "aa_score": 4,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "summary": "16.3 GB sparse MoE + DFlash adaptive drafter: 7,245 tok/s PP@4K, 275.0 tok/s speculative decode (196 tok/s w/ Google VLM-MTP), and 122.3 tok/s @ 64K in 23 GB Wired.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/llm/gemma-4-26b-a4b",
      "profile_id": "m5-ultra-256g-4bit-tq4",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 24,
      "engine": "oMLX 0.8.3",
      "quantization": "MLX 4-bit",
      "mode": "pure-ram",
      "recommended": false,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": 5652.0,
      "pp_tag": "32K",
      "tg_best": 147.0,
      "gen_s": null,
      "resolution": "",
      "steps": null,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 39.1,
      "speedup": 1.56,
      "roofline": {
        "kind": "llm_bw",
        "regime": "dram_bw",
        "gate": "kernel_bottleneck",
        "primary_pct": 25.7,
        "eta_bw_pct": 25.7,
        "eta_nvme_pct": 0.0,
        "effective_bw_gbs": 316.1,
        "chip_bw_gbs": 1228.0,
        "nvme_gbs": 0.0,
        "nvme_ceiling_gbs": 8.9,
        "decode_tok_s": 147.0,
        "active_gb_per_tok": 2.15,
        "mtp_mult": 1.0,
        "arch_breakdown": "1.35 GB dense + 0.80 GB routed (8/128 of 12.85 GB 4-bit), single-step",
        "short_tag_en": "Kernel Bound",
        "short_tag_zh": "待攻关",
        "diagnosis_en": "Kernel Bottleneck: Single-token decode reads only 2.15 GB (71.7 MB/layer) at 316.1 GB/s (25.7%). Resolved in recommended DFlash + TQ4 profile (275.0 tok/s).",
        "diagnosis_zh": "Kernel Bottleneck：纯单步解码每 Token 仅读 2.15 GB（316.1 GB/s，25.7%）；切换至上方推荐的 DFlash + TQ4 配置即可跃升至 275.0 tok/s。"
      },
      "metrics": {
        "pp_1k_tok_s": 5733.0,
        "pp_4k_tok_s": 7072.0,
        "pp_16k_tok_s": 6588.0,
        "pp_32k_tok_s": 5652.0,
        "pp_64k_tok_s": 4454.0,
        "tg_peak_tok_s": 147.0,
        "tg_64k_tok_s": 118.6,
        "tg_batch4_tok_s": 344.6,
        "peak_wired_gb": 39.1,
        "speedup_vs_baseline": 1.56
      },
      "quality_check": {
        "passed": true,
        "summary": "2/3 no-CoT deterministic checks (mental-math off by 38 without CoT; code & logic pass)"
      },
      "notes": "Because Gemma-4 uses standard GQA, enabling TurboQuant 4-bit KV boosts 64K decode by +56.3% (75.9 -> 118.6 tok/s).",
      "recipe": {
        "omlx_recipe": "omlx-recipe:1:eNqNU-1uwjAMfJf8nibKCmJ9Gcs0Ds2aJiEfwDTt3ecCY3RtEf8i-3w5n-0vgRvwgZQ2BjptIbmWbBRVsdy8CKyTPmDSzoLyxRrI4taQFJVCE-lFSCIfiVo4lAUndwE7iFGCU8o4vMMpg7EZlSsXaoKInTfa7m7h5rN8RNY5Ajp5Cuk3NSKegASKWpJNoELflbOiWrwuV4xNflS_P5J9WwFaunlT-wzSHe2gfjELfZLxnqx4W83idvLZj2ODgc7tuszuiiqFPP9_agKh5HFvJiEyo-kDD1ieaFTlyIp68x6huMUH3_w3YDWL6vAEBj8pcFfldFv3kHU5CYm0z2R5Ow1vYmpEtVzMkF0N_xNXzEwnoTbgUUre9cGpXeHlWb6k2kmCIy8rV7qPgWUleEOTRxE91XMjSdTxKWDKga7qUqNt28vYZrmjNK5wHtqLN_3T946_s-VMsXX7jHxG7QG2OvUenwkHiRvdZZzDZKwb6ljIXVgMMLHVnscT02_9wXQwvtLvH0TkvI4",
        "flags": {
          "turboquant_kv": "tq4"
        }
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/gemma-4-26b-a4b/profiles/m5-ultra-256g-4bit-tq4.yaml"
    },
    {
      "slug": "glm-5.3",
      "model_name": "GLM-5.3 (753B MoE)",
      "category": "llm",
      "family": "GLM",
      "source_repo": "unsloth/GLM-5.3-GGUF",
      "license": "MIT",
      "model_min_ram_gb": 256,
      "aa_score": 32,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "summary": "753B flagship unlocked to 43.2 tok/s zero-swap on 256 GB M5 Ultra via pure-RAM UD-IQ2_M (222.2 GiB) + Metal 4 fa_tensor + built-in NextN MTP (18.8x over 4-bit SSD offload).",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/llm/glm-5.3",
      "profile_id": "m5-ultra-256g-4bit-moe-offload",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 256,
      "engine": "oMLX 0.8.3",
      "quantization": "MLX 4-bit (418.3 GB)",
      "mode": "moe-offload",
      "recommended": false,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": 89.0,
      "pp_tag": "16K",
      "tg_best": 2.3,
      "gen_s": null,
      "resolution": "",
      "steps": null,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 232.8,
      "speedup": 1.53,
      "roofline": {
        "kind": "llm_bw",
        "regime": "nvme",
        "gate": "roofline_optimal",
        "primary_pct": 97.5,
        "eta_bw_pct": 4.4,
        "eta_nvme_pct": 97.5,
        "effective_bw_gbs": 54.3,
        "chip_bw_gbs": 1228.0,
        "nvme_gbs": 8.68,
        "nvme_ceiling_gbs": 8.9,
        "decode_tok_s": 2.3,
        "active_gb_per_tok": 23.6,
        "mtp_mult": 1.0,
        "arch_breakdown": "40B active @ MLX 4-bit (418.3 GB total, 53% streamed from NVMe)",
        "short_tag_en": "NVMe Wall",
        "short_tag_zh": "NVMe 极限",
        "diagnosis_en": "Saturates 8.68 GB/s NVMe sequential read (97.5% of physical SSD ceiling); use pure-RAM UD-IQ2_M (43.2 tok/s) to bypass SSD wall.",
        "diagnosis_zh": "已吃满 8.68 GB/s NVMe 物理带宽上限（97.5%）；推荐切换至纯内存 UD-IQ2_M + NextN 配置（43.2 tok/s）彻底消除闪存瓶颈。"
      },
      "metrics": {
        "pp_1k_tok_s": 25.8,
        "pp_4k_tok_s": 84.2,
        "pp_16k_tok_s": 89.0,
        "tg_peak_tok_s": 2.3,
        "tg_16k_tok_s": 1.9,
        "peak_wired_gb": 232.8,
        "ssd_peak_gb_s": 8.68,
        "speedup_vs_baseline": 1.53
      },
      "quality_check": {
        "passed": true,
        "summary": "3/3 deterministic checks passed (56.6s / 114.1s / 33.0s)"
      },
      "notes": "Pin resident_fraction=0.47 (max_percent - 4%) + TQ4 KV. 0.48 triggers HTTP 507 admission guard; 0.51 aborts at 16K. Hits 8.68 GB/s NVMe sustained (>95% of physical ceiling).",
      "recipe": {
        "omlx_recipe": "omlx-recipe:1:eNqNk9tuwjAMht-l12iirDDGy1imcdqsaRJy4KBp7z4XcWihRdzGn__Yv-3fDNfgPEmlNbTKQLQNmZBt8sV6lmEZ1R6jsgaky1dABreaRLaRqAPNMkHkAlED-yLnYOWxhRAEWCm1xR4nNYb6KV1aXxIEbJ1Wpro916filVhrCejoyMdr6C4cfRonPAUlyESQvmvKmmwz_yi-mI3uqa7dgcznEtDQzZrSJRD2YAb580n0TcW-WP65nOQq8e7HoUZP53ZtYnOvjkzQsfaEgqe9HkVEQt09vFB5o1GZAlfUmfeK4hZffPNowHKSavEIGk_kuativK0-sipGkUC7RIaXU_MixjrbLOYTYhfD78XlE9OJqDQ4FIJXfXBpF7w4ly-otILgwMvKmfZnYFkBTtPoTQRH5dRIIrV8ChiTp0t1sVam6crYJlFRfM6wDlxn8zf7zHlbu0vIt9PsYatiZ-xZZRB4OMFhMJQ1tfx77zkbMKFRjmcS4jV_r1t4Ps2_f2A5uRY",
        "flags": {
          "moe_resident_fraction": 0.47,
          "turboquant_kv": "tq4"
        }
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/glm-5.3/profiles/m5-ultra-256g-4bit-moe-offload.yaml"
    },
    {
      "slug": "glm-5.3",
      "model_name": "GLM-5.3 (753B MoE)",
      "category": "llm",
      "family": "GLM",
      "source_repo": "unsloth/GLM-5.3-GGUF",
      "license": "MIT",
      "model_min_ram_gb": 256,
      "aa_score": 32,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "summary": "753B flagship unlocked to 43.2 tok/s zero-swap on 256 GB M5 Ultra via pure-RAM UD-IQ2_M (222.2 GiB) + Metal 4 fa_tensor + built-in NextN MTP (18.8x over 4-bit SSD offload).",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/llm/glm-5.3",
      "profile_id": "m5-ultra-256g-ud-iq2-m-mtp-llamacpp",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 256,
      "engine": "llama.cpp b12991 (Metal 4 fa_tensor + NextN MTP)",
      "quantization": "GGUF UD-IQ2_M (222.2 GiB + built-in NextN)",
      "mode": "pure-ram",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-06",
      "pp_best": 189.9,
      "pp_tag": "16K",
      "tg_best": 43.2,
      "gen_s": null,
      "resolution": "",
      "steps": null,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 252.8,
      "speedup": 28.8,
      "roofline": {
        "kind": "llm_bw",
        "regime": "dram_bw",
        "gate": "kernel_bottleneck",
        "primary_pct": 36.5,
        "eta_bw_pct": 36.5,
        "eta_nvme_pct": 0.0,
        "effective_bw_gbs": 448.6,
        "chip_bw_gbs": 1228.0,
        "nvme_gbs": 0.0,
        "nvme_ceiling_gbs": 8.9,
        "decode_tok_s": 43.2,
        "active_gb_per_tok": 16.2,
        "mtp_mult": 1.56,
        "arch_breakdown": "9.66 GB MLA/DSA/shared + 6.54 GB routed (8/256 @ UD-IQ2_M) + NextN n=4",
        "short_tag_en": "Kernel Bound",
        "short_tag_zh": "待攻关",
        "diagnosis_en": "Kernel Bottleneck: IQ2_M codebook LUT dequantization caps Metal ALU unpack at ~449 GB/s (36.5%). Next target: affine oQ2.5e MLX port / SIMD LUT unpack -> 75+ tok/s.",
        "diagnosis_zh": "Kernel Bottleneck：IQ2_M 码本查表反量化受限于 GPU 寄存器查表吞吐（448.7 GB/s，36.5%）；下一步攻关仿射 oQ2.5e MLX 移植或 Metal 4 SIMD 查表融合，有望再冲 75+ tok/s。"
      },
      "metrics": {
        "pp_1k_tok_s": 387.2,
        "pp_4k_tok_s": 226.0,
        "pp_16k_tok_s": 189.9,
        "tg_peak_tok_s": 43.2,
        "tg_16k_tok_s": 24.3,
        "tg_32k_tok_s": 22.9,
        "peak_wired_gb": 252.8,
        "ssd_mean_mb_s": 0.13,
        "speedup_vs_baseline": 28.8
      },
      "quality_check": {
        "passed": true,
        "summary": "6/6 reasoning & coding checks passed (math 3.07s vs 56.6s offload; fib 5.21s vs 114.1s; 80–83% MTP acceptance)"
      },
      "notes": "Eliminates the 8.68 GB/s NVMe wall (2.3 tok/s) by fitting all 753B MoE weights + blk.78.nextn MTP head in 256 GB Unified Memory (222.19 GiB GGUF -> 235.4 GiB / 252.8 GB wired, 0.13 MB/s NVMe). Use `-b 8192 -ub 8192 -ctk f16 -ctv f16` (+15.2% PP vs `-ub 512`; MLA compressed `f16` KV beats `q8_0` by +19.6% PP & +10.5% TG and `q4_0` by +15.0% TG @ 32K) plus `--spec-type draft-mtp --spec-draft-n-max 4` (43.2 tok/s peak, 33.7 tok/s sustained on 1.5K–3K reasoning+code; 27.7 tok/s single-step).",
      "recipe": {
        "launch_cmd": "llama-server -m GLM-5.3-UD-IQ2_M-00001-of-00006.gguf --host 127.0.0.1 --port 18080 -ngl 999 -fa on -lm mmap -b 8192 -ub 8192 -ctk f16 -ctv f16 -c 32768 --jinja --spec-type draft-mtp --spec-draft-n-max 4",
        "script": "models/llm/glm-5.3/run_pure_ram.sh"
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/glm-5.3/profiles/m5-ultra-256g-ud-iq2-m-mtp-llamacpp.yaml"
    },
    {
      "slug": "glm-5.3-flash",
      "model_name": "GLM-5.3-Flash",
      "category": "llm",
      "family": "GLM",
      "source_repo": "mlx-community/GLM-5.3-Flash-MLX-4bit-MTP",
      "license": "MIT",
      "model_min_ram_gb": 256,
      "aa_score": 28,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "summary": "320B MoE long-context monster: 168.1 tok/s peak decode and an astonishing 155.9 tok/s at 128K context on 256 GB M5 Ultra.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/llm/glm-5.3-flash",
      "profile_id": "m5-ultra-256g-4bit-mtp",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 256,
      "engine": "oMLX 0.8.3",
      "quantization": "MLX 4-bit + MTP",
      "mode": "pure-ram",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": 2364.0,
      "pp_tag": "32K",
      "tg_best": 168.1,
      "gen_s": null,
      "resolution": "",
      "steps": null,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 195.9,
      "speedup": 2.36,
      "roofline": {
        "kind": "llm_bw",
        "regime": "dram_bw",
        "gate": "roofline_optimal",
        "primary_pct": 75.6,
        "eta_bw_pct": 75.6,
        "eta_nvme_pct": 0.0,
        "effective_bw_gbs": 927.9,
        "chip_bw_gbs": 1228.0,
        "nvme_gbs": 0.0,
        "nvme_ceiling_gbs": 8.9,
        "decode_tok_s": 168.1,
        "active_gb_per_tok": 9.77,
        "mtp_mult": 1.77,
        "arch_breakdown": "4.90 GB KDA/dense + 4.87 GB routed (8/288 of 175.3 GB 4-bit)",
        "short_tag_en": "Roofline",
        "short_tag_zh": "硅片极限",
        "diagnosis_en": "Hits 75.6% of M5 Ultra DRAM ceiling (927.9 GB/s) via native M5 Q4A8(gs=64) gather_qmm + MTP5.",
        "diagnosis_zh": "通过 M5 原生 Q4A8(gs=64) gather_qmm 与 MTP5 跑满 927.9 GB/s（达理论带宽 75.6%，已贴近硅片物理极限）。"
      },
      "metrics": {
        "pp_1k_tok_s": 1610.0,
        "pp_4k_tok_s": 2374.0,
        "pp_16k_tok_s": 2374.0,
        "pp_32k_tok_s": 2364.0,
        "pp_128k_tok_s": 2287.0,
        "tg_peak_tok_s": 168.1,
        "tg_128k_tok_s": 155.9,
        "tg_batch4_tok_s": 88.4,
        "peak_wired_gb": 195.9,
        "speedup_vs_baseline": 2.36
      },
      "quality_check": {
        "passed": true,
        "summary": "3/3 deterministic checks passed"
      },
      "notes": "Pure RAM + MTP depth=5 + TurboQuant 8-bit KV keeps 128K decode nearly flat (168.1 -> 155.9 tok/s).",
      "recipe": {
        "omlx_recipe": "omlx-recipe:1:eNqNU1tywjAMvEu-mQ6BhKG5jEbEMnHj2MYPHtPp3aswQAkklF9rtdautN8ZrsF5kkpr6JSBaFsyIavyxXqWYR3VHqOyBqTLV0AGN5pEVknUgWaZIHKBqIV9kXNx67GDEARYKbXFO5zUGJqndml9TRCwc1qZ7e25ORWvyDpLQEdHPl5LT8QjEE9BCTIRpO9VWZNV849FydjoAAU6VkrQ4REEudhk1aV0o44-MfPuQGZZAhq6uVa7BMIezIB5Pgl9nHUCdk-WL8tJ3Fa8-3Fo0NPZCJvY938UxcYTCj6E9ShEJNT9wwuWN4TKFHii3rxXKJb44ptHA8pJVL9cjSfyrKoYl3UPWRWjkEC7RIbvVvON9oeymE-QXQz_Gy6f2E5EpcGhEJyCQQgv8OI8vqDaCoIDnzF32q-BZQU4TaNxCY7qqZVE6jgkGJOny3SxUabtx9gksaX43GEduN7mT_aZ-zZ2l5BT1e5ho2J_LmeWQeEhQsNiqBvq-Pe752yACa1yvJMQr_173cEgmefRfn4BizHDDA",
        "flags": {
          "mtp_adaptive_max_depth": 5,
          "turboquant_kv": "tq8"
        }
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/glm-5.3-flash/profiles/m5-ultra-256g-4bit-mtp.yaml"
    },
    {
      "slug": "hy4-flash",
      "model_name": "Hy4-Flash (224B MoE + Engram)",
      "category": "llm",
      "family": "Hy4",
      "source_repo": "mlx-community/Hy4-flash-oQ4h-mtp",
      "license": "Open Weights",
      "model_min_ram_gb": 192,
      "aa_score": 24,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "summary": "Pure-RAM 132 GB MoE+Engram flagship: 2,558 tok/s PP@16K, 77.2 tok/s peak decode, 66.3 tok/s at 128K.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/llm/hy4-flash",
      "profile_id": "m5-ultra-256g-oq4h-mtp",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 192,
      "engine": "oMLX 0.8.3",
      "quantization": "oQ4h-MTP (4-bit)",
      "mode": "pure-ram",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": 2554.0,
      "pp_tag": "32K",
      "tg_best": 77.2,
      "gen_s": null,
      "resolution": "",
      "steps": null,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 149.8,
      "speedup": 1.67,
      "roofline": {
        "kind": "llm_bw",
        "regime": "dram_bw",
        "gate": "kernel_bottleneck",
        "primary_pct": 39.7,
        "eta_bw_pct": 39.7,
        "eta_nvme_pct": 0.0,
        "effective_bw_gbs": 487.7,
        "chip_bw_gbs": 1228.0,
        "nvme_gbs": 0.0,
        "nvme_ceiling_gbs": 8.9,
        "decode_tok_s": 77.2,
        "active_gb_per_tok": 10.55,
        "mtp_mult": 1.67,
        "arch_breakdown": "7.91 GB dense/attn + 2.61 GB routed (16/512 of 83.5 GB) + 39.7 GB Engram lookup",
        "short_tag_en": "Kernel Bound",
        "short_tag_zh": "待攻关",
        "diagnosis_en": "Kernel Bottleneck: 16-of-512 scattered expert gather + 4-layer Engram random lookup limits effective BW to 487.7 GB/s (39.7%). Next target: sorted expert coalescing + fused Engram projection.",
        "diagnosis_zh": "Kernel Bottleneck：16/512 细粒度专家离散读取与 4 层 Engram 随机查表限制有效带宽在 487.7 GB/s（39.7%）；下一步攻关专家访存合并与 Engram 融合投影。"
      },
      "metrics": {
        "pp_1k_tok_s": 1980.0,
        "pp_4k_tok_s": 2503.0,
        "pp_16k_tok_s": 2558.0,
        "pp_32k_tok_s": 2554.0,
        "pp_128k_tok_s": 2484.0,
        "tg_peak_tok_s": 77.2,
        "tg_128k_tok_s": 66.3,
        "tg_batch4_tok_s": 57.0,
        "peak_wired_gb": 149.8,
        "speedup_vs_baseline": 1.67
      },
      "quality_check": {
        "passed": true,
        "summary": "3/3 deterministic checks passed"
      },
      "notes": "Pure RAM (no offload) + MTP5 + lossless BF16 KV.",
      "recipe": {
        "omlx_recipe": "omlx-recipe:1:eNqNU-1uwjAMfJf-RhOFghgvY5nGoVnTJOQDNk179zkIGKUt419lX653Z_u7wA04T1JpDZ0yEG1LJhTbcrGZFVhHdcSorAHpyjWQwZ0mUWwl6kCzQhC5QNTCsSq5uffYQQgCrJTa4h1OagzN4Lm0viYI2DmtzP5Wbr6qZ2SdJaBPRz5eWwPiEYinoASZCNJnV9YU2_nbYsXY6AAFOnZK0OEnCHKxKbaX1o06-sTMhxOZ5QrQ0C212iUQ9mR6zPNJ6KPWCdg9WblcTeL24tUfhwY9nYOwiXP_x1FsPKHgRdiMQkRCnQtPWF4wKlNgRTm8Zyi2-OQ3jwGsJlF5uBq_yLOratzWPWRdjUICHRIZ3lvNO5oXZTGfILsE_ieunJhORKXBoRB8Bb0jvMCrs3xBtRUEJ15jfmk_epFV4DSNnktwVE-NJFLHR4IxecrRvXOlUabNMnZJ7CkOX1gH7VlY_nIXT0yws4eEfF7tEXYq5r0ZNgZkvW6oG-pYx1256GFCqxxPJ8TrNhx1B70bPfP-_ALbXMYZ",
        "flags": {
          "mtp_adaptive_max_depth": 5,
          "turboquant_kv": false
        }
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/hy4-flash/profiles/m5-ultra-256g-oq4h-mtp.yaml"
    },
    {
      "slug": "inkling-2-mini",
      "model_name": "Inkling-2-Mini",
      "category": "llm",
      "family": "Inkling",
      "source_repo": "mlx-community/Inkling-2-Mini-oQ4e-mtp",
      "license": "Open Weights",
      "model_min_ram_gb": 24,
      "aa_score": 13,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "summary": "Compact Loop Transformer with MTP speculative heads: 3,714 tok/s PP@4K (+121%) and 102.8 tok/s TG (+85%).",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/llm/inkling-2-mini",
      "profile_id": "m5-ultra-256g-oq4e-mtp",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 24,
      "engine": "oMLX 0.8.3",
      "quantization": "oQ4e-MTP (4-bit)",
      "mode": "pure-ram",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": 3381.0,
      "pp_tag": "32K",
      "tg_best": 102.8,
      "gen_s": null,
      "resolution": "",
      "steps": null,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 46.5,
      "speedup": 2.21,
      "roofline": {
        "kind": "llm_bw",
        "regime": "dram_bw",
        "gate": "kernel_bottleneck",
        "primary_pct": 23.6,
        "eta_bw_pct": 23.6,
        "eta_nvme_pct": 0.0,
        "effective_bw_gbs": 289.3,
        "chip_bw_gbs": 1228.0,
        "nvme_gbs": 0.0,
        "nvme_ceiling_gbs": 8.9,
        "decode_tok_s": 102.8,
        "active_gb_per_tok": 6.22,
        "mtp_mult": 2.21,
        "arch_breakdown": "Loop Transformer (layers 6–17 execute 3 passes -> 6.22 GB effective read/tok; MTP5=2.21x)",
        "short_tag_en": "Kernel Bound",
        "short_tag_zh": "待攻关",
        "diagnosis_en": "Kernel Bottleneck: 3-pass recurrent loop executes 48 serial MoE dispatches on compact 129 MB/pass slices (289.3 GB/s, 23.6%). Next target: multi-pass Metal command buffer fusion.",
        "diagnosis_zh": "Kernel Bottleneck：Loop Transformer 中间层循环执行 3 轮（等效 48 层串行小矩阵调度，每轮仅 129 MB），有效带宽 289.3 GB/s（23.6%）；下一步攻关跨循环轮次 Metal 命令缓冲融合。"
      },
      "metrics": {
        "pp_1k_tok_s": 3006.0,
        "pp_4k_tok_s": 3714.0,
        "pp_16k_tok_s": 3639.0,
        "pp_32k_tok_s": 3381.0,
        "pp_64k_tok_s": 2788.0,
        "tg_peak_tok_s": 102.8,
        "tg_batch4_tok_s": 129.6,
        "peak_wired_gb": 46.5,
        "speedup_vs_baseline": 2.21
      },
      "quality_check": {
        "passed": true,
        "summary": "3/3 deterministic checks passed"
      },
      "notes": "Pure RAM + MTP depth=5 + lossless BF16 KV.",
      "recipe": {
        "omlx_recipe": "omlx-recipe:1:eNqNU9tuwjAM_Zc-o4myghA_Y5nGoVnTJOTCRdP-fS4qrIW249U-PvY5tr8z3ILzJJXW0CgD0dZkQrbLV9tFhmVUJ4zKGpAu3wAZ3GsS2U6iDrTIBJELRDWcipyTB48NhCDASqkt9nBSY6heyqX1JUHAxmllDo9wdS3myBpLQBdHPt5TL8QjEE9BCTIRpG9VWZPtlh-rNWOjAxToWClBgxcQ5GKV7brUgzr6xMzHM5nPNaChh2ulSyDs2QyYl5PQ51knYH2y_HM9iTuIdxuHCj3djLCJff9HUaw8oeBD2I5CRELdBmZY3hAqU-CJWvPmUCxxps2zAetJVLtcjVfyrKoYl9WHbIpRSKBjIsN3q_lG20NZLSfIOsP_hssnthNRaXAoBH_B4Ak7eHEbX1BpBcGZz5gr7dfAsgKcptF3CY7KqZVEavhJMCZP3XSxUqZux9gncaD4WpH83h4T8iPVJ9ir2Hp5Kxwk5stCWVHDHXvhbIAJtXK8hxDvez_pBgbfeOP9-QUoYr-7",
        "flags": {
          "mtp_adaptive_max_depth": 5,
          "turboquant_kv": false
        }
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/inkling-2-mini/profiles/m5-ultra-256g-oq4e-mtp.yaml"
    },
    {
      "slug": "muse-spark-open-816b",
      "model_name": "Muse-Spark-Open-816B-A42B",
      "category": "llm",
      "family": "Muse",
      "source_repo": "unsloth/Muse-Spark-Open-816B-A42B-GGUF",
      "license": "Open Weights",
      "model_min_ram_gb": 256,
      "aa_score": 25,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "summary": "820B MoE fit 100% into 256 GB unified memory via Unsloth UD-IQ2_XXS (210 GiB) on llama.cpp Metal 4: 711.9 PP / 30.5 TG / 80K zero-swap.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/llm/muse-spark-open-816b",
      "profile_id": "m5-ultra-256g-ud-iq2-xxs-llamacpp",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 256,
      "engine": "llama.cpp b12991 (Metal 4 fa_tensor)",
      "quantization": "GGUF UD-IQ2_XXS (2.06 bpw)",
      "mode": "pure-ram",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": 662.5,
      "pp_tag": "16K",
      "tg_best": 30.53,
      "gen_s": null,
      "resolution": "",
      "steps": null,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 226.0,
      "speedup": 1.33,
      "roofline": {
        "kind": "llm_bw",
        "regime": "dram_bw",
        "gate": "kernel_bottleneck",
        "primary_pct": 36.8,
        "eta_bw_pct": 36.8,
        "eta_nvme_pct": 0.0,
        "effective_bw_gbs": 451.8,
        "chip_bw_gbs": 1228.0,
        "nvme_gbs": 0.0,
        "nvme_ceiling_gbs": 8.9,
        "decode_tok_s": 30.53,
        "active_gb_per_tok": 14.8,
        "mtp_mult": 1.0,
        "arch_breakdown": "42B active @ UD-IQ2_XXS (mixed Q4/IQ2 attention/shared + 2.06 bpw experts)",
        "short_tag_en": "Kernel Bound",
        "short_tag_zh": "待攻关",
        "diagnosis_en": "Kernel Bottleneck: IQ2_XXS grid codebook LUT unpack caps Metal mul_mat_id at ~452 GB/s (36.8%), plus no MTP head. Next target: Metal 4 SIMD grid unpack + external draft head.",
        "diagnosis_zh": "Kernel Bottleneck：IQ2_XXS 网格码本反量化在 mul_mat_id 下受限于 ~451.8 GB/s（36.8%）且无内置 MTP 头；下一步攻关 Metal 4 SIMD 码本展开与轻量 Draft 头挂载。"
      },
      "metrics": {
        "pp_4k_tok_s": 711.9,
        "pp_16k_tok_s": 662.5,
        "pp_80k_tok_s": 392.5,
        "tg_peak_tok_s": 30.53,
        "tg_80k_tok_s": 24.1,
        "peak_wired_gb": 226.0,
        "ssd_mean_mb_s": 0.5,
        "speedup_vs_baseline": 1.33
      },
      "quality_check": {
        "passed": true,
        "summary": "6/6 hard reasoning & coding checks (incl. 12-ball puzzle & LRU cache) with anti-loop sampling"
      },
      "notes": "Use `-b 8192 -ub 8192 -ctk f16 -ctv f16 -lm mmap` for <=32K (+32.6% PP vs default -ub 512; lossless f16 beats q8_0 by +7.6% on Metal 4 fa_tensor). Switch to `-ctk q4_0 -ctv q4_0 -ub 4096` for 48K–80K zero-swap. Never sample at temp=0 (causes thinking-loop); use temp=0.6, top_p=0.95, min_p=0.01, presence_penalty=0.5.",
      "recipe": {
        "launch_cmd": "llama-server -m Muse-Spark-Open-816B-A42B-UD-IQ2_XXS-00001-of-00006.gguf --host 127.0.0.1 --port 18080 -ngl 999 -fa on -lm mmap -b 8192 -ub 8192 -ctk f16 -ctv f16 -c 32768 --jinja",
        "script": "models/llm/muse-spark-open-816b/run.sh"
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/muse-spark-open-816b/profiles/m5-ultra-256g-ud-iq2-xxs-llamacpp.yaml"
    },
    {
      "slug": "qwen3.6-35b-a3b",
      "model_name": "Qwen3.6-35B-A3B",
      "category": "llm",
      "family": "Qwen",
      "source_repo": "mlx-community/Qwen3.6-35B-A3B-4bit",
      "license": "Apache-2.0",
      "model_min_ram_gb": 32,
      "aa_score": 19,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "summary": "Speed demon 35B sparse MoE: 11,086.6 tok/s PP@2K (+38% vs Dual-ANE), 181.1 tok/s single-stream TG, 473.9 tok/s Batch-4 throughput.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/llm/qwen3.6-35b-a3b",
      "profile_id": "m5-ultra-256g-4bit-q4a8",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 32,
      "engine": "oMLX 0.8.3",
      "quantization": "MLX 4-bit (gs=64)",
      "mode": "pure-ram",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": 8802.0,
      "pp_tag": "32K",
      "tg_best": 181.1,
      "gen_s": null,
      "resolution": "",
      "steps": null,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 42.5,
      "speedup": 2.49,
      "roofline": {
        "kind": "llm_bw",
        "regime": "dram_bw",
        "gate": "kernel_bottleneck",
        "primary_pct": 24.6,
        "eta_bw_pct": 24.6,
        "eta_nvme_pct": 0.0,
        "effective_bw_gbs": 302.4,
        "chip_bw_gbs": 1228.0,
        "nvme_gbs": 0.0,
        "nvme_ceiling_gbs": 8.9,
        "decode_tok_s": 181.1,
        "active_gb_per_tok": 1.67,
        "mtp_mult": 1.0,
        "arch_breakdown": "1.10 GB GDN/dense + 0.57 GB routed (8/256 of 18.12 GB 4-bit = 41.8 MB/layer)",
        "short_tag_en": "Kernel Bound",
        "short_tag_zh": "待攻关",
        "diagnosis_en": "Kernel Bottleneck: Only 41.8 MB read per layer across 40 GDN+MoE layers — bound by Metal command-buffer dispatch & gather_qmm latency (302.4 GB/s, 24.6%; jumps to 473.9 tok/s @ batch=4). Next target: Metal ICB graph capture + built-in MTP head activation.",
        "diagnosis_zh": "Kernel Bottleneck：每层仅读取 41.8 MB（总激活 1.67 GB），受限于 40 层 GDN+MoE 串行调度与 gather_qmm 延迟（302.4 GB/s，24.6%；Batch=4 跃升至 473.9 tok/s）；下一步攻关 Metal ICB 图捕获与内置 MTP 头启用。"
      },
      "metrics": {
        "pp_2k_tok_s": 11086.6,
        "pp_4k_tok_s": 10233.0,
        "pp_16k_tok_s": 10257.0,
        "pp_32k_tok_s": 8802.0,
        "pp_64k_tok_s": 6627.0,
        "tg_peak_tok_s": 181.1,
        "tg_64k_tok_s": 143.4,
        "tg_batch4_tok_s": 473.9,
        "peak_wired_gb": 42.5,
        "speedup_vs_baseline": 2.49
      },
      "quality_check": {
        "passed": true,
        "summary": "Verified in thinking mode"
      },
      "notes": "Disable Dual-ANE on M5 (+38.1% faster with Q4A8!) and disable TurboQuant KV (+38% decode: 131.3 -> 181.1 tok/s).",
      "recipe": {
        "omlx_recipe": "omlx-recipe:1:eNqNU9lygzAM_BeeO50khUyan9EoWAYXYzs-ckyn_16R5oACmbwx1u6iXUnfGW7AeZJKayCDO00i20af6K1faZWBaBsyIduucy6VUR0wKmtAuuX6wZSoA1MFkQtEDRzyJRcrjy2EIMBKqS32cFJjqEd0aX1JELB1Wpnq_lyf82dirSWgkyMfb6WR8ATEU1CCTATpO1fWZNvF-6pgbHQj_v5I5qMANHSPpnQJhD2aAX8xC31RsS-2_ChmcZV49cehRk8XuzZxurchz6Bj7QkFT3szCREJdffwROUFozIF7qgL7xmKLT75zf8AillUiyfQeCbPrvJpW31It-YTkED7RIa3U_MmxjrbrhYzYtfAH80tZ6YTUWlwKATv-uDSrvD80r6g0gqCIy8rM-3XILIcnKbJowiOyrmRRGr5FDAmT9fuYq1M07WxS6KiOGZYB03n-e_TdYl_cuQssbP7hHxGzQF2KnYZXwQHhZHcoBrKmlrupPecDTChUY7nE-JtHw66hfGZ_vwCYSvGGg",
        "flags": {
          "a8_prefill_enabled": true,
          "a8_prefill_min_tokens": 64,
          "qwen35_ane_prefill_enabled": false,
          "turboquant_kv": false
        }
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/qwen3.6-35b-a3b/profiles/m5-ultra-256g-4bit-q4a8.yaml"
    },
    {
      "slug": "qwen3.8-27b",
      "model_name": "Qwen3.8-27B",
      "category": "llm",
      "family": "Qwen",
      "source_repo": "mlx-community/Qwen3.8-27B-4bit",
      "license": "Apache-2.0",
      "model_min_ram_gb": 24,
      "aa_score": 20,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "summary": "Dense 27B multimodal workhorse fitting 24 GB Macs; on M5 Ultra, Q4A8(m64) beats tuned Dual-ANE by +57.1% (2,768.6 tok/s PP@2K).",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/llm/qwen3.8-27b",
      "profile_id": "m5-ultra-256g-4bit-q4a8",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 24,
      "engine": "oMLX 0.8.3",
      "quantization": "MLX 4-bit (gs=64)",
      "mode": "pure-ram",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": 2417.0,
      "pp_tag": "32K",
      "tg_best": 52.1,
      "gen_s": null,
      "resolution": "",
      "steps": null,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 43.8,
      "speedup": 1.68,
      "roofline": {
        "kind": "llm_bw",
        "regime": "dram_bw",
        "gate": "near_roofline",
        "primary_pct": 61.2,
        "eta_bw_pct": 61.2,
        "eta_nvme_pct": 0.0,
        "effective_bw_gbs": 751.3,
        "chip_bw_gbs": 1228.0,
        "nvme_gbs": 0.0,
        "nvme_ceiling_gbs": 8.9,
        "decode_tok_s": 52.1,
        "active_gb_per_tok": 14.42,
        "mtp_mult": 1.0,
        "arch_breakdown": "14.42 GB dense 4-bit text weights (gs=64, excl. 0.92 GB ViT)",
        "short_tag_en": "Near-Peak",
        "short_tag_zh": "准极限",
        "diagnosis_en": "Sustains 751.3 GB/s (61.2% Near-Roofline) on pure M=1 dense GEMV across 64 layers; reaches >85% DRAM Roofline at batch=4 (156.5 tok/s) or with speculative drafter.",
        "diagnosis_zh": "64 层稠密 M=1 单并发 GEMV 实测达 751.3 GB/s（61.2% 准物理极限）；并发 Batch=4（156.5 tok/s）或挂载同族 Draft 模型即可突破 80%+ 带宽利用率。"
      },
      "metrics": {
        "pp_2k_tok_s": 2768.6,
        "pp_4k_tok_s": 2557.0,
        "pp_16k_tok_s": 2630.0,
        "pp_32k_tok_s": 2417.0,
        "tg_peak_tok_s": 52.1,
        "tg_64k_tok_s": 41.6,
        "tg_batch4_tok_s": 156.5,
        "peak_wired_gb": 43.8,
        "speedup_vs_baseline": 1.68
      },
      "quality_check": {
        "passed": true,
        "summary": "3/3 deterministic checks passed"
      },
      "notes": "Disable Dual-ANE on M5 (`ane-tune` max 1,762.5 vs M5 Q4A8 2,768.6 tok/s = +57.1%). Keep BF16 KV lossless.",
      "recipe": {
        "omlx_recipe": "omlx-recipe:1:eNqNU9lygzAM_BeeO50khUyan9EoWAYXYzs-ckyn_16R5oACmbwx1u6iXUnfGW7AeZJKayCDO00i20af6K1faZWBaBsyIduucy6VUR0wKmtAuuX6wZSoA1MFkQtEDRzyJRcrjy2EIMBKqS32cFJjqEd0aX1JELB1Wpnq_lyf82dirSWgkyMfb6WR8ATEU1CCTATpO1fWZNvF-6pgbHQj_v5I5qMANHSPpnQJhD2aAX8xC31RsS-2_ChmcZV49cehRk8XuzZxurchz6Bj7QkFT3szCREJdffwROUFozIF7qgL7xmKLT75zf8AillUiyfQeCbPrvJpW31It-YTkED7RIa3U_MmxjrbrhYzYtfAH80tZ6YTUWlwKATv-uDSrvD80r6g0gqCIy8rM-3XILIcnKbJowiOyrmRRGr5FDAmT9fuYq1M07WxS6KiOGZYB03n-e_TdYl_cuQssbP7hHxGzQF2KnabcxEcFEZyg2ooa2q5k95zNsCERjmeT4i3fTjoFsZn-vMLYxPGHg",
        "flags": {
          "a8_prefill_enabled": true,
          "a8_prefill_min_tokens": 64,
          "qwen35_ane_prefill_enabled": false,
          "turboquant_kv": false
        }
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/qwen3.8-27b/profiles/m5-ultra-256g-4bit-q4a8.yaml"
    },
    {
      "slug": "qwen3.8-flash-next",
      "model_name": "Qwen3.8-Flash-Next",
      "category": "llm",
      "family": "Qwen",
      "source_repo": "mlx-community/Qwen3.8-Flash-Next-oQ8e-mtp",
      "license": "Apache-2.0",
      "model_min_ram_gb": 128,
      "aa_score": 28,
      "aa_metric": "AA Intelligence v5",
      "aa_url": "https://artificialanalysis.ai/leaderboards/models",
      "summary": "Near-lossless 8-bit (`oQ8e`, gs=64) unlocks M5 Q8A8 + WideProj to hit 5,700 tok/s PP@32K, 5,390 tok/s PP@128K, and 138.5 tok/s TG.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/llm/qwen3.8-flash-next",
      "profile_id": "m5-ultra-256g-oq8e-mtp",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 256,
      "engine": "oMLX 0.8.3",
      "quantization": "oQ8e-MTP (8-bit gs=64)",
      "mode": "pure-ram",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": 5693.0,
      "pp_tag": "32K",
      "tg_best": 138.5,
      "gen_s": null,
      "resolution": "",
      "steps": null,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 212.9,
      "speedup": 3.31,
      "roofline": {
        "kind": "llm_bw",
        "regime": "dram_bw",
        "gate": "kernel_bottleneck",
        "primary_pct": 44.7,
        "eta_bw_pct": 44.7,
        "eta_nvme_pct": 0.0,
        "effective_bw_gbs": 548.5,
        "chip_bw_gbs": 1228.0,
        "nvme_gbs": 0.0,
        "nvme_ceiling_gbs": 8.9,
        "decode_tok_s": 138.5,
        "active_gb_per_tok": 8.0,
        "mtp_mult": 2.02,
        "arch_breakdown": "4.57 GB GDN/dense + 2.51 GB routed (10/512 of 128.4 GB oQ8e) + 0.92 GB MTP",
        "short_tag_en": "Kernel Bound",
        "short_tag_zh": "待攻关",
        "diagnosis_en": "Kernel Bottleneck: 10-of-512 fine-grained expert scatter + 57.6 GB PLE row-miss latency caps effective read at 548.5 GB/s (44.7%). Next target: fused router+gather_q8a8 kernel & SLC-pinned PLE hot rows.",
        "diagnosis_zh": "Kernel Bottleneck：10/512 细粒度专家随机离散读取叠加 57.6 GB PLE 跨页访存延迟，有效带宽卡在 548.5 GB/s（44.7%）；下一步攻关融合路由 gather_q8a8 算子与 SLC 热点缓存驻留。"
      },
      "metrics": {
        "pp_1k_tok_s": 2773.0,
        "pp_4k_tok_s": 5069.0,
        "pp_16k_tok_s": 5699.0,
        "pp_32k_tok_s": 5693.0,
        "pp_64k_tok_s": 5525.0,
        "pp_128k_tok_s": 5390.0,
        "tg_peak_tok_s": 138.5,
        "tg_128k_tok_s": 92.3,
        "tg_batch4_tok_s": 122.1,
        "peak_wired_gb": 212.9,
        "speedup_vs_baseline": 3.31
      },
      "quality_check": {
        "passed": true,
        "summary": "3/3 deterministic checks passed"
      },
      "notes": "MUST enable `qwen4_gdn_decode_wide_proj=true` (+51% PP@4K, 2.1x decode!) + `Q8A8(m64)` + `TQ8` (+60.5% at 64K) + `MTP5`. Do NOT enable PLE-SSD on 256 GB (hurts short-prompt PP 2.2x).",
      "recipe": {
        "omlx_recipe": "omlx-recipe:1:eNqNU9lywjAM_Jc8dzpAA0P5GY2IZeLGsY0Pjun03ytTjgQSylvGWim7K-13gUtwnqTSGsjgWpMoVtEneutWWmUg2oZMKFaLkktVVDuMyhqQbrq4dUrUgVsFkQtEDezKKRc3HlsIQYCVUlvs4KTGUD-0S-srgoCt08psrs_1sXw2rLUEdHDk46X0MHgA4ikoQSaC9FmVNcVq8j6bMzY6QIGOlRK0eABBLtbF6ly6M2u7J_MxBzR0Na1yCYTdm97kySj0nusIrDts-jEfxW3Eqz8ONXo6GWET-_6Polh7QsF3sByEiIQ6PzyZ8oJQmQIzyuY9Q7HEJ7-5N2A-isrL1Xgkz6rKYVldSA7AACTQNpHhu9V8o_lQZpORYWfDb-SmI9uJqDQ4FIJT0MvgGV6e6AuqrCDY8xlzp_3qelKC0zSYluCoGttIpJYzgjF5OpOLtTJNZrFOYkPxscM6aLLkv0-XDf9kx3nE2m4Tcr6aHaxVzIdzGtgr3IWpXwxVTS0T6TwXPUxolOPthHjp3-kWehk9sfz5BQ4uzzM",
        "flags": {
          "a8_prefill_enabled": true,
          "a8_prefill_min_tokens": 64,
          "qwen4_gdn_decode_wide_proj": true,
          "turboquant_kv": "tq8",
          "mtp_adaptive_max_depth": 5,
          "ple_ssd_offload": false
        }
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/llm/qwen3.8-flash-next/profiles/m5-ultra-256g-oq8e-mtp.yaml"
    },
    {
      "slug": "flux2-klein-4b",
      "model_name": "FLUX.2-klein-4B",
      "category": "image",
      "family": "FLUX",
      "source_repo": "black-forest-labs/FLUX.2-klein-4B",
      "license": "Apache-2.0",
      "model_min_ram_gb": 16,
      "aa_score": 838,
      "aa_metric": "AA Image Elo",
      "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image",
      "summary": "Ultra-fast 16 GB Mac image tier: 2.04s warm 1K (10.12s @ 2K) in just 11.76 GB MLX memory on M5 Ultra.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/image/flux2-klein-4b",
      "profile_id": "m5-ultra-256g-mflux-warm-8bit",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 16,
      "engine": "mflux 0.24.0 Resident Warm (MLX 0.32.5)",
      "quantization": "MLX 8-bit",
      "mode": "distilled",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-06",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 2.04,
      "resolution": "1024x1024",
      "steps": 4,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 25.0,
      "speedup": 1.18,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "near_roofline",
        "primary_pct": 74.5,
        "sustained_tflops": 102.8,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Near-Peak",
        "short_tag_zh": "准极限",
        "diagnosis_en": "4B DiT @ 1024x1024 (4 steps in 2.04s) sustains 102.8 TFLOPS (74.5% Compute Roofline) via warm MLX 8-bit.",
        "diagnosis_zh": "4B DiT 在 1K 4 步热态下实测达 102.8 TFLOPS（算力屋脊线利用率 74.5%）。"
      },
      "metrics": {
        "resolution": "1024x1024",
        "steps": 4,
        "load_s": 0.33,
        "gen_s": 2.04,
        "cold_total_s": 2.4,
        "gen_2k_s": 10.12,
        "peak_mlx_gb": 11.76,
        "peak_wired_gb": 25.0,
        "speedup_vs_baseline": 1.18
      },
      "quality_check": {
        "passed": true,
        "summary": "Clean photorealistic lighting & crisp English typography (zero NaN, std=53.9); unlocks 16 GB Mac mini / Air!"
      },
      "notes": "Resident Python pipeline separates 1st-run Metal shader compilation (2.40s) from warm generation (2.04s @ 1K, 10.12s @ 2048x2048). Uses only 11.76 GiB MLX memory at 1K (14.11 GiB at 2K), fitting comfortably inside entry 16 GB Macs.",
      "recipe": {
        "launch_cmd": "python models/image/flux2-klein-4b/run.py --model-path /path/to/FLUX.2-klein-4B --base-model flux2-klein-4b -q 8 --warmup --steps 4 --width 1024 --height 1024",
        "script": "models/image/flux2-klein-4b/run.py"
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/image/flux2-klein-4b/profiles/m5-ultra-256g-mflux-warm-8bit.yaml"
    },
    {
      "slug": "flux2-klein-9b",
      "model_name": "FLUX.2-klein-9B",
      "category": "image",
      "family": "FLUX",
      "source_repo": "black-forest-labs/FLUX.2-klein-9B",
      "license": "Apache-2.0",
      "model_min_ram_gb": 24,
      "aa_score": 931,
      "aa_metric": "AA Image Elo",
      "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image",
      "summary": "Fastest 1K model tested: 3.45s warm MPS / 5.7s cold MLX 8-bit in only 20 GB RAM (fits 24 GB Mac mini!). English typography rock-solid; weak on CJK.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/image/flux2-klein-9b",
      "profile_id": "m5-ultra-256g-mflux-8bit",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 24,
      "engine": "mflux 0.24.0 Resident Warm (MLX 0.32.5)",
      "quantization": "MLX 8-bit",
      "mode": "distilled",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-06",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 3.66,
      "resolution": "1024x1024",
      "steps": 4,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 30.0,
      "speedup": 1.56,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "near_roofline",
        "primary_pct": 72.0,
        "sustained_tflops": 99.4,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Near-Peak",
        "short_tag_zh": "准极限",
        "diagnosis_en": "Compute-bound DiT evaluated against Metal BF16 tensor core ceiling.",
        "diagnosis_zh": "计算密集型 DiT，按 Metal 矩阵核心峰值算力评估。"
      },
      "metrics": {
        "resolution": "1024x1024",
        "steps": 4,
        "load_s": 0.32,
        "gen_s": 3.66,
        "cold_total_s": 5.67,
        "gen_2k_s": 17.9,
        "peak_mlx_gb": 20.03,
        "peak_wired_gb": 30.0,
        "speedup_vs_baseline": 1.56
      },
      "quality_check": {
        "passed": true,
        "summary": "Pixel-identical to BF16; crisp English typography; CJK characters garble (use H3-Image or Z-Image-Turbo for CJK)"
      },
      "notes": "Resident warm MLX cuts 1K latency from 5.70s cold CLI -> 3.66s (-35.8%, matching 3.45s PyTorch MPS while saving 20 GB RAM!) and cuts 2K latency from 20.3s -> 17.90s in 4.3x less memory than MPS (27.3 GB MLX vs 117.7 GB MPS Wired).",
      "recipe": {
        "launch_cmd": "python models/image/flux2-klein-4b/run.py --model-path /path/to/FLUX.2-klein-9B --base-model flux2-klein-9b -q 8 --warmup --steps 4 --width 1024 --height 1024",
        "script": "models/image/flux2-klein-4b/run.py"
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/image/flux2-klein-9b/profiles/m5-ultra-256g-mflux-8bit.yaml"
    },
    {
      "slug": "flux2-klein-9b",
      "model_name": "FLUX.2-klein-9B",
      "category": "image",
      "family": "FLUX",
      "source_repo": "black-forest-labs/FLUX.2-klein-9B",
      "license": "Apache-2.0",
      "model_min_ram_gb": 24,
      "aa_score": 931,
      "aa_metric": "AA Image Elo",
      "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image",
      "summary": "Fastest 1K model tested: 3.45s warm MPS / 5.7s cold MLX 8-bit in only 20 GB RAM (fits 24 GB Mac mini!). English typography rock-solid; weak on CJK.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/image/flux2-klein-9b",
      "profile_id": "m5-ultra-256g-mps-warm-bf16",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 64,
      "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS)",
      "quantization": "BF16",
      "mode": "distilled",
      "recommended": false,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 3.45,
      "resolution": "1024x1024",
      "steps": 4,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 50.0,
      "speedup": null,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "roofline_optimal",
        "primary_pct": 83.0,
        "sustained_tflops": 114.5,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Compute Peak",
        "short_tag_zh": "算力极限",
        "diagnosis_en": "9B DiT warm PyTorch MPS BF16 sustains 114.5 TFLOPS (83.0% Compute Roofline) at 50 GB Wired.",
        "diagnosis_zh": "9B DiT 热态 PyTorch MPS BF16 实测达 114.5 TFLOPS（算力屋脊线 83.0%）。"
      },
      "metrics": {
        "resolution": "1024x1024",
        "steps": 4,
        "load_s": 8.9,
        "gen_s": 3.45,
        "gen_16x9_s": 4.69,
        "gen_2k_s": 17.46,
        "peak_wired_gb": 50.0
      },
      "quality_check": {
        "passed": true,
        "summary": "Fastest 1K image latency (3.45s) on M5 Ultra; 2K uses 117.7 GB wired"
      },
      "notes": "Fastest persistent-server latency at 1K (3.45s) and 1536x864 (4.69s); prefer mflux at 2K for 5x lower RAM.",
      "recipe": {
        "launch_cmd": "python -c \"import torch; from diffusers import DiffusionPipeline; p=DiffusionPipeline.from_pretrained('/path/to/FLUX.2-klein-9B', torch_dtype=torch.bfloat16).to('mps'); p('...', num_inference_steps=4, guidance_scale=1.0).images[0].save('out.png')\""
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/image/flux2-klein-9b/profiles/m5-ultra-256g-mps-warm-bf16.yaml"
    },
    {
      "slug": "minimax-h3-image",
      "model_name": "MiniMax H3-Image",
      "category": "image",
      "family": "MiniMax",
      "source_repo": "MiniMaxAI/MiniMax-H3-Image",
      "license": "MiniMax Community",
      "model_min_ram_gb": 192,
      "aa_score": 1065,
      "aa_metric": "AA Image Elo",
      "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image",
      "summary": "#1 open-weights image arena flagship: native 1K (3.6s), 2K (14.6s), and 4K 16MP (70.8s) with flawless CJK + English calligraphy on M5 Ultra MPS.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/image/minimax-h3-image",
      "profile_id": "m5-ultra-256g-mps-bf16-2k",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 192,
      "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS)",
      "quantization": "BF16",
      "mode": "distilled",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 14.6,
      "resolution": "2048x2048",
      "steps": 6,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 145.6,
      "speedup": null,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "roofline_optimal",
        "primary_pct": 81.4,
        "sustained_tflops": 112.3,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Compute Peak",
        "short_tag_zh": "算力极限",
        "diagnosis_en": "34B DiT @ 2048x2048 (6 steps in 14.6s) sustains 112.3 TFLOPS (81.4% Compute Roofline) on native BF16 MPS.",
        "diagnosis_zh": "原生 2K 6 步 BF16 DiT 实测持续算力达 112.3 TFLOPS（算力屋脊线 81.4%）。"
      },
      "metrics": {
        "resolution": "2048x2048",
        "steps": 6,
        "load_s": 38.0,
        "gen_s": 14.6,
        "gen_1k_s": 3.6,
        "gen_4k_s": 70.8,
        "per_step_s": 2.44,
        "peak_wired_gb": 145.6
      },
      "quality_check": {
        "passed": true,
        "summary": "Visually verified at 1K, 2K, and 4K (16MP): photorealistic with exact CJK+EN calligraphy"
      },
      "notes": "Keep BF16 (FP16 is slower at 15.7s @ 2K). Native 6-step distilled with guidance_scale=1.0; generates 4096x4096 directly in 70.8s without any upscaler.",
      "recipe": {
        "script": "models/image/minimax-h3-image/run.py",
        "launch_cmd": "python models/image/minimax-h3-image/run.py --model /path/to/MiniMax-H3-Image --width 2048 --height 2048"
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/image/minimax-h3-image/profiles/m5-ultra-256g-mps-bf16-2k.yaml"
    },
    {
      "slug": "qwen-image-2.1",
      "model_name": "Qwen-Image-2.1 & Turbo",
      "category": "image",
      "family": "Qwen",
      "source_repo": "Qwen/Qwen-Image-2.1",
      "license": "Apache-2.0",
      "model_min_ram_gb": 48,
      "aa_score": 1047,
      "aa_metric": "AA Image Elo",
      "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image",
      "summary": "#2 open-weights image model (1047 Elo): resident warm MLX 8-bit hits 5.00s @ 1K (28.26s @ 2K) in Turbo 8-step and 16.21s in 30-step StepCache.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/image/qwen-image-2.1",
      "profile_id": "m5-ultra-256g-mflux-8bit",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 48,
      "engine": "mflux 0.24.0 Resident Warm (MLX 0.32.5)",
      "quantization": "MLX 8-bit (30-step + StepCache 0.2)",
      "mode": "pure-ram",
      "recommended": false,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-06",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 16.21,
      "resolution": "1024x1024",
      "steps": 30,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 38.0,
      "speedup": 1.64,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "roofline_optimal",
        "primary_pct": 75.0,
        "sustained_tflops": 103.5,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Compute Peak",
        "short_tag_zh": "算力极限",
        "diagnosis_en": "30-step + StepCache 0.2 (16.21s warm) sustains 103.5 effective TFLOPS (75.0% Compute Roofline).",
        "diagnosis_zh": "30 步 + StepCache 0.2 常驻热态等效算力 103.5 TFLOPS（算力屋脊线 75.0%）。"
      },
      "metrics": {
        "resolution": "1024x1024",
        "steps": 30,
        "load_s": 0.33,
        "gen_s": 16.21,
        "uncached_warm_s": 19.36,
        "cold_total_s": 21.1,
        "total_2k_s": 106.1,
        "peak_mlx_gb": 36.45,
        "peak_wired_gb": 38.0,
        "speedup_vs_baseline": 1.64
      },
      "quality_check": {
        "passed": true,
        "summary": "Matches BF16 quality (std=33.3 vs 34.0 uncached); exact Chinese/English typography at 1K & 2K"
      },
      "notes": "Resident warm MLX + step_cache_ratio=0.2 cuts 30-step generation from 26.6s (MPS) / 21.1s (cold CLI) -> 16.21s! Avoid 4-bit (garbles signage).",
      "recipe": {
        "launch_cmd": "python models/image/qwen-image-2.1/run_warm.py --model-path /path/to/Qwen-Image-2.1 --base-model qwen-image-2.1 -q 8 --warmup --steps 30 --guidance 4.0 --step-cache-ratio 0.2 --width 1024 --height 1024",
        "script": "models/image/qwen-image-2.1/run_warm.py"
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/image/qwen-image-2.1/profiles/m5-ultra-256g-mflux-8bit.yaml"
    },
    {
      "slug": "qwen-image-2.1",
      "model_name": "Qwen-Image-2.1 & Turbo",
      "category": "image",
      "family": "Qwen",
      "source_repo": "Qwen/Qwen-Image-2.1",
      "license": "Apache-2.0",
      "model_min_ram_gb": 48,
      "aa_score": 1047,
      "aa_metric": "AA Image Elo",
      "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image",
      "summary": "#2 open-weights image model (1047 Elo): resident warm MLX 8-bit hits 5.00s @ 1K (28.26s @ 2K) in Turbo 8-step and 16.21s in 30-step StepCache.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/image/qwen-image-2.1",
      "profile_id": "m5-ultra-256g-turbo-8bit",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 48,
      "engine": "mflux 0.24.0 Resident Warm (MLX 0.32.5)",
      "quantization": "MLX 8-bit (Turbo 8-step)",
      "mode": "distilled",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-06",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 5.0,
      "resolution": "1024x1024",
      "steps": 8,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 39.0,
      "speedup": 5.32,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "roofline_optimal",
        "primary_pct": 76.8,
        "sustained_tflops": 106.0,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Compute Peak",
        "short_tag_zh": "算力极限",
        "diagnosis_en": "7B DiT Turbo 8-step (5.00s warm @ 1K) sustains 106.0 TFLOPS (76.8% Compute Roofline) on MLX 8-bit.",
        "diagnosis_zh": "Qwen-Image Turbo 8 步常驻热态实测达 106.0 TFLOPS（算力屋脊线 76.8%）。"
      },
      "metrics": {
        "resolution": "1024x1024",
        "steps": 8,
        "load_s": 0.48,
        "gen_s": 5.0,
        "cold_total_s": 8.14,
        "gen_2k_s": 28.26,
        "peak_mlx_gb": 35.98,
        "peak_wired_gb": 39.0,
        "speedup_vs_baseline": 5.32
      },
      "quality_check": {
        "passed": true,
        "summary": "5.32x faster than 30-step MPS (26.6s -> 5.00s @ 1K) and 28.26s @ 2K; crisp CJK & composition"
      },
      "notes": "Resident warm Python MLX cuts 1K latency from 11.4s cold CLI -> 5.00s (-56%) and 2K latency from 35.2s -> 28.26s! Symlink base text_encoder/tokenizer into Qwen-Image-2.1-Turbo to save 17.5 GB on disk.",
      "recipe": {
        "launch_cmd": "python models/image/qwen-image-2.1/run_warm.py --model-path /path/to/Qwen-Image-2.1-Turbo --base-model qwen-image-2.1-turbo -q 8 --warmup --steps 8 --width 1024 --height 1024",
        "script": "models/image/qwen-image-2.1/run_warm.py"
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/image/qwen-image-2.1/profiles/m5-ultra-256g-turbo-8bit.yaml"
    },
    {
      "slug": "z-image-turbo",
      "model_name": "Z-Image-Turbo",
      "category": "image",
      "family": "Z-Image",
      "source_repo": "Tongyi-MAI/Z-Image-Turbo",
      "license": "Apache-2.0",
      "model_min_ram_gb": 32,
      "aa_score": 936,
      "aa_metric": "AA Image Elo",
      "aa_url": "https://artificialanalysis.ai/image/leaderboard/text-to-image",
      "summary": "Mid-RAM photorealistic bilingual champion: 7.9–8.9s @ 1024², 10.8s @ 1536x864, only 31–36 GB RAM, accurate CJK+EN signage.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/image/z-image-turbo",
      "profile_id": "m5-ultra-256g-mflux-8bit",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 32,
      "engine": "mflux 0.24.0 (MLX 0.32.5)",
      "quantization": "MLX 8-bit / BF16",
      "mode": "distilled",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 7.9,
      "resolution": "1024x1024",
      "steps": 8,
      "frames": null,
      "duration_s": null,
      "peak_mem_gb": 36.8,
      "speedup": null,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "near_roofline",
        "primary_pct": 72.1,
        "sustained_tflops": 99.5,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Near-Peak",
        "short_tag_zh": "准极限",
        "diagnosis_en": "6B DiT 8-step (7.9s total incl. CLI init) achieves 99.5 TFLOPS (72.1% Near-Roofline; warm loop can save ~1.2s).",
        "diagnosis_zh": "单次 CLI 口径达 99.5 TFLOPS（72.1% 准极限；改常驻热循环还可再省约 1.2s）。"
      },
      "metrics": {
        "resolution": "1024x1024",
        "steps": 8,
        "total_s": 7.9,
        "total_16x9_s": 10.8,
        "peak_wired_gb": 36.8
      },
      "quality_check": {
        "passed": true,
        "summary": "Photorealistic with accurate CJK+EN signage at <=1536; avoid 2048² (text duplication)"
      },
      "notes": "mflux BF16 (9 steps) = 8.9s; mflux 8-bit (8 steps) = 7.9s; warm diffusers MPS BF16 = 8.2s (31.4 GB wired). Stay <= 1536px.",
      "recipe": {
        "launch_cmd": "mflux-generate-z-image-turbo --model /path/to/Z-Image-Turbo -q 8 --steps 8 --width 1024 --height 1024 --seed 42 --prompt '...'",
        "script": "models/image/z-image-turbo/run.sh"
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/image/z-image-turbo/profiles/m5-ultra-256g-mflux-8bit.yaml"
    },
    {
      "slug": "minimax-h3",
      "model_name": "MiniMax H3 (+ Lakonik/pi-H3 1.5)",
      "category": "video",
      "family": "MiniMax",
      "source_repo": "MiniMaxAI/MiniMax-H3",
      "license": "MiniMax Community",
      "model_min_ram_gb": 192,
      "aa_score": 1155,
      "aa_metric": "AA Video Elo",
      "aa_url": "https://artificialanalysis.ai/video/leaderboard/text-to-video",
      "summary": "#1 open video+audio flagship accelerated 13.8x–27.0x on macOS MPS via Model2Metal's 16K-chunked SolH3SwiGLU patch & 95KB online AdaLN folding (-26 GB RAM).",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/video/minimax-h3",
      "profile_id": "m5-ultra-256g-pih3-2step-dwd-5s",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 192,
      "engine": "diffusers 0.43.0 + LakonLab + Model2Metal MPS patches",
      "quantization": "BF16 + Online Rank-8 AdaLN Fold + pi-H3 1.5 2-step DWD",
      "mode": "distilled",
      "recommended": false,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 82.8,
      "resolution": "1344x768",
      "steps": 2,
      "frames": 124,
      "duration_s": 5.17,
      "peak_mem_gb": 147.7,
      "speedup": 26.96,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "roofline_optimal",
        "primary_pct": 78.6,
        "sustained_tflops": 108.4,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Compute Peak",
        "short_tag_zh": "算力极限",
        "diagnosis_en": "2-step pi-H3 DWD (82.8s @ 768p) sustains 108.4 TFLOPS (78.6% Compute Roofline).",
        "diagnosis_zh": "2 步极速 DWD 实测持续算力 108.4 TFLOPS（算力屋脊线 78.6%）。"
      },
      "metrics": {
        "resolution": "1344x768",
        "frames": 124,
        "fps": 24,
        "duration_s": 5.17,
        "steps": 2,
        "load_s": 34.0,
        "gen_s": 82.8,
        "peak_wired_gb": 147.7,
        "audio_sr_hz": 32000,
        "audio_rms": 0.0935,
        "speedup_vs_baseline": 26.96
      },
      "quality_check": {
        "passed": true,
        "summary": "Visually verified: sharp CJK signage, natural motion & stereo audio even in 2 steps"
      },
      "notes": "27.0x faster than official 50-step baseline! Only 82.8s for 5.17s 768p 24fps + 32kHz stereo audio.",
      "recipe": {
        "script": "models/video/minimax-h3/run.py",
        "launch_cmd": "python models/video/minimax-h3/run.py --model /path/to/MiniMax-H3 --adapter-dir /path/to/pi-H3 --adapter pi_h3_1_5_2step_dwd_adapter --steps 2 --dwd --frames 124",
        "patches": [
          {
            "path": "model2metal/patches/minimax_h3_mps.py",
            "kind": "python-hook",
            "target_pkg": "lakonlab + diffusers>=0.43",
            "description": "16K-token SolH3SwiGLU chunking (< MPSGraph INT_MAX) + 95KB online rank-8 AdaLN folding + arm64 mmcv shim"
          }
        ]
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/minimax-h3/profiles/m5-ultra-256g-pih3-2step-dwd-5s.yaml"
    },
    {
      "slug": "minimax-h3",
      "model_name": "MiniMax H3 (+ Lakonik/pi-H3 1.5)",
      "category": "video",
      "family": "MiniMax",
      "source_repo": "MiniMaxAI/MiniMax-H3",
      "license": "MiniMax Community",
      "model_min_ram_gb": 192,
      "aa_score": 1155,
      "aa_metric": "AA Video Elo",
      "aa_url": "https://artificialanalysis.ai/video/leaderboard/text-to-video",
      "summary": "#1 open video+audio flagship accelerated 13.8x–27.0x on macOS MPS via Model2Metal's 16K-chunked SolH3SwiGLU patch & 95KB online AdaLN folding (-26 GB RAM).",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/video/minimax-h3",
      "profile_id": "m5-ultra-256g-pih3-4step-dwd-10s",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 256,
      "engine": "diffusers 0.43.0 + LakonLab + Model2Metal MPS patches",
      "quantization": "BF16 + Online Rank-8 AdaLN Fold + pi-H3 1.5 4-step DWD",
      "mode": "distilled",
      "recommended": false,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 583.7,
      "resolution": "1344x768",
      "steps": 4,
      "frames": 243,
      "duration_s": 10.12,
      "peak_mem_gb": 179.7,
      "speedup": null,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "roofline_optimal",
        "primary_pct": 80.9,
        "sustained_tflops": 111.6,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Compute Peak",
        "short_tag_zh": "算力极限",
        "diagnosis_en": "243-frame 10.1s 3D attention sustains 111.6 TFLOPS (80.9% Compute Roofline).",
        "diagnosis_zh": "10 秒 243 帧超长序列 3D 注意力持续算力达 111.6 TFLOPS（算力屋脊线 80.9%）。"
      },
      "metrics": {
        "resolution": "1344x768",
        "frames": 243,
        "fps": 24,
        "duration_s": 10.12,
        "steps": 4,
        "load_s": 33.2,
        "gen_s": 583.7,
        "peak_wired_gb": 179.7,
        "audio_sr_hz": 32000,
        "audio_rms": 0.1279
      },
      "quality_check": {
        "passed": true,
        "summary": "f0/fmid/flast 10.12s single-take dolly-in verified; zero text drift & rich stereo audio"
      },
      "notes": "Demonstrates quadratic O(N^2) dense attention scaling (2x frames -> 3.6x step time) and proves our 16K SwiGLU chunking handles 243 frames cleanly.",
      "recipe": {
        "script": "models/video/minimax-h3/run.py",
        "launch_cmd": "python models/video/minimax-h3/run.py --model /path/to/MiniMax-H3 --adapter-dir /path/to/pi-H3 --adapter pi_h3_1_5_4step_dwd_adapter --steps 4 --dwd --frames 243",
        "patches": [
          {
            "path": "model2metal/patches/minimax_h3_mps.py",
            "kind": "python-hook",
            "target_pkg": "lakonlab + diffusers>=0.43",
            "description": "16K-token SolH3SwiGLU chunking (< MPSGraph INT_MAX) + 95KB online rank-8 AdaLN folding + arm64 mmcv shim"
          }
        ]
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/minimax-h3/profiles/m5-ultra-256g-pih3-4step-dwd-10s.yaml"
    },
    {
      "slug": "minimax-h3",
      "model_name": "MiniMax H3 (+ Lakonik/pi-H3 1.5)",
      "category": "video",
      "family": "MiniMax",
      "source_repo": "MiniMaxAI/MiniMax-H3",
      "license": "MiniMax Community",
      "model_min_ram_gb": 192,
      "aa_score": 1155,
      "aa_metric": "AA Video Elo",
      "aa_url": "https://artificialanalysis.ai/video/leaderboard/text-to-video",
      "summary": "#1 open video+audio flagship accelerated 13.8x–27.0x on macOS MPS via Model2Metal's 16K-chunked SolH3SwiGLU patch & 95KB online AdaLN folding (-26 GB RAM).",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/video/minimax-h3",
      "profile_id": "m5-ultra-256g-pih3-4step-dwd-5s",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 192,
      "engine": "diffusers 0.43.0 + LakonLab + Model2Metal MPS patches",
      "quantization": "BF16 + Online Rank-8 AdaLN Fold + pi-H3 1.5 4-step DWD",
      "mode": "distilled",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 162.2,
      "resolution": "1344x768",
      "steps": 4,
      "frames": 124,
      "duration_s": 5.17,
      "peak_mem_gb": 147.5,
      "speedup": 13.76,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "roofline_optimal",
        "primary_pct": 79.6,
        "sustained_tflops": 109.8,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Compute Peak",
        "short_tag_zh": "算力极限",
        "diagnosis_en": "33B Audio-Video DiT (1344x768x124f, 4-step pi-H3 + DWD) sustains 109.8 TFLOPS (79.6% Compute Roofline).",
        "diagnosis_zh": "33B 音视频联合 DiT 4 步 DWD 实测持续算力 109.8 TFLOPS（算力屋脊线 79.6%）。"
      },
      "metrics": {
        "resolution": "1344x768",
        "frames": 124,
        "fps": 24,
        "duration_s": 5.17,
        "steps": 4,
        "load_s": 30.1,
        "gen_s": 162.2,
        "peak_wired_gb": 147.5,
        "audio_sr_hz": 32000,
        "audio_rms": 0.1368,
        "speedup_vs_baseline": 13.76
      },
      "quality_check": {
        "passed": true,
        "summary": "Cinema-grade f0/fmid verified; exact CJK plaque, kettle steam & 32kHz stereo audio (RMS 0.1368 / Peak 0.7769)"
      },
      "notes": "Sweet spot for quality & speed: 13.8x faster than 50-step baseline (2,232s) and 21.5% faster than 4-step native 3D VAE (197.0s). Requires model2metal.patches.minimax_h3_mps.",
      "recipe": {
        "script": "models/video/minimax-h3/run.py",
        "launch_cmd": "python models/video/minimax-h3/run.py --model /path/to/MiniMax-H3 --adapter-dir /path/to/pi-H3 --adapter pi_h3_1_5_4step_dwd_adapter --steps 4 --dwd --frames 124",
        "patches": [
          {
            "path": "model2metal/patches/minimax_h3_mps.py",
            "kind": "python-hook",
            "target_pkg": "lakonlab + diffusers>=0.43",
            "description": "16K-token SolH3SwiGLU chunking (< MPSGraph INT_MAX) + 95KB online rank-8 AdaLN folding + arm64 mmcv shim"
          }
        ]
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/minimax-h3/profiles/m5-ultra-256g-pih3-4step-dwd-5s.yaml"
    },
    {
      "slug": "minimax-h3",
      "model_name": "MiniMax H3 (+ Lakonik/pi-H3 1.5)",
      "category": "video",
      "family": "MiniMax",
      "source_repo": "MiniMaxAI/MiniMax-H3",
      "license": "MiniMax Community",
      "model_min_ram_gb": 192,
      "aa_score": 1155,
      "aa_metric": "AA Video Elo",
      "aa_url": "https://artificialanalysis.ai/video/leaderboard/text-to-video",
      "summary": "#1 open video+audio flagship accelerated 13.8x–27.0x on macOS MPS via Model2Metal's 16K-chunked SolH3SwiGLU patch & 95KB online AdaLN folding (-26 GB RAM).",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/video/minimax-h3",
      "profile_id": "m5-ultra-256g-pih3-4step-vae-5s",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 192,
      "engine": "diffusers 0.43.0 + LakonLab + Model2Metal MPS patches",
      "quantization": "BF16 + Online Rank-8 AdaLN Fold + pi-H3 1.5 4-step Native VAE",
      "mode": "distilled",
      "recommended": false,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 197.0,
      "resolution": "1344x768",
      "steps": 4,
      "frames": 124,
      "duration_s": 5.17,
      "peak_mem_gb": 136.8,
      "speedup": 11.33,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "near_roofline",
        "primary_pct": 69.7,
        "sustained_tflops": 96.2,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Near-Peak",
        "short_tag_zh": "准极限",
        "diagnosis_en": "Native 3D VAE decode lowers end-to-end effective TFLOPS to 96.2 (69.7%); prefer 4-step DWD decoder (162.2s).",
        "diagnosis_zh": "原生重量级 3D VAE 拉低端到端有效算力至 69.7%；推荐使用轻量 DWD 解码器（162.2s）。"
      },
      "metrics": {
        "resolution": "1344x768",
        "frames": 124,
        "fps": 24,
        "duration_s": 5.17,
        "steps": 4,
        "load_s": 36.5,
        "gen_s": 197.0,
        "peak_wired_gb": 136.8,
        "audio_sr_hz": 32000,
        "audio_rms": 0.1322,
        "speedup_vs_baseline": 11.33
      },
      "quality_check": {
        "passed": true,
        "summary": "Lowest peak wired (136.8 GB) and marginally crisper far-background lattice vs DWD"
      },
      "notes": "Use MiniMaxH3BlocksMod (not raw ModularPipeline) when running non-DWD pi-H3 adapters.",
      "recipe": {
        "script": "models/video/minimax-h3/run.py",
        "launch_cmd": "python models/video/minimax-h3/run.py --model /path/to/MiniMax-H3 --adapter-dir /path/to/pi-H3 --adapter pi_h3_1_5_4step_adapter --steps 4 --frames 124",
        "patches": [
          {
            "path": "model2metal/patches/minimax_h3_mps.py",
            "kind": "python-hook",
            "target_pkg": "lakonlab + diffusers>=0.43",
            "description": "16K-token SolH3SwiGLU chunking (< MPSGraph INT_MAX) + 95KB online rank-8 AdaLN folding + arm64 mmcv shim"
          }
        ]
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/minimax-h3/profiles/m5-ultra-256g-pih3-4step-vae-5s.yaml"
    },
    {
      "slug": "wan2.2-t2v-a14b",
      "model_name": "Wan2.2-T2V-A14B",
      "category": "video",
      "family": "Wan",
      "source_repo": "Wan-AI/Wan2.2-T2V-A14B-Diffusers",
      "license": "Apache-2.0",
      "model_min_ram_gb": 32,
      "aa_score": 1118,
      "aa_metric": "AA Video Elo",
      "aa_url": "https://artificialanalysis.ai/video/leaderboard/text-to-video",
      "summary": "Unlocks 32 GB–64 GB Macs via Native MLX 8-bit Sequential DiT (21.6 GB MLX / 31.5 GB Wired, 88.7s) and hits 82.5s (21.4x) at 480p / 357.3s at 720p via lightx2v 4-step Dual-LoRA.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/video/wan2.2-t2v-a14b",
      "profile_id": "m5-ultra-256g-fbcache-480p",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 128,
      "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS)",
      "quantization": "BF16 DiT + FP32 VAE (Zero-Training FirstBlockCache)",
      "mode": "training-free-cache",
      "recommended": false,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 819.4,
      "resolution": "832x480",
      "steps": 40,
      "frames": 81,
      "duration_s": 5.06,
      "peak_mem_gb": 105.0,
      "speedup": 2.15,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "near_roofline",
        "primary_pct": 64.8,
        "sustained_tflops": 89.4,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Near-Peak",
        "short_tag_zh": "准极限",
        "diagnosis_en": "40-step CFG + FirstBlockCache sustains 89.4 TFLOPS (64.8%); superseded by 4-step lightx2v LoRA (82.5s).",
        "diagnosis_zh": "40 步无训练 FirstBlockCache 有效算力 64.8%；追求极速请选上方 4 步 lightx2v 蒸馏配置（82.5s）。"
      },
      "metrics": {
        "resolution": "832x480",
        "frames": 81,
        "fps": 16,
        "duration_s": 5.06,
        "steps": 40,
        "load_s": 14.4,
        "gen_s": 819.4,
        "peak_wired_gb": 105.0,
        "speedup_vs_baseline": 2.15
      },
      "quality_check": {
        "passed": true,
        "summary": "Visually indistinguishable from 40-step baseline (1,765.3s) while skipping 22 of 40 steps"
      },
      "notes": "Best zero-LoRA option: works out of the box on WanTransformer3DModel (cached steps run in ~1.0s vs 42s).",
      "recipe": {
        "script": "models/video/wan2.2-t2v-a14b/run.py",
        "launch_cmd": "python models/video/wan2.2-t2v-a14b/run.py --model /path/to/Wan2.2-T2V-A14B-Diffusers --mode fbcache --steps 40",
        "patches": [
          {
            "path": "model2metal/patches/wan22_mps.py",
            "kind": "python-hook",
            "target_pkg": "diffusers>=0.43",
            "description": "Dual-LoRA weight-delta fusion guard + TaylorSeer blocks.\\d+/proj_out regex fix + FirstBlockCache helper"
          }
        ]
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/wan2.2-t2v-a14b/profiles/m5-ultra-256g-fbcache-480p.yaml"
    },
    {
      "slug": "wan2.2-t2v-a14b",
      "model_name": "Wan2.2-T2V-A14B",
      "category": "video",
      "family": "Wan",
      "source_repo": "Wan-AI/Wan2.2-T2V-A14B-Diffusers",
      "license": "Apache-2.0",
      "model_min_ram_gb": 32,
      "aa_score": 1118,
      "aa_metric": "AA Video Elo",
      "aa_url": "https://artificialanalysis.ai/video/leaderboard/text-to-video",
      "summary": "Unlocks 32 GB–64 GB Macs via Native MLX 8-bit Sequential DiT (21.6 GB MLX / 31.5 GB Wired, 88.7s) and hits 82.5s (21.4x) at 480p / 357.3s at 720p via lightx2v 4-step Dual-LoRA.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/video/wan2.2-t2v-a14b",
      "profile_id": "m5-ultra-256g-lightning4-480p-bf16vae",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 96,
      "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS)",
      "quantization": "BF16 DiT + BF16 VAE + lightx2v 4-step Dual LoRA",
      "mode": "distilled",
      "recommended": true,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 82.5,
      "resolution": "832x480",
      "steps": 4,
      "frames": 81,
      "duration_s": 5.06,
      "peak_mem_gb": 90.0,
      "speedup": 21.4,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "near_roofline",
        "primary_pct": 71.8,
        "sustained_tflops": 99.1,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Near-Peak",
        "short_tag_zh": "准极限",
        "diagnosis_en": "Dual 14B DiT @ 32,760 tokens (4 steps + BF16 VAE = 82.5s) sustains 99.1 TFLOPS (71.8% Near-Roofline).",
        "diagnosis_zh": "32,760 Token 3D 全注意力 4 步 BF16 实测持续算力 99.1 TFLOPS（71.8% 准物理极限）。"
      },
      "metrics": {
        "resolution": "832x480",
        "frames": 81,
        "fps": 16,
        "duration_s": 5.06,
        "steps": 4,
        "load_s": 24.6,
        "gen_s": 82.5,
        "peak_wired_gb": 90.0,
        "speedup_vs_baseline": 21.4
      },
      "quality_check": {
        "passed": true,
        "summary": "Pixel-identical to FP32 VAE (zero NaN/banding), crisp CJK signage & natural motion"
      },
      "notes": "21.4x faster than official 40-step CFG baseline (1,765.3s) and saves 10.6 GB wired vs FP32 VAE (100.6 -> 90.0 GB). Fits comfortably on 128 GB Mac Studio!",
      "recipe": {
        "script": "models/video/wan2.2-t2v-a14b/run.py",
        "launch_cmd": "python models/video/wan2.2-t2v-a14b/run.py --model /path/to/Wan2.2-T2V-A14B-Diffusers --lora-dir /path/to/Wan2.2-Distill-Loras --mode lightning4 --vae-bf16 --width 832 --height 480",
        "patches": [
          {
            "path": "model2metal/patches/wan22_mps.py",
            "kind": "python-hook",
            "target_pkg": "diffusers>=0.43",
            "description": "Dual-LoRA weight-delta fusion guard + TaylorSeer blocks.\\d+/proj_out regex fix + FirstBlockCache helper"
          }
        ]
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/wan2.2-t2v-a14b/profiles/m5-ultra-256g-lightning4-480p-bf16vae.yaml"
    },
    {
      "slug": "wan2.2-t2v-a14b",
      "model_name": "Wan2.2-T2V-A14B",
      "category": "video",
      "family": "Wan",
      "source_repo": "Wan-AI/Wan2.2-T2V-A14B-Diffusers",
      "license": "Apache-2.0",
      "model_min_ram_gb": 32,
      "aa_score": 1118,
      "aa_metric": "AA Video Elo",
      "aa_url": "https://artificialanalysis.ai/video/leaderboard/text-to-video",
      "summary": "Unlocks 32 GB–64 GB Macs via Native MLX 8-bit Sequential DiT (21.6 GB MLX / 31.5 GB Wired, 88.7s) and hits 82.5s (21.4x) at 480p / 357.3s at 720p via lightx2v 4-step Dual-LoRA.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/video/wan2.2-t2v-a14b",
      "profile_id": "m5-ultra-256g-lightning4-720p-bf16vae",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 128,
      "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS)",
      "quantization": "BF16 DiT + BF16 VAE + lightx2v 4-step Dual LoRA",
      "mode": "distilled",
      "recommended": false,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 357.3,
      "resolution": "1280x720",
      "steps": 4,
      "frames": 81,
      "duration_s": 5.06,
      "peak_mem_gb": 109.8,
      "speedup": null,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "roofline_optimal",
        "primary_pct": 75.5,
        "sustained_tflops": 104.2,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Compute Peak",
        "short_tag_zh": "算力极限",
        "diagnosis_en": "720p 73,710-token 3D full attention sustains 104.2 TFLOPS (75.5% Compute Roofline).",
        "diagnosis_zh": "720p 73,710 Token 3D 注意力实测持续算力 104.2 TFLOPS（75.5% 硅片算力极限）。"
      },
      "metrics": {
        "resolution": "1280x720",
        "frames": 81,
        "fps": 16,
        "duration_s": 5.06,
        "steps": 4,
        "load_s": 24.8,
        "gen_s": 357.3,
        "peak_wired_gb": 109.8
      },
      "quality_check": {
        "passed": true,
        "summary": "Sharp 720p HD motion & lighting, zero BF16 VAE artifacts (saves 17.9 GB & 30.1s vs FP32 VAE)"
      },
      "notes": "BF16 VAE slashes peak wired from 127.7 GB to 109.8 GB, unlocking 720p HD Wan2.2 on 128 GB Mac Studios.",
      "recipe": {
        "script": "models/video/wan2.2-t2v-a14b/run.py",
        "launch_cmd": "python models/video/wan2.2-t2v-a14b/run.py --model /path/to/Wan2.2-T2V-A14B-Diffusers --lora-dir /path/to/Wan2.2-Distill-Loras --mode lightning4 --vae-bf16 --width 1280 --height 720",
        "patches": [
          {
            "path": "model2metal/patches/wan22_mps.py",
            "kind": "python-hook",
            "target_pkg": "diffusers>=0.43",
            "description": "Dual-LoRA weight-delta fusion guard + TaylorSeer blocks.\\d+/proj_out regex fix + FirstBlockCache helper"
          }
        ]
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/wan2.2-t2v-a14b/profiles/m5-ultra-256g-lightning4-720p-bf16vae.yaml"
    },
    {
      "slug": "wan2.2-t2v-a14b",
      "model_name": "Wan2.2-T2V-A14B",
      "category": "video",
      "family": "Wan",
      "source_repo": "Wan-AI/Wan2.2-T2V-A14B-Diffusers",
      "license": "Apache-2.0",
      "model_min_ram_gb": 32,
      "aa_score": 1118,
      "aa_metric": "AA Video Elo",
      "aa_url": "https://artificialanalysis.ai/video/leaderboard/text-to-video",
      "summary": "Unlocks 32 GB–64 GB Macs via Native MLX 8-bit Sequential DiT (21.6 GB MLX / 31.5 GB Wired, 88.7s) and hits 82.5s (21.4x) at 480p / 357.3s at 720p via lightx2v 4-step Dual-LoRA.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/video/wan2.2-t2v-a14b",
      "profile_id": "m5-ultra-256g-mlx8-seq-480p",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 32,
      "engine": "Native MLX 0.32.5 (mlx-video + wan22_mlx.py)",
      "quantization": "MLX 8-bit Fused Dual-LoRA DiT + BF16 VAE",
      "mode": "distilled",
      "recommended": false,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-06",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 88.74,
      "resolution": "832x480",
      "steps": 4,
      "frames": 81,
      "duration_s": 5.06,
      "peak_mem_gb": 31.49,
      "speedup": 19.9,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "near_roofline",
        "primary_pct": 67.4,
        "sustained_tflops": 93.0,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Near-Peak",
        "short_tag_zh": "准极限",
        "diagnosis_en": "Native MLX 8-bit pre-fused LoRA DiT sustains 93.0 TFLOPS (67.4% Near-Roofline) while cutting RAM 90 GB -> 21.6 GB MLX.",
        "diagnosis_zh": "原生 MLX 8-bit 预融合双 LoRA 持续算力 93.0 TFLOPS（67.4% 准极限），同时将内存从 90 GB 压至 21.6 GB MLX。"
      },
      "metrics": {
        "resolution": "832x480",
        "frames": 81,
        "fps": 16,
        "duration_s": 5.06,
        "steps": 4,
        "load_s": 1.0,
        "gen_s": 88.74,
        "vae_s": 6.05,
        "peak_mlx_gb": 21.57,
        "peak_wired_gb": 31.49,
        "speedup_vs_baseline": 19.9
      },
      "quality_check": {
        "passed": true,
        "summary": "40-layer forward cosine_similarity=0.99885 vs PyTorch BF16; sharp 81f video (std=41.66, zero NaN)"
      },
      "notes": "Pre-fuses lightx2v rank-64 Dual LoRAs in BF16 BEFORE 8-bit quantization (avoiding upstream mlx-video's 57 GB BF16 dequantization trap) and swaps High/Low-Noise 15.78 GB experts sequentially. Slashes peak memory from 90.0 GB -> 21.57 GB MLX (31.49 GB Wired), unlocking 32 GB / 48 GB / 64 GB Macs!",
      "recipe": {
        "script": "models/video/wan2.2-t2v-a14b/run_mlx.py",
        "launch_cmd": "python models/video/wan2.2-t2v-a14b/run_mlx.py --model /path/to/Wan2.2-T2V-A14B-Diffusers --lora-dir /path/to/Wan2.2-Distill-Loras --sequential --width 832 --height 480",
        "patches": [
          {
            "path": "model2metal/patches/wan22_mlx.py",
            "kind": "weight-surgery",
            "target_pkg": "mlx-video>=0.0.1",
            "description": "Pre-quantization BF16 Dual-LoRA fusion + 1,095-key Diffusers->MLX WanModel bridge (norm2->norm3)"
          }
        ]
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/wan2.2-t2v-a14b/profiles/m5-ultra-256g-mlx8-seq-480p.yaml"
    },
    {
      "slug": "wan2.2-t2v-a14b",
      "model_name": "Wan2.2-T2V-A14B",
      "category": "video",
      "family": "Wan",
      "source_repo": "Wan-AI/Wan2.2-T2V-A14B-Diffusers",
      "license": "Apache-2.0",
      "model_min_ram_gb": 32,
      "aa_score": 1118,
      "aa_metric": "AA Video Elo",
      "aa_url": "https://artificialanalysis.ai/video/leaderboard/text-to-video",
      "summary": "Unlocks 32 GB–64 GB Macs via Native MLX 8-bit Sequential DiT (21.6 GB MLX / 31.5 GB Wired, 88.7s) and hits 82.5s (21.4x) at 480p / 357.3s at 720p via lightx2v 4-step Dual-LoRA.",
      "model_dir_url": "https://github.com/Pomavia-Lab/Model2Metal/tree/main/models/video/wan2.2-t2v-a14b",
      "profile_id": "m5-ultra-256g-taylorseer-480p",
      "chip": "Apple M5 Ultra (80-core GPU)",
      "ram_gb": 256,
      "min_ram_gb": 128,
      "engine": "diffusers 0.43.0 + torch 2.15.0 (MPS)",
      "quantization": "BF16 DiT + FP32 VAE (TaylorSeerCache w/ blocks.* fix)",
      "mode": "training-free-cache",
      "recommended": false,
      "contributor": "@hiddendevj",
      "verified_by": "Pomavia Lab",
      "verified_date": "2026-12-05",
      "pp_best": null,
      "pp_tag": "4K",
      "tg_best": null,
      "gen_s": 843.9,
      "resolution": "832x480",
      "steps": 40,
      "frames": 81,
      "duration_s": 5.06,
      "peak_mem_gb": 100.9,
      "speedup": 2.09,
      "roofline": {
        "kind": "dit_compute",
        "regime": "compute_flops",
        "gate": "near_roofline",
        "primary_pct": 62.9,
        "sustained_tflops": 86.8,
        "chip_peak_tflops": 138.0,
        "short_tag_en": "Near-Peak",
        "short_tag_zh": "准极限",
        "diagnosis_en": "40-step TaylorSeerCache sustains 86.8 TFLOPS (62.9%); superseded by 4-step lightx2v LoRA (82.5s).",
        "diagnosis_zh": "40 步 TaylorSeerCache 有效算力 62.9%；追求极速请选上方 4 步 lightx2v 蒸馏配置（82.5s）。"
      },
      "metrics": {
        "resolution": "832x480",
        "frames": 81,
        "fps": 16,
        "duration_s": 5.06,
        "steps": 40,
        "load_s": 13.8,
        "gen_s": 843.9,
        "peak_wired_gb": 100.9,
        "speedup_vs_baseline": 2.09
      },
      "quality_check": {
        "passed": true,
        "summary": "Film-grade 35mm look verified; requires explicit skip=blocks.* + cache=proj_out regex"
      },
      "notes": "PITFALL: Default Diffusers 0.43 TaylorSeerCache matches 0 modules on Wan2.2 and runs 0% cached! Always use model2metal.patches.wan22_mps.apply_wan22_taylorseer_cache().",
      "recipe": {
        "script": "models/video/wan2.2-t2v-a14b/run.py",
        "launch_cmd": "python models/video/wan2.2-t2v-a14b/run.py --model /path/to/Wan2.2-T2V-A14B-Diffusers --mode taylorseer --steps 40",
        "patches": [
          {
            "path": "model2metal/patches/wan22_mps.py",
            "kind": "python-hook",
            "target_pkg": "diffusers>=0.43",
            "description": "Dual-LoRA weight-delta fusion guard + TaylorSeer blocks.\\d+/proj_out regex fix + FirstBlockCache helper"
          }
        ]
      },
      "github_url": "https://github.com/Pomavia-Lab/Model2Metal/blob/main/models/video/wan2.2-t2v-a14b/profiles/m5-ultra-256g-taylorseer-480p.yaml"
    }
  ]
}
