{
  "schema_version": "0.3.0",
  "id": "s3-lfm2.5-2.6b-4-bit-litert-2048",
  "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:16:05Z",
    "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-2048-128",
    "kind": "text-generation",
    "prompt": {
      "tokens": 2048,
      "source": "prompts/source.txt",
      "sha256": "c10d1b7bef62d95322f8f8d229dc66118d9375107bdc49b06f76287d058b2f6c",
      "template": "ea663864491de7ade391839479860ca95541f892f72665c73251fbd4643b1bef",
      "construction": "chat-envelope-user-truncate-v1",
      "token_ids_sha256": "c449a205e3044d7db6694d9a3942e75910b7e39667ab38706ecd491a5a9f8b96"
    },
    "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": 10422.556,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 10376.145,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 2363.675,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 3440742048,
      "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": "45464451b71622f03de9c476dd5c5329dd956ce3aede1cd50e35b3309259e8b0",
      "error": null
    },
    {
      "index": 1,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 10275.945,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 10230.997,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 2329.457,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 3439939112,
      "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": "45464451b71622f03de9c476dd5c5329dd956ce3aede1cd50e35b3309259e8b0",
      "error": null
    },
    {
      "index": 2,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 10207.805,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 10161.87,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 2343.987,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 3439103600,
      "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": "45464451b71622f03de9c476dd5c5329dd956ce3aede1cd50e35b3309259e8b0",
      "error": null
    },
    {
      "index": 3,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 10191.807,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 10145.815,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 2326.403,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 3439021632,
      "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": "45464451b71622f03de9c476dd5c5329dd956ce3aede1cd50e35b3309259e8b0",
      "error": null
    },
    {
      "index": 4,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 10184.559,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 10138.356,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 2424.826,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 3440021104,
      "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": "45464451b71622f03de9c476dd5c5329dd956ce3aede1cd50e35b3309259e8b0",
      "error": null
    },
    {
      "index": 5,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 10173.854,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 10129.103,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 2344.126,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 3442462296,
      "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": "45464451b71622f03de9c476dd5c5329dd956ce3aede1cd50e35b3309259e8b0",
      "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": "1e917b0a1a99085ebc736737979bee95b02ff2c8ac994a763dbbe048802bc651"
      },
      {
        "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"
    }
  ]
}
