{
  "schema_version": "0.3.0",
  "id": "s2-qwen3.8-27b-8-bit-mlx-256",
  "methodology_version": "0.6",
  "provenance": {
    "kind": "measured",
    "session_id": "s2-qwen3.8-27b-8-bit",
    "fixture_notice": null,
    "operator": {
      "name": "Glenn Sonna",
      "organization": "Xybrid",
      "affiliation": "xybrid"
    },
    "run_at": "2026-11-10T00:27:20Z",
    "harness": {
      "name": "xybrid-bench",
      "version": "0.4.0",
      "commit": "cc682ada28493d2fb2ff3e6d49f6abad10c6aa0a"
    }
  },
  "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": "qwen3.8-27b",
    "artifact": {
      "repo": "mlx-community/Qwen3.8-27B-8bit",
      "revision": "815b83c0df8ffd1d1b5244cf75fd6ef14fca9ef9",
      "files": [
        {
          "path": "README.md",
          "sha256": "7472162f72900db40d17e5359952a3f8fb49ef83f4778e77fa6a6b99e8181aff",
          "size_bytes": 632
        },
        {
          "path": "chat_template.jinja",
          "sha256": "c3cf9e34abf4f9e36c2d72165aa9c132d3e2a725b6c2586aaa3a8af9d7a81041",
          "size_bytes": 8952
        },
        {
          "path": "config.json",
          "sha256": "8f80874ac3ad8fa386d3f6dc0ea85377f703376e009a03dee0360e08e289a25d",
          "size_bytes": 4932
        },
        {
          "path": "generation_config.json",
          "sha256": "e70c136c1b78ddc1fb0905bac8e733a4dc448d4f852a5dd75143fffc70be550e",
          "size_bytes": 202
        },
        {
          "path": "merges.txt",
          "sha256": "a9d356d7bdf1ef4949e3e748e95b8e10ad9d4e2e838eddc38a0a7b6b94d1db8d",
          "size_bytes": 3353259
        },
        {
          "path": "model-00001-of-00006.safetensors",
          "sha256": "c7921fe72af5c961c3c4230ea25068ed6d1e502d5ecb2b4a53b7c9c213effa0c",
          "size_bytes": 5317707581
        },
        {
          "path": "model-00002-of-00006.safetensors",
          "sha256": "e9d93d15495354045da281f102649b99793e5b6ed0e05852c58f46e6616b54a0",
          "size_bytes": 5354102610
        },
        {
          "path": "model-00003-of-00006.safetensors",
          "sha256": "7015f40310c86a18230e28644832b624532333d5dfbf7584e6c62341dbd8975e",
          "size_bytes": 5354184694
        },
        {
          "path": "model-00004-of-00006.safetensors",
          "sha256": "7dc8ae53ed51d153e6b59499cdf004bf6ef15aab6757c7604ed4834774abc2c2",
          "size_bytes": 5337309653
        },
        {
          "path": "model-00005-of-00006.safetensors",
          "sha256": "8817c22c01aebdcde54eac315e9766f705eb512ba7ba84ac47501c663f930ac5",
          "size_bytes": 5292848464
        },
        {
          "path": "model-00006-of-00006.safetensors",
          "sha256": "fce51843fc07e1c67c5ec6d19edb46e4fa8d2b51a1cb6c8316b0a7cc069c0eb4",
          "size_bytes": 2845065477
        },
        {
          "path": "model.safetensors.index.json",
          "sha256": "4301ca600788afb2a45c0aa367140d6144ecf617d0a51a8187fc6755d65301f8",
          "size_bytes": 218281
        },
        {
          "path": "preprocessor_config.json",
          "sha256": "27225450ac9c6529872ee1924fcb0962ff5634834f817040f444118116f4e516",
          "size_bytes": 390
        },
        {
          "path": "processor_config.json",
          "sha256": "45fc17c8dd2474af6b493b52483c26c0584b0082d368c480f9fa611e73070040",
          "size_bytes": 991
        },
        {
          "path": "tokenizer.json",
          "sha256": "06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523",
          "size_bytes": 19989325
        },
        {
          "path": "tokenizer_config.json",
          "sha256": "792fa3f0cb88b111e54ef3134c873531008c4df471d108da17903426e308aa7b",
          "size_bytes": 1165
        },
        {
          "path": "video_preprocessor_config.json",
          "sha256": "7768af27c1fafa9cc9011c1dc20067e03f8915e03b63504550e11d5066986d13",
          "size_bytes": 385
        },
        {
          "path": "vocab.json",
          "sha256": "ce99b4cb2983d118806ce0a8b777a35b093e2000a503ebde25853284c9dfa003",
          "size_bytes": 6722759
        }
      ],
      "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": "mlx-community"
      }
    }
  },
  "workload": {
    "id": "archive-256-128",
    "kind": "text-generation",
    "prompt": {
      "tokens": 256,
      "source": "prompts/source.txt",
      "sha256": "c10d1b7bef62d95322f8f8d229dc66118d9375107bdc49b06f76287d058b2f6c",
      "template": "af16f654968d47d09a6c604e00370b12dbc21f76456f59c9e98b82e84d9f6375",
      "construction": "chat-envelope-user-truncate-v1",
      "token_ids_sha256": "2e898ab96d98564299d66aec466dac46bb4e9dbd3255a01187d6184b1ce3bdd0"
    },
    "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": 430.342,
      "prefill": {
        "tokens": 256,
        "duration_ms": 429.307,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 6918.174,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 30040216696,
      "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": "c4464dcb5dee61d6e53d3dc759f6c1033d6580530d3b83fc6596760204507793",
      "error": null
    },
    {
      "index": 1,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 427.268,
      "prefill": {
        "tokens": 256,
        "duration_ms": 426.226,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 6920.775,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 30039282952,
      "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": "c4464dcb5dee61d6e53d3dc759f6c1033d6580530d3b83fc6596760204507793",
      "error": null
    },
    {
      "index": 2,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 428.287,
      "prefill": {
        "tokens": 256,
        "duration_ms": 427.286,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 6906.032,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 30040544496,
      "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": "c4464dcb5dee61d6e53d3dc759f6c1033d6580530d3b83fc6596760204507793",
      "error": null
    },
    {
      "index": 3,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 428.341,
      "prefill": {
        "tokens": 256,
        "duration_ms": 427.293,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 6925.395,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 30039348344,
      "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": "c4464dcb5dee61d6e53d3dc759f6c1033d6580530d3b83fc6596760204507793",
      "error": null
    },
    {
      "index": 4,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 428.214,
      "prefill": {
        "tokens": 256,
        "duration_ms": 427.204,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 6922.293,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 30038561912,
      "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": "c4464dcb5dee61d6e53d3dc759f6c1033d6580530d3b83fc6596760204507793",
      "error": null
    },
    {
      "index": 5,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": 428.392,
      "prefill": {
        "tokens": 256,
        "duration_ms": 427.349,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 6919.863,
        "timing_source": "engine"
      },
      "peak_memory_bytes": 30040462480,
      "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": "c4464dcb5dee61d6e53d3dc759f6c1033d6580530d3b83fc6596760204507793",
      "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": "ed26731fe8d39dacac77703998aa4bb784317ae565cb21a58f83f75d7e458142"
      }
    ],
    "detail": "12/12; needs 11 and every mandatory check (needle-start, needle-end, continuation-128); the model has no BF16 reference."
  },
  "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/s2-qwen3.8-27b-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/s2-qwen3.8-27b-8-bit.jsonl",
      "sha256": "822b289bcb6fc6489ecce16b94c2345d5dfd364fec7029755170b4ca1ba05868"
    }
  ]
}
