{
  "schema_version": "0.3.0",
  "id": "s3-lfm2.5-2.6b-8-bit-mlx-2048",
  "methodology_version": "0.6",
  "provenance": {
    "kind": "measured",
    "session_id": "s3-lfm2.5-2.6b-8-bit",
    "fixture_notice": null,
    "operator": {
      "name": "Glenn Sonna",
      "organization": "Xybrid",
      "affiliation": "xybrid"
    },
    "run_at": "2026-11-12T22:42:25Z",
    "harness": {
      "name": "xybrid-bench",
      "version": "0.4.0",
      "commit": "777cb3d9fecaa7cc1a30694d98492c33dbc6d693"
    }
  },
  "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-2.6b",
    "artifact": {
      "repo": "LiquidAI/LFM2.5-2.6B-MLX-8bit",
      "revision": "b372ebbb518c0e81617e25d8824427dd9ee1f08c",
      "files": [
        {
          "path": "README.md",
          "sha256": "0e60b04b3ef5ab4e03e971537ec84cd45256c82f00efce24095ba73bf3f467f0",
          "size_bytes": 2648
        },
        {
          "path": "chat_template.jinja",
          "sha256": "aadd425edb1d42fe9288e5de3624c21c1c03099129b9cfea5978f1bc67222c0a",
          "size_bytes": 5496
        },
        {
          "path": "config.json",
          "sha256": "6f0d4974b6a17ff0d1140196b89d56107fdb0b88b0a548ce3035c9d99f139c52",
          "size_bytes": 1952
        },
        {
          "path": "generation_config.json",
          "sha256": "e08c9a83f4bfe64468c9671a2b69b60549728e2a9481387f3555471f64e958bc",
          "size_bytes": 306
        },
        {
          "path": "model.safetensors",
          "sha256": "04f7c6997b1501ae2551109aee50d57419f651a80d1a68a58a2c4d53202ee1ca",
          "size_bytes": 2866086056
        },
        {
          "path": "model.safetensors.index.json",
          "sha256": "e18c6098614fe191dd3991c4403ee60830179e3d61c518496549b3890db9140c",
          "size_bytes": 41983
        },
        {
          "path": "tokenizer.json",
          "sha256": "695be7802a0e4b8a81048f0ff5ebb7fc811a0ba5a6be63dbb24deb5a81096f41",
          "size_bytes": 17905598
        },
        {
          "path": "tokenizer_config.json",
          "sha256": "11f1de897317b489dd09199284528382eeb17f566398b16e2039bb2266d26b09",
          "size_bytes": 363
        }
      ],
      "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-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": 220.467,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 219.719,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 799.592,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 4222995552,
      "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": "b5fc2d141974027fcdb4a537077332d47a9c08ac235ffda6d41d41acae26872c",
      "error": null
    },
    {
      "index": 1,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 221.457,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 220.643,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 791.387,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 4329507936,
      "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": "b5fc2d141974027fcdb4a537077332d47a9c08ac235ffda6d41d41acae26872c",
      "error": null
    },
    {
      "index": 2,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 221.274,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 220.523,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 792.068,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 4342320200,
      "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": "b5fc2d141974027fcdb4a537077332d47a9c08ac235ffda6d41d41acae26872c",
      "error": null
    },
    {
      "index": 3,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 221.05,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 220.274,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 791.85,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 4328410208,
      "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": "b5fc2d141974027fcdb4a537077332d47a9c08ac235ffda6d41d41acae26872c",
      "error": null
    },
    {
      "index": 4,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 221.507,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 220.752,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 793.979,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 4210281568,
      "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": "b5fc2d141974027fcdb4a537077332d47a9c08ac235ffda6d41d41acae26872c",
      "error": null
    },
    {
      "index": 5,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 220.917,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 220.218,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 791.244,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 4277243000,
      "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": "b5fc2d141974027fcdb4a537077332d47a9c08ac235ffda6d41d41acae26872c",
      "error": null
    }
  ],
  "quality": {
    "method": "sanity-v1-bf16-reference",
    "status": "passed",
    "reference": "checks/sanity-v1.json",
    "reference_sha256": "a702dee079525ae0ec90465b1c9e26052c99cb3e1c53e83dea05be4c194fc7ca",
    "threshold": 8,
    "items": [
      {
        "id": "arithmetic",
        "passed": true,
        "output_sha256": "68ce25cb2c4b530f85434cd352428b022149c641163300e566f4f9ee9d789bcf"
      },
      {
        "id": "capital",
        "passed": true,
        "output_sha256": "b1098d691672b55e98767ac84c6d8375f7bcc0d78154c861ea70ac2ff66e0ba7"
      },
      {
        "id": "opposite",
        "passed": true,
        "output_sha256": "7c90b06eef25984adf77ec226311829bbc1065a033e9ad6b26d9bd0dfdc65f95"
      },
      {
        "id": "weekday",
        "passed": true,
        "output_sha256": "03db656ee680fb1053be9c98631722488bb10269075159dbae5b000f0359dae2"
      },
      {
        "id": "color",
        "passed": false,
        "output_sha256": "a4849893c59e4aa15ff645cadd4cce0fbd882097352a75d8e6f23619578a73c6"
      },
      {
        "id": "sort",
        "passed": false,
        "output_sha256": "6904619ddb316a20bc1220a9088da9a4181f1f16766b6fdd188defd9cddc4c75"
      },
      {
        "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": "56a69645d0ff053b3b7001c224f07a374bf963a22c9fa4706dda5e56e3616870"
      },
      {
        "id": "needle-end",
        "passed": false,
        "output_sha256": "1a8ad5c1a3264694da79d5312eeb8f20a35e3c5522e4cd33bbbe072f6e724877"
      },
      {
        "id": "continuation-128",
        "passed": true,
        "output_sha256": "35b435d7f1c75bb05c07d58cad000525a1d62d6dbe7fd00ae7416953dfa26286"
      }
    ],
    "detail": "9/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-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-2.6b-8-bit.jsonl",
      "sha256": "92db4b58d89343f623920b0ee530cfa9bbae7e105b9df1baa32441dd17e17af3"
    }
  ]
}
