{
  "schema_version": "0.3.0",
  "id": "s3-lfm2.5-350m-8-bit-rapid-mlx-2048",
  "methodology_version": "0.6",
  "provenance": {
    "kind": "measured",
    "session_id": "s3-lfm2.5-350m-8-bit",
    "fixture_notice": null,
    "operator": {
      "name": "Glenn Sonna",
      "organization": "Xybrid",
      "affiliation": "xybrid"
    },
    "run_at": "2026-11-12T20:24:33Z",
    "harness": {
      "name": "xybrid-bench",
      "version": "0.4.0",
      "commit": "e16a0a33bb42c49f9e719fb636d4a390e66babe6"
    }
  },
  "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": 8,
      "weight_group_size": 64
    },
    "interface": "python-worker"
  },
  "model": {
    "id": "lfm2.5-350m",
    "artifact": {
      "repo": "LiquidAI/LFM2.5-350M-MLX-8bit",
      "revision": "2eb1bb33c541750066fad9757713ff555b3ca4bb",
      "files": [
        {
          "path": "README.md",
          "sha256": "85f447c49d57a798d8270bb5d494786961188f05c4abbb11c98ad0c3b0124244",
          "size_bytes": 2329
        },
        {
          "path": "chat_template.jinja",
          "sha256": "1a2d8281b5477abb5bb1cebd69d7d1ee389e074656ca5f5e0ef6ae56d6ae65c1",
          "size_bytes": 2607
        },
        {
          "path": "config.json",
          "sha256": "3e5f60543d3712d8431235a95fb6b23d0d8c88708065d1fd966eeb36f8d4a775",
          "size_bytes": 1714
        },
        {
          "path": "generation_config.json",
          "sha256": "1c72d35bb46c5102537eb114fea9a5c10ef928cc813401c3c12aef399c1f8e5d",
          "size_bytes": 132
        },
        {
          "path": "model.safetensors",
          "sha256": "5c77c877b92370344e16a90c0d4bb8bccfad3f0a14f4249ae8db7e7af761822e",
          "size_bytes": 399018899
        },
        {
          "path": "model.safetensors.index.json",
          "sha256": "14877d5294bf25cc3565e19236d50ee2fe60ce3048971a01fb78b915be096850",
          "size_bytes": 23413
        },
        {
          "path": "tokenizer.json",
          "sha256": "df1d8d5ec5d091b460562ffd545e4a5e91d17d4a0db7ebe733be34ed374377bd",
          "size_bytes": 4733389
        },
        {
          "path": "tokenizer_config.json",
          "sha256": "75c287923e252b08b0a0f1c367bbe557ab23a681d0b71c5a34e0932ddbe2f5ee",
          "size_bytes": 489
        }
      ],
      "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": "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": 59.5,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 58.888,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 178.263,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 2158888520,
      "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": "e9c2c1da2150a6c594d5da917373aae3e2d944ba36df8041f74067b4d5200c66",
      "error": null
    },
    {
      "index": 1,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 61.858,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 61.2,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 178.356,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 2246870576,
      "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": "e9c2c1da2150a6c594d5da917373aae3e2d944ba36df8041f74067b4d5200c66",
      "error": null
    },
    {
      "index": 2,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 61.88,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 61.223,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 178.547,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 2048394824,
      "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": "e9c2c1da2150a6c594d5da917373aae3e2d944ba36df8041f74067b4d5200c66",
      "error": null
    },
    {
      "index": 3,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 59.492,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 58.867,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 177.711,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 2522842672,
      "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": "e9c2c1da2150a6c594d5da917373aae3e2d944ba36df8041f74067b4d5200c66",
      "error": null
    },
    {
      "index": 4,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 62.682,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 62.09,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 177.842,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 2086995504,
      "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": "e9c2c1da2150a6c594d5da917373aae3e2d944ba36df8041f74067b4d5200c66",
      "error": null
    },
    {
      "index": 5,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 65.262,
      "prefill": {
        "tokens": 2048,
        "duration_ms": 64.62,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 178.358,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 2425210368,
      "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": "e9c2c1da2150a6c594d5da917373aae3e2d944ba36df8041f74067b4d5200c66",
      "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-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-350m-8-bit.jsonl",
      "sha256": "552c273db2a049d849245c4104276ea67e9d00ec1baf35469ea58e2e55bc62e9"
    }
  ]
}
