{
  "schema_version": "0.3.0",
  "id": "s4-iphone12-lfm2.5-350m-4-bit-uzu-256",
  "methodology_version": "0.6",
  "provenance": {
    "kind": "measured",
    "session_id": "s4-iphone12-lfm2.5-350m-4-bit",
    "fixture_notice": null,
    "operator": {
      "name": "Glenn Sonna",
      "organization": "Xybrid",
      "affiliation": "xybrid"
    },
    "run_at": "2026-11-13T02:08:59Z",
    "harness": {
      "name": "xybrid-bench",
      "version": "0.4.0",
      "commit": "8130262155c269b3ee57ab53b9fb646fd29790c2"
    }
  },
  "publication": {
    "status": "published",
    "published_at": "2026-11-16T10:23:29Z",
    "reviewed_by": [
      "Glenn Sonna"
    ],
    "changelog": []
  },
  "device": {
    "id": "glenn-iphone-12",
    "os": {
      "name": "iOS",
      "version": "27.2.1",
      "build": "24B156",
      "kernel": "Darwin Kernel Version 27.2.0: Tue Oct 13 21:44:36 PDT 2026; root:xnu-13432.42.3~28/RELEASE_ARM64_T8101"
    },
    "power": {
      "source": "usb",
      "low_power_mode": false,
      "performance_mode": "active"
    }
  },
  "engine": {
    "id": "uzu",
    "version": "0.6.17",
    "build": {
      "source": "package",
      "flags": [],
      "dependencies": {
        "ios.app_sha256": "c2ad72f6c7e394f758cbc77dc71c868a9c3d52371bc1379a9e49e3940bc22586",
        "ios.app_commit": "81fd76d1698d12d14fce16f82788e1dd92998b9c",
        "ios.os_build": "24B156"
      },
      "commit": null,
      "binary_sha256": "c2ad72f6c7e394f758cbc77dc71c868a9c3d52371bc1379a9e49e3940bc22586"
    },
    "backend": "metal",
    "threads": null,
    "runtime_flags": {
      "backend": "metal",
      "app": "XybridBench",
      "process": "one app launch per generation",
      "threads": "engine default",
      "session": "new per generation",
      "sampling": "greedy",
      "prompt": "user content of the frozen chat envelope",
      "uzu_identifier": "liquidai:lfm2.5:350m:mirai:mirai-m:4"
    },
    "interface": "ios-app"
  },
  "model": {
    "id": "lfm2.5-350m",
    "artifact": {
      "repo": "trymirai/LFM2.5-350M-M",
      "revision": "1023c49cfc41338ff513b2359a4fe8626fe4e6c7",
      "files": [
        {
          "path": "README.md",
          "sha256": "fa2aac1b60ca223ab0761e052263ac98687b13a999325f7131f125d68b5f874b",
          "size_bytes": 3306
        },
        {
          "path": "config.json",
          "sha256": "e9f941c136b12c2e1b848d8266f1e94c0a547ce61ec130013cdbb18447a375a7",
          "size_bytes": 37022
        },
        {
          "path": "model.safetensors",
          "sha256": "984b8e9e7e47d943f027ea83df4ba52d303f2ab42e118512c243438ba1a6f74a",
          "size_bytes": 192792200
        },
        {
          "path": "tokenizer.json",
          "sha256": "df1d8d5ec5d091b460562ffd545e4a5e91d17d4a0db7ebe733be34ed374377bd",
          "size_bytes": 4733389
        }
      ],
      "format": "mirai",
      "quantization": {
        "scheme": "mirai-m",
        "class": "4-bit",
        "weight_bits": 4,
        "group_size": null,
        "kv_cache": "uzu default"
      },
      "conversion": {
        "method": "upstream",
        "tool": null,
        "tool_version": null,
        "command": null,
        "publisher": "trymirai"
      }
    }
  },
  "workload": {
    "id": "archive-256-128",
    "kind": "text-generation",
    "prompt": {
      "tokens": 256,
      "source": "prompts/source.txt",
      "sha256": "c10d1b7bef62d95322f8f8d229dc66118d9375107bdc49b06f76287d058b2f6c",
      "template": "ba551d58630afa3190b1be3602e28301f3d2e9bbac978dfc49d6d825171648b6",
      "construction": "chat-envelope-user-truncate-v1",
      "token_ids_sha256": "7381c708874443eac5f4292963e572116ad67e654bc72d185952e31d2cda5231"
    },
    "output_tokens": 128,
    "stop_on_eos": false,
    "context_length": 4096,
    "batch_size": 1,
    "sampling": {
      "temperature": 0,
      "top_p": 1,
      "top_k": 1,
      "seed": 1,
      "greedy": true
    },
    "measurement": "streaming",
    "warmup_runs": 2,
    "trials_planned": 6,
    "cooldown_s": 60
  },
  "conditions": {
    "ambient_c": null,
    "thermal": {
      "start": {
        "celsius": null,
        "state": "nominal"
      },
      "end": {
        "celsius": null,
        "state": "nominal"
      },
      "gate": "iOS thermal state nominal",
      "throttling_detected": false
    }
  },
  "trials": [
    {
      "index": 0,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 379.775,
      "prefill": {
        "tokens": 256,
        "duration_ms": 322.468,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 979.463,
        "timing_source": "engine"
      },
      "peak_memory_bytes": null,
      "memory_method": null,
      "thermal": {
        "start": {
          "celsius": null,
          "state": "nominal"
        },
        "end": {
          "celsius": null,
          "state": "nominal"
        }
      },
      "output_sha256": "7cab444f2cf6279fc28343670f1fa8be0f1c1597493ab32e31c3bc409d23f0a2",
      "error": null
    },
    {
      "index": 1,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 386.158,
      "prefill": {
        "tokens": 256,
        "duration_ms": 327.184,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 968.006,
        "timing_source": "engine"
      },
      "peak_memory_bytes": null,
      "memory_method": null,
      "thermal": {
        "start": {
          "celsius": null,
          "state": "nominal"
        },
        "end": {
          "celsius": null,
          "state": "nominal"
        }
      },
      "output_sha256": "7cab444f2cf6279fc28343670f1fa8be0f1c1597493ab32e31c3bc409d23f0a2",
      "error": null
    },
    {
      "index": 2,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 379.397,
      "prefill": {
        "tokens": 256,
        "duration_ms": 321.815,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 969.002,
        "timing_source": "engine"
      },
      "peak_memory_bytes": null,
      "memory_method": null,
      "thermal": {
        "start": {
          "celsius": null,
          "state": "nominal"
        },
        "end": {
          "celsius": null,
          "state": "nominal"
        }
      },
      "output_sha256": "7cab444f2cf6279fc28343670f1fa8be0f1c1597493ab32e31c3bc409d23f0a2",
      "error": null
    },
    {
      "index": 3,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 382.073,
      "prefill": {
        "tokens": 256,
        "duration_ms": 324.036,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 969.129,
        "timing_source": "engine"
      },
      "peak_memory_bytes": null,
      "memory_method": null,
      "thermal": {
        "start": {
          "celsius": null,
          "state": "nominal"
        },
        "end": {
          "celsius": null,
          "state": "nominal"
        }
      },
      "output_sha256": "7cab444f2cf6279fc28343670f1fa8be0f1c1597493ab32e31c3bc409d23f0a2",
      "error": null
    },
    {
      "index": 4,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 390.096,
      "prefill": {
        "tokens": 256,
        "duration_ms": 329.313,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 972.249,
        "timing_source": "engine"
      },
      "peak_memory_bytes": null,
      "memory_method": null,
      "thermal": {
        "start": {
          "celsius": null,
          "state": "nominal"
        },
        "end": {
          "celsius": null,
          "state": "nominal"
        }
      },
      "output_sha256": "7cab444f2cf6279fc28343670f1fa8be0f1c1597493ab32e31c3bc409d23f0a2",
      "error": null
    },
    {
      "index": 5,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 399.658,
      "prefill": {
        "tokens": 256,
        "duration_ms": 328.574,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 1001.835,
        "timing_source": "engine"
      },
      "peak_memory_bytes": null,
      "memory_method": null,
      "thermal": {
        "start": {
          "celsius": null,
          "state": "nominal"
        },
        "end": {
          "celsius": null,
          "state": "nominal"
        }
      },
      "output_sha256": "7cab444f2cf6279fc28343670f1fa8be0f1c1597493ab32e31c3bc409d23f0a2",
      "error": null
    }
  ],
  "quality": {
    "method": "sanity-v1-bf16-reference",
    "status": "passed",
    "reference": "checks/sanity-v1.json",
    "reference_sha256": "a702dee079525ae0ec90465b1c9e26052c99cb3e1c53e83dea05be4c194fc7ca",
    "threshold": 7,
    "items": [
      {
        "id": "arithmetic",
        "passed": false,
        "output_sha256": "4a44dc15364204a80fe80e9039455cc1608281820fe2b24f1e5233ade6af1dd5"
      },
      {
        "id": "capital",
        "passed": true,
        "output_sha256": "5dd272b4f316b776a7b8e3d0894b37e1e42be3d5d3b204b8a5836cc50597a6b1"
      },
      {
        "id": "opposite",
        "passed": true,
        "output_sha256": "f151cd9e12c8994edfa316e4624f956bc68460454869177f287146f8cc956a12"
      },
      {
        "id": "weekday",
        "passed": true,
        "output_sha256": "7d8af1de1262f150187d5938bf649d6c35726970685f916d1ec6392a801b9762"
      },
      {
        "id": "color",
        "passed": true,
        "output_sha256": "d486dfbd5fb578340bccbdd0a662527eab38550648d5f44517e5ac71b8824703"
      },
      {
        "id": "sort",
        "passed": false,
        "output_sha256": "edb794d615a63f5eec436d83bed7299d6af36f508c0bf38a3c1cd85d6e4ebd56"
      },
      {
        "id": "animal",
        "passed": true,
        "output_sha256": "4b227777d4dd1fc61c6f884f48641d02b4d121d3fd328cb08b5531fcacdabf8a"
      },
      {
        "id": "word",
        "passed": false,
        "output_sha256": "f61e68691bdd0f5ebd3252de0396569d624bd2fba240d66fae90edb456a9f48f"
      },
      {
        "id": "copy",
        "passed": true,
        "output_sha256": "d61e6890d0e3571b0c7693612d41f8d059a1fcdef4ba959c0af4144541d41907"
      },
      {
        "id": "needle-start",
        "passed": true,
        "output_sha256": "8b9af2e5b8b4cfddb87d171997b95c471f8d68a68e30fb5177abeb3332372edd"
      },
      {
        "id": "needle-end",
        "passed": true,
        "output_sha256": "e6589c736af32f81bf239c5eda6de41959122ccc1d05463b75e0eb0c70fc831c"
      },
      {
        "id": "continuation-128",
        "passed": false,
        "output_sha256": "5dc99dc1de83d6b0ff37b91fff7ca5b0c1ae5493c987f0dadd9d5db7ae6923d5"
      }
    ],
    "detail": "8/8 of the checks the model passes at BF16; needs 7 and the mandatory ones (needle-start, needle-end). Left out, failed by every BF16 configuration: arithmetic, sort, word, continuation-128."
  },
  "status": "complete",
  "errors": [],
  "unsupported": null,
  "caveats": [
    "Publisher cards identify the base model but do not always pin the exact export source checkpoint revision.",
    "Engines may differ in quantization scheme, effective KV cache precision, kernels, and activations."
  ],
  "reproduction": {
    "commands": [
      "pnpm bench run --plan plans/s4-iphone12-lfm2.5-350m-4-bit.json"
    ],
    "environment": {},
    "notes": "Three palindromic blocks per quantization class and workload; load, two warmups, one trial, unload per turn."
  },
  "artifacts": [
    {
      "kind": "raw",
      "label": "Complete finalized session evidence",
      "url": "https://www.xybrid.ai/leaderboard/raw/s4-iphone12-lfm2.5-350m-4-bit.jsonl",
      "sha256": "ac1a231e5df239fef5ba5df5da5e73cf31ec5d1a50dfd494f8edb357bb81ef85"
    }
  ]
}
