{
  "schema_version": "0.3.0",
  "id": "s3-lfm2.5-1.2b-4-bit-ollama-2048",
  "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-12T22:04:28Z",
    "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": "ollama",
    "version": "0.40.13",
    "build": {
      "source": "release",
      "flags": [],
      "dependencies": {
        "llama_server_sha256": "00089aaa72646759fbaae9fa38ab0e47a984b40cf9e3d544dcea9db455d4e154"
      },
      "commit": null,
      "binary_sha256": "270089e59e1d411ac4d0987154b4e95f48b29a81c9d274833c6b766d6df88300"
    },
    "backend": "metal",
    "threads": null,
    "runtime_flags": {
      "backend": "metal",
      "model": "xybrid-b1b3de114215d950",
      "blob": "sha256-b1b3de114215d9507409a662a501a631095a479a419584e8a2ded6304b19b4f5",
      "offloaded_layers": 17,
      "bos_stripped": true,
      "llama_server.host": "127.0.0.1",
      "llama_server.no-webui": true,
      "llama_server.offline": true,
      "llama_server.c": 4096,
      "llama_server.np": 1,
      "llama_server.log-verbosity": 4,
      "llama_server.no-log-prefix": true,
      "llama_server.no-log-timestamps": true,
      "llama_server.cache-type-k": "f16",
      "llama_server.cache-type-v": "f16",
      "llama_server.flash-attn": "on",
      "llama_server.b": 512,
      "llama_server.ub": 512,
      "llama_server.context-shift": true,
      "llama_server.keep": 4,
      "env.OLLAMA_KEEP_ALIVE": "-1",
      "env.OLLAMA_FLASH_ATTENTION": "1",
      "env.OLLAMA_KV_CACHE_TYPE": "f16",
      "env.OLLAMA_NOHISTORY": "1",
      "env.OLLAMA_NUM_PARALLEL": "1",
      "env.OLLAMA_MAX_LOADED_MODELS": "1",
      "env.LLAMA_ARG_CACHE_RAM": "0"
    },
    "interface": "http-server"
  },
  "model": {
    "id": "lfm2.5-1.2b-instruct",
    "artifact": {
      "repo": "LiquidAI/LFM2.5-1.2B-Instruct-GGUF",
      "revision": "8ed288026e23958ad9dfa92d53ed773a8eee7125",
      "files": [
        {
          "path": "LFM2.5-1.2B-Instruct-Q4_K_M.gguf",
          "sha256": "b1b3de114215d9507409a662a501a631095a479a419584e8a2ded6304b19b4f5",
          "size_bytes": 730895168
        },
        {
          "path": "README.md",
          "sha256": "f89d69dd107c19936b98ff981456302bc59255cce34b216ecc489d7bafa782e9",
          "size_bytes": 3544
        }
      ],
      "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": "ba551d58630afa3190b1be3602e28301f3d2e9bbac978dfc49d6d825171648b6",
      "construction": "chat-envelope-user-truncate-v1",
      "token_ids_sha256": "6ceea5aa46030c20e55b91ef994d1f6a6e6f409e2be4c6ce079005e4692e6d23"
    },
    "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": 139.254,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 136.375,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 287.525,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1015662008,
      "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": "460b2a66f369a8ad41f927dd1bb22f390589ec399348645d447f54875a0d0449",
      "error": null
    },
    {
      "index": 1,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 141.331,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 138.293,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 285.171,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1015629264,
      "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": "460b2a66f369a8ad41f927dd1bb22f390589ec399348645d447f54875a0d0449",
      "error": null
    },
    {
      "index": 2,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 137.784,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 134.747,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 285.314,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1016284576,
      "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": "460b2a66f369a8ad41f927dd1bb22f390589ec399348645d447f54875a0d0449",
      "error": null
    },
    {
      "index": 3,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 139.01,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 136.062,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 286.972,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1017726392,
      "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": "460b2a66f369a8ad41f927dd1bb22f390589ec399348645d447f54875a0d0449",
      "error": null
    },
    {
      "index": 4,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 138.41,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 135.552,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 287.671,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1016612304,
      "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": "460b2a66f369a8ad41f927dd1bb22f390589ec399348645d447f54875a0d0449",
      "error": null
    },
    {
      "index": 5,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 140.108,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 136.86,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 288.696,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1016251832,
      "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": "460b2a66f369a8ad41f927dd1bb22f390589ec399348645d447f54875a0d0449",
      "error": null
    }
  ],
  "quality": {
    "method": "sanity-v1-bf16-reference",
    "status": "passed",
    "reference": "checks/sanity-v1.json",
    "reference_sha256": "a702dee079525ae0ec90465b1c9e26052c99cb3e1c53e83dea05be4c194fc7ca",
    "threshold": 11,
    "items": [
      {
        "id": "arithmetic",
        "passed": true,
        "output_sha256": "6b51d431df5d7f141cbececcf79edf3dd861c3b4069f0b11661a3eefacbba918"
      },
      {
        "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": "19dd83f117525b931fccdafe808aaa6939af792ee549f359eff13fac0d622f5d"
      },
      {
        "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": "11/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"
    }
  ]
}
