{
  "schema_version": "0.3.0",
  "id": "s3-lfm2.5-350m-bf16-llama-256",
  "methodology_version": "0.6",
  "provenance": {
    "kind": "measured",
    "session_id": "s3-lfm2.5-350m-bf16",
    "fixture_notice": null,
    "operator": {
      "name": "Glenn Sonna",
      "organization": "Xybrid",
      "affiliation": "xybrid"
    },
    "run_at": "2026-11-12T19:19:41Z",
    "harness": {
      "name": "xybrid-bench",
      "version": "0.4.0",
      "commit": "f52aad0ee842300810766ded876620ed6c5a58d1"
    }
  },
  "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": 17,
      "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-350m",
    "artifact": {
      "repo": "LiquidAI/LFM2.5-350M-GGUF",
      "revision": "657e078c94084481950a2d555a941481f715536b",
      "files": [
        {
          "path": "LFM2.5-350M-BF16.gguf",
          "sha256": "8da576155e67ae093f49e4ebf638c025a04c0d28d5ec42bd28617ca18a52539d",
          "size_bytes": 711485152
        },
        {
          "path": "README.md",
          "sha256": "4773739eb49540664b16566dc655d03a51df3937639e9dbf28d48a15d01b2436",
          "size_bytes": 3277
        }
      ],
      "format": "gguf",
      "quantization": {
        "scheme": "BF16",
        "class": "bf16",
        "weight_bits": 16,
        "group_size": null,
        "kv_cache": "magnitude default"
      },
      "conversion": {
        "method": "upstream",
        "tool": null,
        "tool_version": null,
        "command": null,
        "publisher": "LiquidAI"
      }
    }
  },
  "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": 25.968,
      "prefill": {
        "tokens": 256,
        "duration_ms": 25.222,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 280.586,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 986105296,
      "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": "92e9ad69d6e42489fc23be136f551c70f8ce8fb4652e0516a781b7f6f44e173a",
      "error": null
    },
    {
      "index": 1,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 22.494,
      "prefill": {
        "tokens": 256,
        "duration_ms": 21.467,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 267.471,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 975521232,
      "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": "92e9ad69d6e42489fc23be136f551c70f8ce8fb4652e0516a781b7f6f44e173a",
      "error": null
    },
    {
      "index": 2,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 14.155,
      "prefill": {
        "tokens": 256,
        "duration_ms": 13.433,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 277.805,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 974603752,
      "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": "92e9ad69d6e42489fc23be136f551c70f8ce8fb4652e0516a781b7f6f44e173a",
      "error": null
    },
    {
      "index": 3,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 23.419,
      "prefill": {
        "tokens": 256,
        "duration_ms": 22.689,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 269.486,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 974947816,
      "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": "92e9ad69d6e42489fc23be136f551c70f8ce8fb4652e0516a781b7f6f44e173a",
      "error": null
    },
    {
      "index": 4,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 23.339,
      "prefill": {
        "tokens": 256,
        "duration_ms": 22.625,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 290.002,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 973653504,
      "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": "92e9ad69d6e42489fc23be136f551c70f8ce8fb4652e0516a781b7f6f44e173a",
      "error": null
    },
    {
      "index": 5,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 23.598,
      "prefill": {
        "tokens": 256,
        "duration_ms": 22.871,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 265.263,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 974079488,
      "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": "92e9ad69d6e42489fc23be136f551c70f8ce8fb4652e0516a781b7f6f44e173a",
      "error": null
    }
  ],
  "quality": {
    "method": "sanity-v1-bf16-reference",
    "status": "passed",
    "reference": "checks/sanity-v1.json",
    "reference_sha256": "a702dee079525ae0ec90465b1c9e26052c99cb3e1c53e83dea05be4c194fc7ca",
    "threshold": 7,
    "items": [
      {
        "id": "arithmetic",
        "passed": false,
        "output_sha256": "4a44dc15364204a80fe80e9039455cc1608281820fe2b24f1e5233ade6af1dd5"
      },
      {
        "id": "capital",
        "passed": true,
        "output_sha256": "5dd272b4f316b776a7b8e3d0894b37e1e42be3d5d3b204b8a5836cc50597a6b1"
      },
      {
        "id": "opposite",
        "passed": true,
        "output_sha256": "f151cd9e12c8994edfa316e4624f956bc68460454869177f287146f8cc956a12"
      },
      {
        "id": "weekday",
        "passed": true,
        "output_sha256": "7d8af1de1262f150187d5938bf649d6c35726970685f916d1ec6392a801b9762"
      },
      {
        "id": "color",
        "passed": true,
        "output_sha256": "d486dfbd5fb578340bccbdd0a662527eab38550648d5f44517e5ac71b8824703"
      },
      {
        "id": "sort",
        "passed": false,
        "output_sha256": "edb794d615a63f5eec436d83bed7299d6af36f508c0bf38a3c1cd85d6e4ebd56"
      },
      {
        "id": "animal",
        "passed": true,
        "output_sha256": "4b227777d4dd1fc61c6f884f48641d02b4d121d3fd328cb08b5531fcacdabf8a"
      },
      {
        "id": "word",
        "passed": false,
        "output_sha256": "df7e70e5021544f4834bbee64a9e3789febc4be81470df629cad6ddb03320a5c"
      },
      {
        "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": false,
        "output_sha256": "d7f917cdf362c04c176faac2a3a39c878a91838b9152de3ff5b965c02ccc8763"
      }
    ],
    "detail": "8/8 of the checks the model passes at BF16; needs 7 and the mandatory ones (needle-start, needle-end). Left out, failed by every BF16 configuration: arithmetic, sort, word, continuation-128."
  },
  "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-350m-bf16.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-350m-bf16.jsonl",
      "sha256": "a6bb6d857eb9da845e2184fe331f06432799f786efdc346d2502092faa12b8fd"
    }
  ]
}
