{
  "schema_version": "0.3.0",
  "id": "s3-lfm2.5-2.6b-4-bit-llama-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:14:20Z",
    "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": "llama.cpp",
    "version": "b12110",
    "build": {
      "source": "release",
      "flags": [],
      "dependencies": {},
      "commit": "cd959bae9",
      "binary_sha256": "e7e3c60a5e612460d095bfd219047040d6bb9d0b56466aae30a480980b676959"
    },
    "backend": "metal",
    "threads": 18,
    "runtime_flags": {
      "context_length": 4096,
      "parallel": 1,
      "speculative": false,
      "backend": "metal",
      "launch.log_verbosity": 4,
      "launch.log_colors": "off",
      "launch.cache_prompt": false,
      "launch.cache_ram_mib": 0,
      "launch.cache_reuse": 0,
      "launch.continuous_batching": false,
      "launch.context_shift": false,
      "launch.flash_attn": "on",
      "launch.cache_type_k": "f16",
      "launch.cache_type_v": "f16",
      "launch.gpu_layers": 999,
      "launch.load_mode": "mmap",
      "offloaded_layers": 31,
      "launch.mmap": true,
      "n_batch": 2048,
      "n_ubatch": 512,
      "n_threads": 18,
      "n_threads_batch": 18,
      "flash_attn": "enabled"
    },
    "interface": "http-server"
  },
  "model": {
    "id": "lfm2.5-2.6b",
    "artifact": {
      "repo": "LiquidAI/LFM2.5-2.6B-GGUF",
      "revision": "e7caca5d835a3901a8e0d63e94009429bafafdfc",
      "files": [
        {
          "path": "LFM2.5-2.6B-Q4_K_M.gguf",
          "sha256": "02a8b7e17487d326e46d68ce0ba24211e1b80a14c4cd0597fa73c1cd697f52ed",
          "size_bytes": 1674455040
        },
        {
          "path": "README.md",
          "sha256": "d08b79260b3998e96792777085e4175b730667568f3a953ad4ac9099cfa27056",
          "size_bytes": 3068
        }
      ],
      "format": "gguf",
      "quantization": {
        "scheme": "Q4_K_M",
        "class": "4-bit",
        "weight_bits": 4,
        "group_size": null,
        "kv_cache": "magnitude default"
      },
      "conversion": {
        "method": "upstream",
        "tool": null,
        "tool_version": null,
        "command": null,
        "publisher": "LiquidAI"
      }
    }
  },
  "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": 313.623,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 312.676,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 592.731,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1994819840,
      "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": "6394fce507588a52ea36e2e91c3bf05e740361abc8f83386a296b8423f34a0b3",
      "error": null
    },
    {
      "index": 1,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 313.063,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 312.174,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 585.223,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1994918096,
      "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": "6394fce507588a52ea36e2e91c3bf05e740361abc8f83386a296b8423f34a0b3",
      "error": null
    },
    {
      "index": 2,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 312.599,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 311.739,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 597.242,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1994557576,
      "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": "6394fce507588a52ea36e2e91c3bf05e740361abc8f83386a296b8423f34a0b3",
      "error": null
    },
    {
      "index": 3,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 315.131,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 314.214,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 608.526,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1994442984,
      "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": "6394fce507588a52ea36e2e91c3bf05e740361abc8f83386a296b8423f34a0b3",
      "error": null
    },
    {
      "index": 4,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 315.773,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 314.905,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 600.586,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1994574056,
      "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": "6394fce507588a52ea36e2e91c3bf05e740361abc8f83386a296b8423f34a0b3",
      "error": null
    },
    {
      "index": 5,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 313.012,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 312.126,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 597.143,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1994721464,
      "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": "6394fce507588a52ea36e2e91c3bf05e740361abc8f83386a296b8423f34a0b3",
      "error": null
    }
  ],
  "quality": {
    "method": "sanity-v1-bf16-reference",
    "status": "failed",
    "reference": "checks/sanity-v1.json",
    "reference_sha256": "a702dee079525ae0ec90465b1c9e26052c99cb3e1c53e83dea05be4c194fc7ca",
    "threshold": 8,
    "items": [
      {
        "id": "arithmetic",
        "passed": true,
        "output_sha256": "68ce25cb2c4b530f85434cd352428b022149c641163300e566f4f9ee9d789bcf"
      },
      {
        "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": "f3e9a127eb72ee656a49ae07958aff2ae3343aa843f5b3abc9ae9de9f560a4f8"
      },
      {
        "id": "animal",
        "passed": true,
        "output_sha256": "3e9114b6df29561433c18b3a6abce2c635fbd8e9ff25b5fcee93149bfea52859"
      },
      {
        "id": "word",
        "passed": true,
        "output_sha256": "d1bf31457072aaa4c116ea5819a644456232fdd87b15203d3eafdd5e541f4e61"
      },
      {
        "id": "copy",
        "passed": true,
        "output_sha256": "d8c711dfa5fef68d1d0f86320daeca065b91bc8d0dbcea210f8b9ef80eefc6c2"
      },
      {
        "id": "needle-start",
        "passed": true,
        "output_sha256": "e4b695d890438ad108a6fd9cb2e39bf857a00a883f231741c1f92416c1b218c4"
      },
      {
        "id": "needle-end",
        "passed": true,
        "output_sha256": "34b7b9e17d75628c346994d8be48566a2dd011ba8533dc75fc33a579ee705365"
      },
      {
        "id": "continuation-128",
        "passed": false,
        "output_sha256": "da3683ef8034e95c52683294949e3e9c606f4429c3d6e782c3fcadaa386ce12a"
      }
    ],
    "detail": "8/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"
    }
  ]
}
