{
  "artifacts": [
    {
      "file": "LFM2-2.6B_int4.litertlm",
      "sha256": "01c77fbd925f593014636573b024c162c6b910c4c1372cea010d54955e6942f8",
      "size_mb": 1458.722
    }
  ],
  "benchmarks": [],
  "conversion": {
    "command": "LiquidAI/LFM2-2.6B rev 36ed799f: unquantized export (11 prefill signatures, 1024 down to 1, plus decode, over a 4096-position KV cache) -> post-hoc int4 quantization -> int4 zero-scale fix (746,432 zero block scales set to their tensor's smallest nonzero scale, block payload zeroed; every scale normal on re-scan) -> metadata repack with LiteRT-LM's lfm2 configuration (card L110-L111)",
    "quantization": "int4 blockwise-32 + OCTAV on linears, int8 lm_head + embedding (card L28)",
    "tool": "litert-torch 0.9.4; repro = hf-to-litertlm lfm_work/convert_lfm2_26b.sh (card L110)",
    "tool_version": "litert-torch 0.9.4, litert-converter 0.4.0, ai-edge-quantizer 0.9.0, transformers 5.14.1, torch 2.13.0; packed by the litert-lm 0.18.0 CLI"
  },
  "cross_runtime": [],
  "delegation": null,
  "device": {
    "records": [
      {
        "device": "galaxy-s26",
        "run": {
          "accelerator": "cpu",
          "context_length": null,
          "date": "2026-10-12",
          "decode_tokens_per_s": 22.85,
          "delegated_ops": 1394,
          "env": {
            "device": "Galaxy S26 (SM-S942Q)",
            "machine_label": "galaxy-s26-aab1",
            "os_build": "Android 16 (BP4A.251205.006)",
            "runtime": "litert-lm",
            "runtime_version": "prebuilt-adac974b",
            "soc": "Qualcomm SM8850",
            "vendor_sdk": null
          },
          "error": null,
          "evidence": [
            "binary: Google's prebuilt litert_lm_advanced_main + 6 .so (gs://litert/binaries/latest/android_arm64/litert_lm/, object dated 2026-09-18, 40,382,152 B, sha256 adac974b…)",
            "r1 hold 2026-10-12 19:25:49-19:42:28 JST: [19:30:41] bundle on device: 01c77fbd925f593014636573b024c162c6b910c4c1372cea010d54955e6942f8 (1529581168 B, push 41.9 s) = Mac",
            "bench args: --backend=cpu --model_path=/data/local/tmp/aa3_26b/LFM2-2.6B_int4.litertlm --benchmark=true --benchmark_prefill_tokens=1024 --benchmark_decode_tokens=256 --max_num_tokens=2048 --num_iterations=3 --report_peak_memory_footprint=true --metric_proto_file_path=/data/local/tmp/aa3_26b/metrics.pb",
            "VERBOSE: Replacing 869 out of 978 node(s) with delegate (TfLiteXNNPackDelegate) node, yielding 152 partitions for subgraph 0 (prefill_1024).",
            "VERBOSE: Replacing 795 out of 895 node(s) with delegate (TfLiteXNNPackDelegate) node, yielding 156 partitions for subgraph 11 (decode).",
            "VERBOSE: Replacing 1394 out of 1428 node(s) with delegate (TfLiteXNNPackDelegate) node, yielding 18 partitions for subgraph 0 (prefill_1024).",
            "VERBOSE: Replacing 1273 out of 1296 node(s) with delegate (TfLiteXNNPackDelegate) node, yielding 18 partitions for subgraph 11 (decode).",
            "[19:33:39] parsed: s26_i4_cpu_timing cpu: gate PASS 1/1 | bench prefill 83.015 decode 22.85 init 4705.89 cold 5762.18 peak 3108.71 capped 34/35 | answers: 'The capital of France is Paris.'",
            "timing run prompt process: \"The capital of France is Paris.\"",
            "check run (hold 2026-10-12 19:25:49-19:42:28 JST): 2 of 2 prompt processes answered with the expected word (\"The capital of France is Paris.\")"
          ],
          "failure_class": null,
          "full_delegation": false,
          "latency_p50_ms": null,
          "loads": true,
          "max_abs_diff": null,
          "max_rel_diff": null,
          "metrics": {
            "boot_epoch_s": 1791590918.31,
            "capped_samples": 34.0,
            "cold_init_ms": 5762.18,
            "cpu_capped_samples": 34.0,
            "decode_tok_s_it1": 21.78,
            "decode_tok_s_it2": 22.98,
            "decode_tok_s_it3": 22.72,
            "decode_tokens": 256.0,
            "init_ms": 4705.89,
            "iterations": 3.0,
            "kgsl_ceiling_min_mhz": 461.0,
            "kgsl_temp_max_c": 63.2,
            "max_num_tokens": 2048.0,
            "memavail_at_bench_start_kib": 7069156.0,
            "memavail_min_kib": 5544496.0,
            "prefill_tok_s_it1": 115.89,
            "prefill_tok_s_it2": 82.64,
            "prefill_tok_s_it3": 83.39,
            "prefill_tokens": 1024.0,
            "sampler_samples": 35.0,
            "skin_c_at_bench_start": 37.9,
            "t_1024_256_s": 23.5386,
            "thermal_status_at_bench_start": 0.0,
            "ttft_s_it1": 8.88,
            "ttft_s_it2": 12.43,
            "ttft_s_it3": 12.32
          },
          "output_match": null,
          "peak_mem_mb": 3108.71,
          "prefill_tokens_per_s": 83.015,
          "provenance": "measured",
          "runs": true,
          "total_ops": 1428,
          "ttft_ms": 12375.0
        },
        "source": "data/device_runs/prebuilt-adac974b/2026-10-12/lfm2-2.6b-int4__galaxy-s26.json"
      },
      {
        "device": "galaxy-s26",
        "run": {
          "accelerator": "gpu",
          "context_length": null,
          "date": "2026-10-12",
          "decode_tokens_per_s": 27.84,
          "delegated_ops": 978,
          "env": {
            "device": "Galaxy S26 (SM-S942Q)",
            "machine_label": "galaxy-s26-aab1",
            "os_build": "Android 16 (BP4A.251205.006)",
            "runtime": "litert-lm",
            "runtime_version": "prebuilt-adac974b",
            "soc": "Qualcomm SM8850",
            "vendor_sdk": null
          },
          "error": null,
          "evidence": [
            "binary: Google's prebuilt litert_lm_advanced_main + 6 .so (gs://litert/binaries/latest/android_arm64/litert_lm/, object dated 2026-09-18, 40,382,152 B, sha256 adac974b…)",
            "r1 hold 2026-10-12 19:25:49-19:42:28 JST: [19:39:03] bundle on device: 01c77fbd925f593014636573b024c162c6b910c4c1372cea010d54955e6942f8 (1529581168 B, push 0 s) = Mac",
            "bench args: --backend=gpu --model_path=/data/local/tmp/aa3_26b/LFM2-2.6B_int4.litertlm --benchmark=true --benchmark_prefill_tokens=1024 --benchmark_decode_tokens=256 --max_num_tokens=2048 --num_iterations=3 --report_peak_memory_footprint=true --metric_proto_file_path=/data/local/tmp/aa3_26b/metrics.pb",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 0 (prefill_1024).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 1 (prefill_512).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 2 (prefill_256).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 3 (prefill_128).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 4 (prefill_64).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 5 (prefill_32).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 6 (prefill_16).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 7 (prefill_8).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 8 (prefill_4).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 9 (prefill_2).",
            "VERBOSE: Replacing 877 out of 877 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 10 (prefill_1).",
            "VERBOSE: Replacing 895 out of 895 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 11 (decode).",
            "[19:41:24] parsed: s26_i4_gpu_timing gpu: gate PASS 1/1 | bench prefill 682.275 decode 27.84 init 6446.03 cold 9986.99 peak 1030.3 capped 16/19 | answers: 'The capital of France is Paris.'",
            "timing run prompt process: \"The capital of France is Paris.\"",
            "check run (hold 2026-10-12 19:25:49-19:42:28 JST): 2 of 2 prompt processes answered with the expected word (\"The capital of France is Paris.\")"
          ],
          "failure_class": null,
          "full_delegation": true,
          "latency_p50_ms": null,
          "loads": true,
          "max_abs_diff": null,
          "max_rel_diff": null,
          "metrics": {
            "boot_epoch_s": 1791590918.79,
            "capped_samples": 16.0,
            "cold_init_ms": 9986.99,
            "cpu_capped_samples": 17.0,
            "decode_tok_s_it1": 27.54,
            "decode_tok_s_it2": 28.14,
            "decode_tok_s_it3": 27.54,
            "decode_tokens": 256.0,
            "init_ms": 6446.03,
            "iterations": 3.0,
            "kgsl_ceiling_min_mhz": 826.0,
            "kgsl_temp_max_c": 76.4,
            "max_num_tokens": 2048.0,
            "memavail_at_bench_start_kib": 7796640.0,
            "memavail_min_kib": 4581108.0,
            "prefill_tok_s_it1": 765.42,
            "prefill_tok_s_it2": 715.41,
            "prefill_tok_s_it3": 649.14,
            "prefill_tokens": 1024.0,
            "sampler_samples": 19.0,
            "skin_c_at_bench_start": 42.0,
            "t_1024_256_s": 10.6963,
            "thermal_status_at_bench_start": 2.0,
            "ttft_s_it1": 1.37,
            "ttft_s_it2": 1.47,
            "ttft_s_it3": 1.61
          },
          "output_match": null,
          "peak_mem_mb": 1030.3,
          "prefill_tokens_per_s": 682.275,
          "provenance": "measured",
          "runs": true,
          "total_ops": 978,
          "ttft_ms": 1540.0
        },
        "source": "data/device_runs/prebuilt-adac974b/2026-10-12/lfm2-2.6b-int4__galaxy-s26.json"
      },
      {
        "device": "mac-studio-m4-max",
        "run": {
          "accelerator": "cpu",
          "context_length": null,
          "date": "2026-10-12",
          "decode_tokens_per_s": 49.07,
          "delegated_ops": null,
          "env": {
            "device": "Mac Studio (M4 Max)",
            "machine_label": "mac-studio-m4-max",
            "os_build": "macOS 27.0",
            "runtime": "litert-lm",
            "runtime_version": "0.18.0",
            "soc": "Apple M4 Max",
            "vendor_sdk": null
          },
          "error": null,
          "evidence": [
            "Prefill 185.0 / decode 49.07 tok/s, TTFT 5.5556 s, init 8.2622 s",
            "settle_run: quiet after 0 s; run: litert-lm benchmark LFM2-2.6B_int4.litertlm --backend cpu -p 1024 -d 256 --max-num-tokens 2048 --runs 3 --cache no",
            "2026-10-12 19:01:58 JST cpu int4 exit 0"
          ],
          "failure_class": null,
          "full_delegation": null,
          "latency_p50_ms": null,
          "loads": true,
          "max_abs_diff": null,
          "max_rel_diff": null,
          "metrics": {
            "decode_tokens": 256.0,
            "init_s": 8.2622,
            "iterations": 3.0,
            "max_num_tokens": 2048.0,
            "prefill_tokens": 1024.0,
            "processes": 1.0,
            "t_1024_256_s": 10.7522
          },
          "output_match": null,
          "peak_mem_mb": null,
          "prefill_tokens_per_s": 185.0,
          "provenance": "measured",
          "runs": true,
          "total_ops": null,
          "ttft_ms": 5555.6
        },
        "source": "data/device_runs/0.18.0/2026-10-12/lfm2-2.6b-int4__mac-studio-m4-max.json"
      },
      {
        "device": "mac-studio-m4-max",
        "run": {
          "accelerator": "gpu",
          "context_length": null,
          "date": "2026-10-12",
          "decode_tokens_per_s": 163.77,
          "delegated_ops": null,
          "env": {
            "device": "Mac Studio (M4 Max)",
            "machine_label": "mac-studio-m4-max",
            "os_build": "macOS 27.0",
            "runtime": "litert-lm",
            "runtime_version": "0.18.0",
            "soc": "Apple M4 Max",
            "vendor_sdk": null
          },
          "error": null,
          "evidence": [
            "Prefill 2452.56 / decode 163.77 tok/s, TTFT 0.4236 s, init 3.1914 s",
            "settle_run: quiet after 0 s; run: litert-lm benchmark LFM2-2.6B_int4.litertlm --backend gpu -p 1024 -d 256 --max-num-tokens 2048 --runs 3 --cache no",
            "2026-10-12 19:10:54 JST gpu int4 verbose exit 0 validation_error=0 shape_mismatch=0 replacing=24",
            "2026-10-12 19:10:08 JST gpu int4 exit 0"
          ],
          "failure_class": null,
          "full_delegation": null,
          "latency_p50_ms": null,
          "loads": true,
          "max_abs_diff": null,
          "max_rel_diff": null,
          "metrics": {
            "decode_tokens": 256.0,
            "init_s": 3.1914,
            "iterations": 3.0,
            "max_num_tokens": 2048.0,
            "prefill_tokens": 1024.0,
            "processes": 1.0,
            "t_1024_256_s": 1.9807
          },
          "output_match": null,
          "peak_mem_mb": null,
          "prefill_tokens_per_s": 2452.56,
          "provenance": "measured",
          "runs": true,
          "total_ops": null,
          "ttft_ms": 423.6
        },
        "source": "data/device_runs/0.18.0/2026-10-12/lfm2-2.6b-int4__mac-studio-m4-max.json"
      },
      {
        "device": "pixel-8a",
        "run": {
          "accelerator": "cpu",
          "context_length": null,
          "date": "2026-10-12",
          "decode_tokens_per_s": 7.375,
          "delegated_ops": 1394,
          "env": {
            "device": "Pixel 8a",
            "machine_label": "pixel-8a-aab1",
            "os_build": "Android 16 (CP1A.260505.005)",
            "runtime": "litert-lm",
            "runtime_version": "prebuilt-adac974b",
            "soc": "Tensor G3",
            "vendor_sdk": null
          },
          "error": null,
          "evidence": [
            "binary: Google's prebuilt litert_lm_advanced_main + 6 .so (gs://litert/binaries/latest/android_arm64/litert_lm/, object dated 2026-09-18, 40,382,152 B, sha256 adac974b…)",
            "r3 hold 2026-10-12 20:19:17-20:40:53 JST: [20:19:59] bundle on device: 01c77fbd925f593014636573b024c162c6b910c4c1372cea010d54955e6942f8 (1529581168 B, push 34.0 s) = Mac",
            "bench args: --backend=cpu --model_path=/data/local/tmp/aa3_26b/LFM2-2.6B_int4.litertlm --benchmark=true --benchmark_prefill_tokens=1024 --benchmark_decode_tokens=256 --max_num_tokens=2048 --num_iterations=3 --report_peak_memory_footprint=true --metric_proto_file_path=/data/local/tmp/aa3_26b/metrics.pb",
            "VERBOSE: Replacing 869 out of 978 node(s) with delegate (TfLiteXNNPackDelegate) node, yielding 152 partitions for subgraph 0 (prefill_1024).",
            "VERBOSE: Replacing 795 out of 895 node(s) with delegate (TfLiteXNNPackDelegate) node, yielding 156 partitions for subgraph 11 (decode).",
            "VERBOSE: Replacing 1394 out of 1428 node(s) with delegate (TfLiteXNNPackDelegate) node, yielding 18 partitions for subgraph 0 (prefill_1024).",
            "VERBOSE: Replacing 1273 out of 1296 node(s) with delegate (TfLiteXNNPackDelegate) node, yielding 18 partitions for subgraph 11 (decode).",
            "[20:30:02] parsed: p8a_i4_cpu_timing cpu: gate PASS 1/1 | bench prefill 30.345 decode 7.375 init 10024.63 cold 13179.68 peak 2602.42 capped 63/66 | answers: 'The capital of France is Paris.'",
            "timing run prompt process: \"The capital of France is Paris.\""
          ],
          "failure_class": null,
          "full_delegation": false,
          "latency_p50_ms": null,
          "loads": true,
          "max_abs_diff": null,
          "max_rel_diff": null,
          "metrics": {
            "boot_epoch_s": 1791442100.49,
            "capped_samples": 63.0,
            "cold_init_ms": 13179.68,
            "cpu_capped_samples": 63.0,
            "decode_tok_s_it1": 10.63,
            "decode_tok_s_it2": 6.46,
            "decode_tok_s_it3": 8.29,
            "decode_tokens": 256.0,
            "init_ms": 10024.63,
            "iterations": 3.0,
            "max_num_tokens": 2048.0,
            "memavail_at_bench_start_kib": 4180292.0,
            "memavail_min_kib": 3119260.0,
            "prefill_tok_s_it1": 51.37,
            "prefill_tok_s_it2": 31.57,
            "prefill_tok_s_it3": 29.12,
            "prefill_tokens": 1024.0,
            "sampler_samples": 66.0,
            "t_1024_256_s": 68.4571,
            "thermal_status_at_bench_start": 1.0,
            "ttft_s_it1": 20.03,
            "ttft_s_it2": 32.59,
            "ttft_s_it3": 35.28
          },
          "output_match": null,
          "peak_mem_mb": 2602.42,
          "prefill_tokens_per_s": 30.345,
          "provenance": "measured",
          "runs": true,
          "total_ops": 1428,
          "ttft_ms": 33935.0
        },
        "source": "data/device_runs/prebuilt-adac974b/2026-10-12/lfm2-2.6b-int4__pixel-8a.json"
      },
      {
        "device": "pixel-8a",
        "run": {
          "accelerator": "gpu",
          "context_length": null,
          "date": "2026-10-12",
          "decode_tokens_per_s": 15.845,
          "delegated_ops": 978,
          "env": {
            "device": "Pixel 8a",
            "machine_label": "pixel-8a-aab1",
            "os_build": "Android 16 (CP1A.260505.005)",
            "runtime": "litert-lm",
            "runtime_version": "prebuilt-adac974b",
            "soc": "Tensor G3",
            "vendor_sdk": null
          },
          "error": null,
          "evidence": [
            "binary: Google's prebuilt litert_lm_advanced_main + 6 .so (gs://litert/binaries/latest/android_arm64/litert_lm/, object dated 2026-09-18, 40,382,152 B, sha256 adac974b…)",
            "r2 hold 2026-10-12 19:52:58-20:19:18 JST: [19:53:40] bundle on device: 01c77fbd925f593014636573b024c162c6b910c4c1372cea010d54955e6942f8 (1529581168 B, push 33.5 s) = Mac",
            "bench args: --backend=gpu --model_path=/data/local/tmp/aa3_26b/LFM2-2.6B_int4.litertlm --benchmark=true --benchmark_prefill_tokens=1024 --benchmark_decode_tokens=256 --max_num_tokens=2048 --num_iterations=3 --report_peak_memory_footprint=true --metric_proto_file_path=/data/local/tmp/aa3_26b/metrics.pb",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 0 (prefill_1024).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 1 (prefill_512).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 2 (prefill_256).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 3 (prefill_128).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 4 (prefill_64).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 5 (prefill_32).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 6 (prefill_16).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 7 (prefill_8).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 8 (prefill_4).",
            "VERBOSE: Replacing 978 out of 978 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 9 (prefill_2).",
            "VERBOSE: Replacing 877 out of 877 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 10 (prefill_1).",
            "VERBOSE: Replacing 895 out of 895 node(s) with delegate (LITERT_CL) node, yielding 1 partitions for subgraph 11 (decode).",
            "[20:00:02] parsed: p8a_i4_gpu_timing gpu: gate PASS 1/1 | bench prefill 171.85 decode 15.844999999999999 init 12966.53 cold 24526.62 peak 1510.71 capped 0/31 | answers: 'The capital of France is Paris.'",
            "timing run prompt process: \"The capital of France is Paris.\"",
            "check run (hold 2026-10-12 19:52:58-20:19:18 JST): 1 of 1 prompt processes answered with the expected word (\"The capital of France is Paris.\")"
          ],
          "failure_class": null,
          "full_delegation": true,
          "latency_p50_ms": null,
          "loads": true,
          "max_abs_diff": null,
          "max_rel_diff": null,
          "metrics": {
            "boot_epoch_s": 1791442100.09,
            "capped_samples": 0.0,
            "cold_init_ms": 24526.62,
            "cpu_capped_samples": 29.0,
            "decode_tok_s_it1": 15.57,
            "decode_tok_s_it2": 15.93,
            "decode_tok_s_it3": 15.76,
            "decode_tokens": 256.0,
            "init_ms": 12966.53,
            "iterations": 3.0,
            "max_num_tokens": 2048.0,
            "memavail_at_bench_start_kib": 3851892.0,
            "memavail_min_kib": 1044628.0,
            "prefill_tok_s_it1": 172.52,
            "prefill_tok_s_it2": 172.95,
            "prefill_tok_s_it3": 170.75,
            "prefill_tokens": 1024.0,
            "sampler_samples": 31.0,
            "t_1024_256_s": 22.1152,
            "thermal_status_at_bench_start": 1.0,
            "ttft_s_it1": 6.0,
            "ttft_s_it2": 5.98,
            "ttft_s_it3": 6.06
          },
          "output_match": null,
          "peak_mem_mb": 1510.71,
          "prefill_tokens_per_s": 171.85,
          "provenance": "measured",
          "runs": true,
          "total_ops": 978,
          "ttft_ms": 6020.0
        },
        "source": "data/device_runs/prebuilt-adac974b/2026-10-12/lfm2-2.6b-int4__pixel-8a.json"
      }
    ]
  },
  "model": {
    "family": "lfm2",
    "id": "lfm2-2.6b-int4",
    "license": "other (lfm1.0)",
    "source_url": "https://huggingface.co/litert-community/LFM2-2.6B",
    "task": "text-generation"
  },
  "pitfalls": [
    "Runtime: tested on litert-lm 0.18.0 on a Mac; this file was not tried on litert-lm 0.17.1, where the int8 file of the same conversion answered as if no question had been asked (card L21).",
    "Block scales: the plain int4 quantization left 746,432 zero block scales; this file sets them to their tensor's smallest nonzero scale with the block payload zeroed, and every scale is normal on re-scan (card L111).",
    "Reasoning trace: a trace between <think> and </think> goes to the thought channel (the CLI prints it between [thought] and [/thought]); in the card's checks traces appeared for 1 of 120 IFEval-lite prompts per row and none for GSM8K questions, checks or phone prompts (card L71).",
    "Template: Liquid AI's chat template fails at render on litert-lm 0.18.0 (map has no method named get), so the bundle carries LiteRT-LM's lfm2 template (byte-identical to models/lfm2/chat_template.jinja at commit 86a7e6d0), which reads message content as a list of parts; stops <|im_end|> and <|endoftext|>, start token <|startoftext|> (card L71, L112).",
    "Tool calling is declared (model type lfm2): the file returned a parsed get_weather call (Python API, CPU, greedy) and used its result with automatic tool calling; with tools the template omits Liquid AI's tool-list and tool-response markers, wraps the tool result in [ … ] and quotes call arguments with double quotes (card L73).",
    "One Engine per conversation: the card advises a new Engine for each conversation (its probe on the int8 file, with two different system prompts, found the same factual answers on a shared Engine; LiteRT-LM issue #3165 reports recurrent state reused across conversations that share prompt tokens) (card L75).",
    "Conversation preface with tools and no messages: LiteRT-LM renders the chat template with an empty message list, and the template reads messages[0] without checking that the list is non-empty, so the render fails with 'Failed to apply template: undefined value' when the preface is prefilled at creation (prefillPrefaceOnInit, default false; creating the conversation fails) and in the preface render (renderPrefaceIntoString and its C++ and C API forms); the same with extra context (such as enable_thinking) and no messages, and in the preface render with an empty preface (run in the runtime on one Qwen3 template; the other templates rendered with minijinja 2.14 and jinja2); read in the source of LiteRT-LM 0.17.0, 0.18.1 and main, measured with the 0.18.1 PyPI package through its C API on these files' template text; the default path, where the first message is rendered with the preface, is not affected (the 0.18.1 Python API and CLI expose neither the flag nor the preface render); a system message or any initial message in the conversation config avoids it (card L116).",
    "Sampler: the bundle's default sampler is temperature 0.1, top-k 50, top-p 1.0; Liquid AI recommends temperature 0.3, min_p 0.15 and repetition_penalty 1.05, which the bundle does not carry; --top-k 1 gives greedy output (card L69).",
    "Cache: without --cache, `run` writes a compiled-weights cache next to the model (1.51 GB for this file on CPU); without --backend, `run` uses the CPU (card L67).",
    "Speed: this file is the faster one on every GPU (Mac 1.98 vs 2.45 s, Galaxy S26 10.70 vs 13.47 s, Pixel 8a 22.11 vs 25.07 s for a 1024-token prefill plus 256 decoded tokens) and the slower on every CPU; 43.8 % smaller than the int8 file; not measured on iOS, not run on the NPU (card L30-L39, L106).",
    "Phone conditions: on the Galaxy S26 the GPU clock ceiling fell from 1300 to 826 MHz inside this file's GPU benchmark and the CPU clock was lowered in 34 of 35 samples of its CPU run; on the Pixel 8a the CPU clock was lowered in 63 of 66 samples of the CPU run (card L97, L106).",
    "Accuracy (greedy, at most 2048 output tokens, litert-lm on the Mac GPU, comparable only within the card's table): GSM8K 87 of 100 (bf16 88), IFEval-lite 87 of 120 (bf16 85); 8-question check 8/8 on CPU and 7/8 on GPU, bf16 7/8 (card L43, L49-L57).",
    "License: the LFM Open License v1.0's section 5 conditions commercial use on an annual revenue below 10 million US dollars (card L120)."
  ],
  "schema_version": "1.2"
}
