{
  "schema_version": "0.3.0",
  "id": "s3-lfm2.5-1.2b-8-bit-mlx-256",
  "methodology_version": "0.6",
  "provenance": {
    "kind": "measured",
    "session_id": "s3-lfm2.5-1.2b-8-bit",
    "fixture_notice": null,
    "operator": {
      "name": "Glenn Sonna",
      "organization": "Xybrid",
      "affiliation": "xybrid"
    },
    "run_at": "2026-11-12T21:14:12Z",
    "harness": {
      "name": "xybrid-bench",
      "version": "0.4.0",
      "commit": "18f43990b479e8cd3ab97664a2cca0d707214164"
    }
  },
  "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": "mlx-lm",
    "version": "0.32.2",
    "build": {
      "source": "package",
      "flags": [],
      "dependencies": {
        "mlx-lm": "0.32.2",
        "mlx": "0.32.2",
        "mlx-metal": "0.32.2",
        "transformers": "5.7.0",
        "tokenizers": "0.22.2",
        "numpy": "2.5.4",
        "huggingface-hub": "1.33.0",
        "safetensors": "0.8.0",
        "sentencepiece": "0.2.3",
        "protobuf": "7.36.2",
        "python": "3.12.12",
        "python_sha256": "3874a935f7242b660e652d35c25a1b87415fcfea3ee191ff262fcca5c50102c5",
        "worker_sha256": "acc06c50636620db1a9358c355ac79a28885ca4a86a9e2161b56efb778abf861",
        "mlx_core_sha256": "5ff77c777a73864d2af86defd61b141467746636f0047b76b66a7ae645fa12fb"
      },
      "commit": null,
      "binary_sha256": "9d46803799f99d6fc7c35fff2d4357c79b1a25ae98cc63efeaaebeb50a7b5f33"
    },
    "backend": "metal",
    "threads": null,
    "runtime_flags": {
      "backend": "Device(gpu, 0)",
      "prompt_cache": false,
      "speculative": false,
      "greedy": true,
      "temperature": 0,
      "sampler": "argmax",
      "prefill_step_size": 2048,
      "context_length": 4096,
      "kv_quantized": false,
      "batch_size": 1,
      "trust_remote_code": false,
      "weight_bits": 8,
      "weight_group_size": 64
    },
    "interface": "python-worker"
  },
  "model": {
    "id": "lfm2.5-1.2b-instruct",
    "artifact": {
      "repo": "LiquidAI/LFM2.5-1.2B-Instruct-MLX-8bit",
      "revision": "ce5150fd0de58d2bba8d88cc87f13e4fbda5977a",
      "files": [
        {
          "path": "README.md",
          "sha256": "e121410071d946a17d3481d16ddf5548a335433be9a30eafe1532265ddf84fbd",
          "size_bytes": 2286
        },
        {
          "path": "chat_template.jinja",
          "sha256": "3acb41f339d069a43037e6b9a9715cbeece8874eb25a7cabf1a33903d7724d6d",
          "size_bytes": 1836
        },
        {
          "path": "config.json",
          "sha256": "07f8d0fa634323c35c91978f38fa7ffe9bc50439a92a57dadcd81e0e69aaa501",
          "size_bytes": 1572
        },
        {
          "path": "generation_config.json",
          "sha256": "5ffd97da1dec4308543894569662d96e923ed01f7a9d8c7ff5aea7f800738cbd",
          "size_bytes": 132
        },
        {
          "path": "model.safetensors",
          "sha256": "74e6e29f0215107a4aa9d4bd0a1ac8c1adbd0096f898bfbf49d3edc6cc7e4130",
          "size_bytes": 1243645809
        },
        {
          "path": "model.safetensors.index.json",
          "sha256": "fcfe171be23642632ad0e997d641bb2a92c137635660e28f07efa4eb3dbe659b",
          "size_bytes": 23415
        },
        {
          "path": "special_tokens_map.json",
          "sha256": "742aefe2b7dec496e8caffdba03a75d0c1a9925d53bd3f3e0d388c96b591b6f4",
          "size_bytes": 434
        },
        {
          "path": "tokenizer.json",
          "sha256": "df1d8d5ec5d091b460562ffd545e4a5e91d17d4a0db7ebe733be34ed374377bd",
          "size_bytes": 4733389
        },
        {
          "path": "tokenizer_config.json",
          "sha256": "2a52ec012d3df831ba434b081bef3726a6ee22501f062ad8353c557a0cfa0d01",
          "size_bytes": 92225
        }
      ],
      "format": "safetensors",
      "quantization": {
        "scheme": "mlx-affine-8bit-g64",
        "class": "8-bit",
        "weight_bits": 8,
        "group_size": 64,
        "kv_cache": "model-dtype"
      },
      "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": 31.167,
      "prefill": {
        "tokens": 256,
        "duration_ms": 30.667,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 352.656,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1549076256,
      "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": "d3776ddc3221a300763fafbe38b8e7124b99273dc66c2b8fc1933d17050bceda",
      "error": null
    },
    {
      "index": 1,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 30.614,
      "prefill": {
        "tokens": 256,
        "duration_ms": 30.074,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 352.208,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1549223856,
      "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": "d3776ddc3221a300763fafbe38b8e7124b99273dc66c2b8fc1933d17050bceda",
      "error": null
    },
    {
      "index": 2,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 30.844,
      "prefill": {
        "tokens": 256,
        "duration_ms": 30.317,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 350.217,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1551615896,
      "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": "d3776ddc3221a300763fafbe38b8e7124b99273dc66c2b8fc1933d17050bceda",
      "error": null
    },
    {
      "index": 3,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 30.649,
      "prefill": {
        "tokens": 256,
        "duration_ms": 30.154,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 350.761,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1548273560,
      "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": "d3776ddc3221a300763fafbe38b8e7124b99273dc66c2b8fc1933d17050bceda",
      "error": null
    },
    {
      "index": 4,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 30.717,
      "prefill": {
        "tokens": 256,
        "duration_ms": 30.184,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 353.086,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1537148800,
      "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": "d3776ddc3221a300763fafbe38b8e7124b99273dc66c2b8fc1933d17050bceda",
      "error": null
    },
    {
      "index": 5,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 30.578,
      "prefill": {
        "tokens": 256,
        "duration_ms": 30.071,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 351.278,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 1549207472,
      "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": "d3776ddc3221a300763fafbe38b8e7124b99273dc66c2b8fc1933d17050bceda",
      "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": true,
        "output_sha256": "d486dfbd5fb578340bccbdd0a662527eab38550648d5f44517e5ac71b8824703"
      },
      {
        "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": "12/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-8-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-8-bit.jsonl",
      "sha256": "37f33f60c46247fd3061a5a71ec713d3066a3d3d25a8708905c86af5437eced9"
    }
  ]
}
