{
  "schema_version": "0.3.0",
  "id": "s3-lfm2.5-2.6b-4-bit-rapid-mlx-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:15:03Z",
    "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": "rapid-mlx",
    "version": "1.0.2",
    "build": {
      "source": "package",
      "flags": [],
      "dependencies": {
        "rapid-mlx": "1.0.2",
        "mlx": "0.32.3",
        "mlx-metal": "0.32.3",
        "mlx-lm": "0.31.3",
        "transformers": "5.15.1",
        "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": "8ff413fa4320a0b9217dab6e4923e1ea05346df0ce7849307489ba94d0825ae2",
        "rapid_mlx_scheduler_sha256": "42321e60dc1df70187a4e70baf7d99d504735b4b1345e0733689eb4ccdedca3c",
        "mlx_core_sha256": "49eeb7232106aa9ab846b20e0417add980b1c7213ef6dda6e25c01d45ca54851"
      },
      "commit": "f1aa011aa91bb38140ed3fb68f6267b77447ee0f",
      "binary_sha256": "d5c9b638732cda0b2e2a816aa85cc1780e0a3c1b690bb23c8d9b4d3ac81a527c"
    },
    "backend": "metal",
    "threads": null,
    "runtime_flags": {
      "backend": "Device(gpu, 0)",
      "model_source": "artifact folder",
      "context_length": 4096,
      "batch_size": 1,
      "max_num_seqs": 1,
      "max_concurrent_requests": 1,
      "prefill_batch_size": 1,
      "completion_batch_size": 1,
      "prefill_step_size": 2048,
      "prefix_cache": false,
      "disk_caches": false,
      "speculative": false,
      "spec_decode": "none",
      "suffix_decoding": false,
      "response_cache_entries": 0,
      "pflash": "off",
      "kv_cache_dtype": "bf16",
      "kv_quantized": false,
      "admission_window_ms": 0,
      "stream_interval": 1,
      "gpu_memory_utilization": 0.9,
      "greedy": true,
      "temperature": 0,
      "sampler": "argmax",
      "trust_remote_code": false,
      "telemetry": false,
      "weight_bits": 4,
      "weight_group_size": 64
    },
    "interface": "python-worker"
  },
  "model": {
    "id": "lfm2.5-2.6b",
    "artifact": {
      "repo": "LiquidAI/LFM2.5-2.6B-MLX-4bit",
      "revision": "04efa23776ce61ec34ec95ec34c859854c89542b",
      "files": [
        {
          "path": "README.md",
          "sha256": "0907976d22f77d4178e10d04002403a94a22ad965ad8431f754fb28a14885f6e",
          "size_bytes": 2648
        },
        {
          "path": "chat_template.jinja",
          "sha256": "aadd425edb1d42fe9288e5de3624c21c1c03099129b9cfea5978f1bc67222c0a",
          "size_bytes": 5496
        },
        {
          "path": "config.json",
          "sha256": "6ab5ad71687f6ca8d3811b9290ac06291f78e1e0f4f3ec504e6644032d58342b",
          "size_bytes": 2202
        },
        {
          "path": "generation_config.json",
          "sha256": "e08c9a83f4bfe64468c9671a2b69b60549728e2a9481387f3555471f64e958bc",
          "size_bytes": 306
        },
        {
          "path": "model.safetensors",
          "sha256": "ef350b75815752f8bff8c064c9fc8bd8b5709577d72943436852013d2bcd4691",
          "size_bytes": 1583152892
        },
        {
          "path": "model.safetensors.index.json",
          "sha256": "620f8efaf53e826757324852e999f6ba9a5d974e193589470a70951fd17a1543",
          "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-4bit-g64",
        "class": "4-bit",
        "weight_bits": 4,
        "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": 236.172,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 235.458,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 492.581,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 3437169280,
      "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": 232.307,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 231.634,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 491.916,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 3372305048,
      "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": 232.03,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 231.297,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 491.316,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 3333818936,
      "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": 235.043,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 234.35,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 493.227,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 3327396432,
      "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": 230.566,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 229.888,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 490.241,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 3394194048,
      "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": 235.53,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 234.841,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 489.12,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 3438250576,
      "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": "failed",
    "reference": "checks/sanity-v1.json",
    "reference_sha256": "a702dee079525ae0ec90465b1c9e26052c99cb3e1c53e83dea05be4c194fc7ca",
    "threshold": 8,
    "items": [
      {
        "id": "arithmetic",
        "passed": true,
        "output_sha256": "90a647b2379fe43265d36db39c01e0d324059b2e48f24ec4e2c1f6ec1c0d21eb"
      },
      {
        "id": "capital",
        "passed": true,
        "output_sha256": "b1098d691672b55e98767ac84c6d8375f7bcc0d78154c861ea70ac2ff66e0ba7"
      },
      {
        "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": "cb12005007583cdcd569a7d96955cb80cb294053fa0ac7cedb3ee401fa09d13b"
      },
      {
        "id": "animal",
        "passed": true,
        "output_sha256": "3e9114b6df29561433c18b3a6abce2c635fbd8e9ff25b5fcee93149bfea52859"
      },
      {
        "id": "word",
        "passed": true,
        "output_sha256": "2e1816dd952a0d4c672ad52a4f32599d4eb0477bf5798060b93fe68f7684dbbd"
      },
      {
        "id": "copy",
        "passed": false,
        "output_sha256": "40ec15ba7f6dd791515c1e570997f3fd45822d5f2c56544e7b35cb2e6fb16729"
      },
      {
        "id": "needle-start",
        "passed": true,
        "output_sha256": "8b9af2e5b8b4cfddb87d171997b95c471f8d68a68e30fb5177abeb3332372edd"
      },
      {
        "id": "needle-end",
        "passed": true,
        "output_sha256": "e6589c736af32f81bf239c5eda6de41959122ccc1d05463b75e0eb0c70fc831c"
      },
      {
        "id": "continuation-128",
        "passed": false,
        "output_sha256": "595ee2e62bb2b0afabce45fc4d707def46db7e116ff6d218da9f9a33e57c4274"
      }
    ],
    "detail": "7/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"
    }
  ]
}
