{
  "schema_version": "0.3.0",
  "id": "s4-oneplus13-lfm2.5-350m-4-bit-litert-256",
  "methodology_version": "0.6",
  "provenance": {
    "kind": "measured",
    "session_id": "s4-oneplus13-lfm2.5-350m-4-bit",
    "fixture_notice": null,
    "operator": {
      "name": "Glenn Sonna",
      "organization": "Xybrid",
      "affiliation": "xybrid"
    },
    "run_at": "2026-11-12T14:34:03Z",
    "harness": {
      "name": "xybrid-bench",
      "version": "0.4.0",
      "commit": "9debd9525d34af7f4ef03e3c43e265a0a7bfb1fa"
    }
  },
  "publication": {
    "status": "published",
    "published_at": "2026-11-16T10:23:29Z",
    "reviewed_by": [
      "Glenn Sonna"
    ],
    "changelog": []
  },
  "device": {
    "id": "glenn-oneplus-13",
    "os": {
      "name": "Android",
      "version": "16",
      "build": "BP2A.250605.015",
      "kernel": "6.6.89-android15-8-g5a0ffb447c1d-ab13771415-4k"
    },
    "power": {
      "source": "usb",
      "low_power_mode": false,
      "performance_mode": "awake"
    }
  },
  "engine": {
    "id": "litert-lm",
    "version": "0.19.0",
    "build": {
      "source": "release",
      "flags": [],
      "dependencies": {
        "android.shared_libraries_sha256": "6786179afea04165da3502112a0290bc4da3f76ef88ab54027a07a8eefabb138",
        "host_tokenizer.litert-lm-api": "0.19.1",
        "host_tokenizer.python": "3.12.12",
        "host_tokenizer.python_sha256": "3874a935f7242b660e652d35c25a1b87415fcfea3ee191ff262fcca5c50102c5",
        "host_tokenizer.script_sha256": "7fcbf313e89ec0c61728baf446711bb7353b1c6066d367c623d8c9748e590491"
      },
      "commit": null,
      "binary_sha256": "8e199c6b3fb438cb94943567a279f9e1f994d57c3e1f4667084fc8ae2d06a6eb"
    },
    "backend": "cpu",
    "threads": null,
    "runtime_flags": {
      "backend": "cpu",
      "process": "one per generation",
      "chat_template": "none (session API)",
      "sampler": "top_k=1 temperature=0",
      "launch.max_num_tokens": 4096,
      "launch.num_cpu_threads": "engine default",
      "launch.cache_dir": "/data/local/tmp/xybrid/litert-cache",
      "launch.benchmark": true,
      "launch.benchmark_prefill_tokens": 0,
      "launch.benchmark_decode_tokens": 0,
      "launch.async": false
    },
    "interface": "cli"
  },
  "model": {
    "id": "lfm2.5-350m",
    "artifact": {
      "repo": "litert-community/LFM2.5-350M",
      "revision": "4754bf697659039afee2962cfd9c8f40d547ab35",
      "files": [
        {
          "path": "LFM2.5-350M_int4.litertlm",
          "sha256": "c29a41cdf4148ec9f4b6e57f8e598728a05a189fdc7ca0764b013b78f9dfd52f",
          "size_bytes": 247808000
        },
        {
          "path": "README.md",
          "sha256": "4aa8f3ef769b89ecf207b1506da4a8c617cd7aafbcf9520a96ae2e10f1a6bc56",
          "size_bytes": 14806
        }
      ],
      "format": "litertlm",
      "quantization": {
        "scheme": "litert-int4",
        "class": "4-bit",
        "weight_bits": 4,
        "group_size": null,
        "kv_cache": "litert-lm default"
      },
      "conversion": {
        "method": "upstream",
        "tool": null,
        "tool_version": null,
        "command": null,
        "publisher": "litert-community"
      }
    }
  },
  "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": 60
  },
  "conditions": {
    "ambient_c": null,
    "thermal": {
      "start": {
        "celsius": 32.89,
        "state": "nominal"
      },
      "end": {
        "celsius": 32.66,
        "state": "nominal"
      },
      "gate": "Android thermal status none (0)",
      "throttling_detected": false
    }
  },
  "trials": [
    {
      "index": 0,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": null,
      "prefill": {
        "tokens": 256,
        "duration_ms": 579.594,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 1376.229,
        "timing_source": "engine"
      },
      "peak_memory_bytes": null,
      "memory_method": null,
      "thermal": {
        "start": {
          "celsius": 37.24,
          "state": "nominal"
        },
        "end": {
          "celsius": 37.65,
          "state": "nominal"
        }
      },
      "output_sha256": "37537c7ba35255a7474f5db831dc56144f875462a59b8311626542d6a297fb80",
      "error": null
    },
    {
      "index": 1,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": null,
      "prefill": {
        "tokens": 256,
        "duration_ms": 582.168,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 1378.951,
        "timing_source": "engine"
      },
      "peak_memory_bytes": null,
      "memory_method": null,
      "thermal": {
        "start": {
          "celsius": 33.87,
          "state": "nominal"
        },
        "end": {
          "celsius": 34.65,
          "state": "nominal"
        }
      },
      "output_sha256": "37537c7ba35255a7474f5db831dc56144f875462a59b8311626542d6a297fb80",
      "error": null
    },
    {
      "index": 2,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": null,
      "prefill": {
        "tokens": 256,
        "duration_ms": 573.718,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 1378.349,
        "timing_source": "engine"
      },
      "peak_memory_bytes": null,
      "memory_method": null,
      "thermal": {
        "start": {
          "celsius": 32.55,
          "state": "nominal"
        },
        "end": {
          "celsius": 33.36,
          "state": "nominal"
        }
      },
      "output_sha256": "37537c7ba35255a7474f5db831dc56144f875462a59b8311626542d6a297fb80",
      "error": null
    },
    {
      "index": 3,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": null,
      "prefill": {
        "tokens": 256,
        "duration_ms": 575.31,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 1380.517,
        "timing_source": "engine"
      },
      "peak_memory_bytes": null,
      "memory_method": null,
      "thermal": {
        "start": {
          "celsius": 32.41,
          "state": "nominal"
        },
        "end": {
          "celsius": 33.2,
          "state": "nominal"
        }
      },
      "output_sha256": "37537c7ba35255a7474f5db831dc56144f875462a59b8311626542d6a297fb80",
      "error": null
    },
    {
      "index": 4,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": null,
      "prefill": {
        "tokens": 256,
        "duration_ms": 588.145,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 1370.606,
        "timing_source": "engine"
      },
      "peak_memory_bytes": null,
      "memory_method": null,
      "thermal": {
        "start": {
          "celsius": 31.83,
          "state": "nominal"
        },
        "end": {
          "celsius": 32.63,
          "state": "nominal"
        }
      },
      "output_sha256": "37537c7ba35255a7474f5db831dc56144f875462a59b8311626542d6a297fb80",
      "error": null
    },
    {
      "index": 5,
      "valid": true,
      "invalid_reason": null,
      "ttft_ms": null,
      "prefill": {
        "tokens": 256,
        "duration_ms": 579.394,
        "timing_source": "engine"
      },
      "decode": {
        "tokens": 127,
        "duration_ms": 1377.201,
        "timing_source": "engine"
      },
      "peak_memory_bytes": null,
      "memory_method": null,
      "thermal": {
        "start": {
          "celsius": 31.8,
          "state": "nominal"
        },
        "end": {
          "celsius": 32.62,
          "state": "nominal"
        }
      },
      "output_sha256": "37537c7ba35255a7474f5db831dc56144f875462a59b8311626542d6a297fb80",
      "error": null
    }
  ],
  "quality": {
    "method": "sanity-v1-bf16-reference",
    "status": "failed",
    "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": false,
        "output_sha256": "6a00dfc1dc867e8454c2c8856e1512d9bf02a76710e3411c0972aec886c76c61"
      },
      {
        "id": "color",
        "passed": true,
        "output_sha256": "d486dfbd5fb578340bccbdd0a662527eab38550648d5f44517e5ac71b8824703"
      },
      {
        "id": "sort",
        "passed": false,
        "output_sha256": "0ca7eabde70df147ffea0ec2627afd6c362a0bfc80b48981b8880485cca2360e"
      },
      {
        "id": "animal",
        "passed": false,
        "output_sha256": "d4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da3a666eec13ab35"
      },
      {
        "id": "word",
        "passed": false,
        "output_sha256": "f61e68691bdd0f5ebd3252de0396569d624bd2fba240d66fae90edb456a9f48f"
      },
      {
        "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": "7847505d933db2323908d71428d5f0a65999bbad0a763b4574e8cf5a8a469b7a"
      }
    ],
    "detail": "6/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/s4-oneplus13-lfm2.5-350m-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/s4-oneplus13-lfm2.5-350m-4-bit.jsonl",
      "sha256": "f609429a0330a393554e063a7c6a3b4c4a6d487ffe7ca5e815ca4b9b13df404a"
    }
  ]
}
