{
  "schema_version": "0.3.0",
  "id": "s3-lfm2.5-2.6b-4-bit-litert-256",
  "methodology_version": "0.6",
  "provenance": {
    "kind": "measured",
    "session_id": "s3-lfm2.5-2.6b-4-bit",
    "fixture_notice": null,
    "operator": {
      "name": "Glenn Sonna",
      "organization": "Xybrid",
      "affiliation": "xybrid"
    },
    "run_at": "2026-11-12T23:00:22Z",
    "harness": {
      "name": "xybrid-bench",
      "version": "0.4.0",
      "commit": "bde6325f3e1d617ca13cbb1d008164ccc9b7b7c3"
    }
  },
  "publication": {
    "status": "published",
    "published_at": "2026-11-16T10:23:29Z",
    "reviewed_by": [
      "Glenn Sonna"
    ],
    "changelog": []
  },
  "device": {
    "id": "glenn-m5-max-64gb",
    "os": {
      "build": "26B123",
      "kernel": "27.2.0",
      "name": "macOS",
      "version": "27.2.0"
    },
    "power": {
      "low_power_mode": false,
      "performance_mode": null,
      "source": "mains"
    }
  },
  "engine": {
    "id": "litert-lm",
    "version": "0.19.1",
    "build": {
      "source": "package",
      "flags": [],
      "dependencies": {
        "litert-lm-api": "0.19.1",
        "python": "3.12.12",
        "python_sha256": "3874a935f7242b660e652d35c25a1b87415fcfea3ee191ff262fcca5c50102c5",
        "worker_sha256": "7eedb7afb9f33fdf63d8da5b72b3195e80aad311e31a72b7d043d96ce4cc463b"
      },
      "commit": null,
      "binary_sha256": "c61e0faa71026f2875a710a42cbe803226004db811f7ee47ea78198a0499e851"
    },
    "backend": "cpu",
    "threads": null,
    "runtime_flags": {
      "backend": "cpu",
      "max_num_tokens": 4096,
      "enable_benchmark": true,
      "chat_template": "pass-through",
      "process": "one per generation",
      "sampler": "top_k=1 temperature=0",
      "stop_token_ids": "[[124900], [124895]]",
      "cache_dir": "[runner]/engines/litert-lm/cache",
      "bos_token_id": 124894
    },
    "interface": "python-worker"
  },
  "model": {
    "id": "lfm2.5-2.6b",
    "artifact": {
      "repo": "litert-community/LFM2.5-2.6B",
      "revision": "8f87ecede9509fd8d12c3e5b8c46b04b597febfc",
      "files": [
        {
          "path": "LFM2.5-2.6B_int4.litertlm",
          "sha256": "7e2194cd81cd82bcbdd6029b3509d99f49c1782afbdfc98c0e4b29b9cc04e6a6",
          "size_bytes": 1668251648
        },
        {
          "path": "README.md",
          "sha256": "ad39356f0ce401994fed4791f08a33353db1c6e078358f000d3ddcc8ff756bbb",
          "size_bytes": 18500
        }
      ],
      "format": "litertlm",
      "quantization": {
        "scheme": "litert-int4",
        "class": "4-bit",
        "weight_bits": 4,
        "group_size": null,
        "kv_cache": "litert-lm default"
      },
      "conversion": {
        "method": "upstream",
        "tool": null,
        "tool_version": null,
        "command": null,
        "publisher": "litert-community"
      }
    }
  },
  "workload": {
    "id": "archive-256-128",
    "kind": "text-generation",
    "prompt": {
      "tokens": 256,
      "source": "prompts/source.txt",
      "sha256": "c10d1b7bef62d95322f8f8d229dc66118d9375107bdc49b06f76287d058b2f6c",
      "template": "ea663864491de7ade391839479860ca95541f892f72665c73251fbd4643b1bef",
      "construction": "chat-envelope-user-truncate-v1",
      "token_ids_sha256": "e581da70677499b28d937245b5a1f094115531fbe9fae133fed90dc27ee9ddfb"
    },
    "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": 15
  },
  "conditions": {
    "ambient_c": null,
    "thermal": {
      "start": {
        "celsius": null,
        "state": "nominal"
      },
      "end": {
        "celsius": null,
        "state": "nominal"
      },
      "gate": "macOS thermal state nominal",
      "throttling_detected": false
    }
  },
  "trials": [
    {
      "index": 0,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 1618.353,
      "prefill": {
        "tokens": 256,
        "duration_ms": 1568.586,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 2341.36,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 2405731208,
      "memory_method": "peak phys_footprint sampled every 50 ms during the generation (proc_pid_rusage), plus the resident pages of the process’s mappings of its model files read just before and just after it (proc_pidinfo PROC_PIDREGIONPATHINFO)",
      "thermal": {
        "start": {
          "celsius": null,
          "state": "nominal"
        },
        "end": {
          "celsius": null,
          "state": "nominal"
        }
      },
      "output_sha256": "b5fc2d141974027fcdb4a537077332d47a9c08ac235ffda6d41d41acae26872c",
      "error": null
    },
    {
      "index": 1,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 1587.73,
      "prefill": {
        "tokens": 256,
        "duration_ms": 1539.86,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 2333.093,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 2405567344,
      "memory_method": "peak phys_footprint sampled every 50 ms during the generation (proc_pid_rusage), plus the resident pages of the process’s mappings of its model files read just before and just after it (proc_pidinfo PROC_PIDREGIONPATHINFO)",
      "thermal": {
        "start": {
          "celsius": null,
          "state": "nominal"
        },
        "end": {
          "celsius": null,
          "state": "nominal"
        }
      },
      "output_sha256": "b5fc2d141974027fcdb4a537077332d47a9c08ac235ffda6d41d41acae26872c",
      "error": null
    },
    {
      "index": 2,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 1590.002,
      "prefill": {
        "tokens": 256,
        "duration_ms": 1541.878,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 2334.408,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 2405288816,
      "memory_method": "peak phys_footprint sampled every 50 ms during the generation (proc_pid_rusage), plus the resident pages of the process’s mappings of its model files read just before and just after it (proc_pidinfo PROC_PIDREGIONPATHINFO)",
      "thermal": {
        "start": {
          "celsius": null,
          "state": "nominal"
        },
        "end": {
          "celsius": null,
          "state": "nominal"
        }
      },
      "output_sha256": "b5fc2d141974027fcdb4a537077332d47a9c08ac235ffda6d41d41acae26872c",
      "error": null
    },
    {
      "index": 3,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 1582.612,
      "prefill": {
        "tokens": 256,
        "duration_ms": 1534.688,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 2402.847,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 2405534600,
      "memory_method": "peak phys_footprint sampled every 50 ms during the generation (proc_pid_rusage), plus the resident pages of the process’s mappings of its model files read just before and just after it (proc_pidinfo PROC_PIDREGIONPATHINFO)",
      "thermal": {
        "start": {
          "celsius": null,
          "state": "nominal"
        },
        "end": {
          "celsius": null,
          "state": "nominal"
        }
      },
      "output_sha256": "b5fc2d141974027fcdb4a537077332d47a9c08ac235ffda6d41d41acae26872c",
      "error": null
    },
    {
      "index": 4,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 1592.774,
      "prefill": {
        "tokens": 256,
        "duration_ms": 1544.369,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 2373.948,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 2407893896,
      "memory_method": "peak phys_footprint sampled every 50 ms during the generation (proc_pid_rusage), plus the resident pages of the process’s mappings of its model files read just before and just after it (proc_pidinfo PROC_PIDREGIONPATHINFO)",
      "thermal": {
        "start": {
          "celsius": null,
          "state": "nominal"
        },
        "end": {
          "celsius": null,
          "state": "nominal"
        }
      },
      "output_sha256": "b5fc2d141974027fcdb4a537077332d47a9c08ac235ffda6d41d41acae26872c",
      "error": null
    },
    {
      "index": 5,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 1590.937,
      "prefill": {
        "tokens": 256,
        "duration_ms": 1542.672,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 2354.59,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 2408500056,
      "memory_method": "peak phys_footprint sampled every 50 ms during the generation (proc_pid_rusage), plus the resident pages of the process’s mappings of its model files read just before and just after it (proc_pidinfo PROC_PIDREGIONPATHINFO)",
      "thermal": {
        "start": {
          "celsius": null,
          "state": "nominal"
        },
        "end": {
          "celsius": null,
          "state": "nominal"
        }
      },
      "output_sha256": "b5fc2d141974027fcdb4a537077332d47a9c08ac235ffda6d41d41acae26872c",
      "error": null
    }
  ],
  "quality": {
    "method": "sanity-v1-bf16-reference",
    "status": "passed",
    "reference": "checks/sanity-v1.json",
    "reference_sha256": "a702dee079525ae0ec90465b1c9e26052c99cb3e1c53e83dea05be4c194fc7ca",
    "threshold": 8,
    "items": [
      {
        "id": "arithmetic",
        "passed": true,
        "output_sha256": "90a647b2379fe43265d36db39c01e0d324059b2e48f24ec4e2c1f6ec1c0d21eb"
      },
      {
        "id": "capital",
        "passed": true,
        "output_sha256": "7a3bb1905f2039638dff3f8a3da57abf7b1da32596b04c5ed04c5296f155196a"
      },
      {
        "id": "opposite",
        "passed": true,
        "output_sha256": "69a13e1ba8e284fcc26068ec8aa80e8a7e7f8bbebe86dc7a45424411198a6859"
      },
      {
        "id": "weekday",
        "passed": true,
        "output_sha256": "b8c6a621f6e216db1d214b8d906c759be744ff3abc6e41f979ff0d24575cbbcd"
      },
      {
        "id": "color",
        "passed": false,
        "output_sha256": "fe08d89d0b006dfadf3ef0dfdad25eded8e6238dcd5af7ea93748aaec2d565fd"
      },
      {
        "id": "sort",
        "passed": false,
        "output_sha256": "18262f662c7026172b01bdfacffbeb774bd5b8dcf4e2fe472d342bfc7037d47a"
      },
      {
        "id": "animal",
        "passed": true,
        "output_sha256": "3e9114b6df29561433c18b3a6abce2c635fbd8e9ff25b5fcee93149bfea52859"
      },
      {
        "id": "word",
        "passed": true,
        "output_sha256": "2e1816dd952a0d4c672ad52a4f32599d4eb0477bf5798060b93fe68f7684dbbd"
      },
      {
        "id": "copy",
        "passed": true,
        "output_sha256": "d8c711dfa5fef68d1d0f86320daeca065b91bc8d0dbcea210f8b9ef80eefc6c2"
      },
      {
        "id": "needle-start",
        "passed": true,
        "output_sha256": "56a69645d0ff053b3b7001c224f07a374bf963a22c9fa4706dda5e56e3616870"
      },
      {
        "id": "needle-end",
        "passed": true,
        "output_sha256": "34b7b9e17d75628c346994d8be48566a2dd011ba8533dc75fc33a579ee705365"
      },
      {
        "id": "continuation-128",
        "passed": true,
        "output_sha256": "fe1fdf5d49caa68c1ef2f8a341413cb2c3826023aef1113c6c289dcd86193b32"
      }
    ],
    "detail": "9/9 of the checks the model passes at BF16; needs 8 and the mandatory ones (needle-start, continuation-128). Left out, failed by every BF16 configuration: color, sort, needle-end."
  },
  "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/s3-lfm2.5-2.6b-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/s3-lfm2.5-2.6b-4-bit.jsonl",
      "sha256": "d84c658e7b83137c0b4430e5f31f3eafc7826ca3c6395ce0a4a3880aa6f72833"
    }
  ]
}
