{
  "schema_version": "0.3.0",
  "id": "s3-lfm2.5-1.2b-4-bit-litert-cpu-256",
  "methodology_version": "0.6",
  "provenance": {
    "kind": "measured",
    "session_id": "s3-lfm2.5-1.2b-4-bit",
    "fixture_notice": null,
    "operator": {
      "name": "Glenn Sonna",
      "organization": "Xybrid",
      "affiliation": "xybrid"
    },
    "run_at": "2026-11-12T21:44:51Z",
    "harness": {
      "name": "xybrid-bench",
      "version": "0.4.0",
      "commit": "a101f5a635e0541dbb6a1f784441a4634584f414"
    }
  },
  "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": "[[7], [2]]",
      "cache_dir": "[runner]/engines/litert-lm/cache",
      "bos_token_id": 1
    },
    "interface": "python-worker"
  },
  "model": {
    "id": "lfm2.5-1.2b-instruct",
    "artifact": {
      "repo": "litert-community/LFM2.5-1.2B-Instruct",
      "revision": "4a148a1032ce264346c6a2a2931e8d0391dbe5d1",
      "files": [
        {
          "path": "LFM2.5-1.2B-Instruct_int4.litertlm",
          "sha256": "e904729a8a8a0160658cb7cd22992e270a0547c05cc45b08c47ece5c0e29425b",
          "size_bytes": 736015744
        },
        {
          "path": "README.md",
          "sha256": "531c7c0863478b158f7cdf91c3af2a51b26bcd0081b3c976b9aeabe9280dbab6",
          "size_bytes": 20979
        }
      ],
      "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": "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": 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": 723.638,
      "prefill": {
        "tokens": 256,
        "duration_ms": 697.804,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 1226.933,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1322043264,
      "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": "5fee11f539f286e2dacb220afac5230de03dbd31e704be61116fc442d841b26f",
      "error": null
    },
    {
      "index": 1,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 717.372,
      "prefill": {
        "tokens": 256,
        "duration_ms": 691.761,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 1226.013,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1320896408,
      "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": "32bb3662f41fab1bb90fec6d6da9132cbf9926926ae4e68bf612771bc4964fb7",
      "error": null
    },
    {
      "index": 2,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 715.848,
      "prefill": {
        "tokens": 256,
        "duration_ms": 689.88,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 1233.322,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1321355136,
      "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": "6fcb85e79fa72608d82971af9f4be583746354e8eadecf81929def1e5722b854",
      "error": null
    },
    {
      "index": 3,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 715.029,
      "prefill": {
        "tokens": 256,
        "duration_ms": 689.437,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 1236.579,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1320208280,
      "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": "a70c660a295c6f41e4160db1a17e7c1ea8c1b1f19738f32d5f00208253fa1b20",
      "error": null
    },
    {
      "index": 4,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 716.419,
      "prefill": {
        "tokens": 256,
        "duration_ms": 690.831,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 1225.723,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1321895832,
      "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": "d85bf4e8f55cf921fad82f47c06fdf5a61f2be9186112ea0b1e7acfc8faa3597",
      "error": null
    },
    {
      "index": 5,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 716.565,
      "prefill": {
        "tokens": 256,
        "duration_ms": 690.967,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 1223.24,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1323730816,
      "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": "8796ee833a27e6c237846b983e9a3a79499210585dbc91426dca068474d56653",
      "error": null
    }
  ],
  "quality": {
    "method": "sanity-v1-bf16-reference",
    "status": "failed",
    "reference": "checks/sanity-v1.json",
    "reference_sha256": "a702dee079525ae0ec90465b1c9e26052c99cb3e1c53e83dea05be4c194fc7ca",
    "threshold": 11,
    "items": [
      {
        "id": "arithmetic",
        "passed": false,
        "output_sha256": "7902699be42c8a8e46fbbb4501726517e86b22c56a189f7625a6da49081b2451"
      },
      {
        "id": "capital",
        "passed": true,
        "output_sha256": "5dd272b4f316b776a7b8e3d0894b37e1e42be3d5d3b204b8a5836cc50597a6b1"
      },
      {
        "id": "opposite",
        "passed": true,
        "output_sha256": "f151cd9e12c8994edfa316e4624f956bc68460454869177f287146f8cc956a12"
      },
      {
        "id": "weekday",
        "passed": true,
        "output_sha256": "7d8af1de1262f150187d5938bf649d6c35726970685f916d1ec6392a801b9762"
      },
      {
        "id": "color",
        "passed": false,
        "output_sha256": "ec7d56a01607001e6401366417c5e2eb00ffa0df17ca1a9a831e0b32c8f11bf7"
      },
      {
        "id": "sort",
        "passed": true,
        "output_sha256": "a386b3c9b4b4786df5bb6474bab0a62b8476e2f3f9c8a6433aca40152840f6b7"
      },
      {
        "id": "animal",
        "passed": true,
        "output_sha256": "4b227777d4dd1fc61c6f884f48641d02b4d121d3fd328cb08b5531fcacdabf8a"
      },
      {
        "id": "word",
        "passed": true,
        "output_sha256": "3b635d3b4437e023e72a9df26201b6ab51285b376446446ebb379121994550f6"
      },
      {
        "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": true,
        "output_sha256": "fe1fdf5d49caa68c1ef2f8a341413cb2c3826023aef1113c6c289dcd86193b32"
      }
    ],
    "detail": "10/12 of the checks the model passes at BF16; needs 11 and the mandatory ones (needle-start, needle-end, continuation-128). Left out, failed by every BF16 configuration: none."
  },
  "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-1.2b-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-1.2b-4-bit.jsonl",
      "sha256": "83ed1948cfa32b0d4ab5081b098ac3eec37e0243803c5805eb7f92dca47fccc3"
    }
  ]
}
