Typed decision/classification service with an in-process gte-small ONNX embedding engine and lexical fallback, JS/Python SDKs, adapters, and the otsone model family. Apache-2.0 (sub-packages keep their MIT licenses). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
480 lines
12 KiB
JSON
480 lines
12 KiB
JSON
{
|
|
"environment": {
|
|
"cpu": "Apple M3 Max",
|
|
"unified_memory_bytes": 137438953472,
|
|
"machine": "arm64",
|
|
"os": "macOS-27.2-arm64-64bit",
|
|
"python": "3.12.13",
|
|
"packages": {
|
|
"mlx": "0.32.2",
|
|
"mlx-metal": "0.32.2",
|
|
"numpy": "2.5.3",
|
|
"torch": "2.14.0",
|
|
"transformers": "5.17.0",
|
|
"tokenizers": "0.23.2",
|
|
"huggingface-hub": "1.32.0"
|
|
},
|
|
"source_sha256": "40f2a9307a9b5e42cb44012de658a6d751eca6f6d6dd436755e1b368e9219509",
|
|
"upstream_revision": "6a5819129eb220570792e417e49723d697efd76f"
|
|
},
|
|
"model": "laya-multilingual",
|
|
"variant": "q4",
|
|
"iterations": 16,
|
|
"warmup": 5,
|
|
"measurement": "synchronized per-call wall time; fixed frozen weights; no result cache or deduplication",
|
|
"results": [
|
|
{
|
|
"case": "short1",
|
|
"batch": 1,
|
|
"length": 76,
|
|
"unique_inputs": 1,
|
|
"useful_tokens": 76,
|
|
"input_sha256": "630e94a7d5e8e1c3848c389b8cc66567fec9d704ff5d6c98cfe0637c572f8074",
|
|
"cold_forward": {
|
|
"samples_ms": [
|
|
11.147625
|
|
],
|
|
"p50_ms": 11.147625,
|
|
"p95_ms": 11.147625,
|
|
"mean_ms": 11.147625
|
|
},
|
|
"forward": {
|
|
"samples_ms": [
|
|
6.021,
|
|
5.24,
|
|
5.188833,
|
|
5.521834,
|
|
5.630041,
|
|
5.099958,
|
|
5.503042,
|
|
5.363167,
|
|
5.094667,
|
|
5.510417,
|
|
5.3705,
|
|
5.176334,
|
|
5.61025,
|
|
5.358291,
|
|
5.03475,
|
|
5.801125
|
|
],
|
|
"p50_ms": 5.3668335,
|
|
"p95_ms": 5.856093749999999,
|
|
"mean_ms": 5.4077630625
|
|
},
|
|
"end_to_end": {
|
|
"samples_ms": [
|
|
5.852959,
|
|
5.349333,
|
|
5.286209,
|
|
5.793667,
|
|
5.59375,
|
|
5.343208,
|
|
5.644375,
|
|
5.570417,
|
|
5.229459,
|
|
5.629292,
|
|
5.512708,
|
|
5.202459,
|
|
5.518375,
|
|
5.648333,
|
|
5.363875,
|
|
5.735416
|
|
],
|
|
"p50_ms": 5.544396,
|
|
"p95_ms": 5.80849,
|
|
"mean_ms": 5.5171146875
|
|
},
|
|
"prepare_mean_ms": 0.05706806666666667,
|
|
"memory": {
|
|
"active_bytes": 487845975,
|
|
"peak_bytes": 594760369,
|
|
"cache_bytes": 106914776
|
|
},
|
|
"parity": {
|
|
"finite": true,
|
|
"max_logit_error": 0.919921875,
|
|
"max_action_logit_error": 152.0,
|
|
"max_probability_error": 0.023349319929869244,
|
|
"argmax_agree": 1,
|
|
"questions": 1
|
|
}
|
|
},
|
|
{
|
|
"case": "short16",
|
|
"batch": 16,
|
|
"length": 79,
|
|
"unique_inputs": 16,
|
|
"useful_tokens": 1233,
|
|
"input_sha256": "41aa94860dac85439a952f594a43de7773b2bb070a2ec5619d64c5b5c5e987db",
|
|
"cold_forward": {
|
|
"samples_ms": [
|
|
39.749041
|
|
],
|
|
"p50_ms": 39.749041,
|
|
"p95_ms": 39.749041,
|
|
"mean_ms": 39.749041
|
|
},
|
|
"forward": {
|
|
"samples_ms": [
|
|
45.893125,
|
|
45.262292,
|
|
44.997458,
|
|
44.825083,
|
|
44.246416,
|
|
43.387667,
|
|
44.769,
|
|
47.081584,
|
|
48.393834,
|
|
47.741167,
|
|
43.585,
|
|
40.842125,
|
|
39.745584,
|
|
38.481625,
|
|
37.889042,
|
|
38.832292
|
|
],
|
|
"p50_ms": 44.507708,
|
|
"p95_ms": 47.90433375,
|
|
"mean_ms": 43.49833087499999
|
|
},
|
|
"end_to_end": {
|
|
"samples_ms": [
|
|
40.369541,
|
|
40.72425,
|
|
41.119625,
|
|
39.91625,
|
|
40.83025,
|
|
40.594375,
|
|
41.5635,
|
|
40.299375,
|
|
42.321083,
|
|
41.149667,
|
|
46.288708,
|
|
46.849959,
|
|
44.808958,
|
|
43.665792,
|
|
45.346458,
|
|
43.985333
|
|
],
|
|
"p50_ms": 41.3565835,
|
|
"p95_ms": 46.42902075,
|
|
"mean_ms": 42.48957025
|
|
},
|
|
"prepare_mean_ms": 1.1182653,
|
|
"memory": {
|
|
"active_bytes": 487846007,
|
|
"peak_bytes": 1156495668,
|
|
"cache_bytes": 668650067
|
|
},
|
|
"parity": {
|
|
"finite": true,
|
|
"max_logit_error": 6.875,
|
|
"max_action_logit_error": 150.0,
|
|
"max_probability_error": 0.8008245755795127,
|
|
"argmax_agree": 11,
|
|
"questions": 16
|
|
}
|
|
},
|
|
{
|
|
"case": "long1",
|
|
"batch": 1,
|
|
"length": 1024,
|
|
"unique_inputs": 1,
|
|
"useful_tokens": 1024,
|
|
"input_sha256": "29420eed97a97e8d45366bfe8f5308a59abd8744e817964f4dd6465356e8e2ac",
|
|
"cold_forward": {
|
|
"samples_ms": [
|
|
44.406792
|
|
],
|
|
"p50_ms": 44.406792,
|
|
"p95_ms": 44.406792,
|
|
"mean_ms": 44.406792
|
|
},
|
|
"forward": {
|
|
"samples_ms": [
|
|
41.661584,
|
|
42.999416,
|
|
43.176875,
|
|
43.230208,
|
|
43.317834,
|
|
42.828125,
|
|
43.229584,
|
|
42.424334,
|
|
42.667167,
|
|
43.754708,
|
|
44.262584,
|
|
43.247542,
|
|
42.533541,
|
|
42.394208,
|
|
41.561834,
|
|
42.62925
|
|
],
|
|
"p50_ms": 42.9137705,
|
|
"p95_ms": 43.881676999999996,
|
|
"mean_ms": 42.869924624999996
|
|
},
|
|
"end_to_end": {
|
|
"samples_ms": [
|
|
41.626959,
|
|
41.626834,
|
|
42.424667,
|
|
41.615208,
|
|
43.034542,
|
|
41.94175,
|
|
42.707292,
|
|
42.037333,
|
|
42.320625,
|
|
41.906792,
|
|
42.888542,
|
|
42.425,
|
|
42.480125,
|
|
44.757583,
|
|
44.007125,
|
|
45.558458
|
|
],
|
|
"p50_ms": 42.4248335,
|
|
"p95_ms": 44.95780175,
|
|
"mean_ms": 42.7099271875
|
|
},
|
|
"prepare_mean_ms": 1.6535889,
|
|
"memory": {
|
|
"active_bytes": 487846039,
|
|
"peak_bytes": 1028410145,
|
|
"cache_bytes": 540564488
|
|
},
|
|
"parity": {
|
|
"finite": true,
|
|
"max_logit_error": 0.7030029296875,
|
|
"max_action_logit_error": 10.0,
|
|
"max_probability_error": 0.10935934241932593,
|
|
"argmax_agree": 1,
|
|
"questions": 1
|
|
}
|
|
},
|
|
{
|
|
"case": "long8",
|
|
"batch": 8,
|
|
"length": 1024,
|
|
"unique_inputs": 8,
|
|
"useful_tokens": 8192,
|
|
"input_sha256": "7d891a2ab96b8d59c837278794d9d7928f92c360881d06277a6a4fded2dac657",
|
|
"cold_forward": {
|
|
"samples_ms": [
|
|
334.25025
|
|
],
|
|
"p50_ms": 334.25025,
|
|
"p95_ms": 334.25025,
|
|
"mean_ms": 334.25025
|
|
},
|
|
"forward": {
|
|
"samples_ms": [
|
|
334.244333,
|
|
354.255125,
|
|
350.908458,
|
|
352.045792,
|
|
394.305834,
|
|
362.352125,
|
|
345.189625,
|
|
375.442459,
|
|
347.718125,
|
|
356.525666,
|
|
373.839292,
|
|
344.695958,
|
|
362.855916,
|
|
366.606292,
|
|
356.99975,
|
|
375.939625
|
|
],
|
|
"p50_ms": 356.762708,
|
|
"p95_ms": 380.53117725,
|
|
"mean_ms": 359.62027343750003
|
|
},
|
|
"end_to_end": {
|
|
"samples_ms": [
|
|
387.186958,
|
|
380.658458,
|
|
414.550584,
|
|
396.551916,
|
|
420.768666,
|
|
405.015375,
|
|
395.609667,
|
|
406.494667,
|
|
405.964625,
|
|
437.565125,
|
|
413.11425,
|
|
424.517458,
|
|
712.528958,
|
|
430.909083,
|
|
365.632917,
|
|
410.20025
|
|
],
|
|
"p50_ms": 408.3474585,
|
|
"p95_ms": 506.30608325000003,
|
|
"mean_ms": 425.4543098125
|
|
},
|
|
"prepare_mean_ms": 10.937933333333334,
|
|
"memory": {
|
|
"active_bytes": 487846071,
|
|
"peak_bytes": 1427382455,
|
|
"cache_bytes": 1035285862
|
|
},
|
|
"parity": {
|
|
"finite": true,
|
|
"max_logit_error": 1.46923828125,
|
|
"max_action_logit_error": 110.0,
|
|
"max_probability_error": 0.22455314836064638,
|
|
"argmax_agree": 6,
|
|
"questions": 8
|
|
}
|
|
}
|
|
],
|
|
"experiment_sha256": "c560a030fa6b1aad1373801160eb1a6b0fd446d5ca1b9adce00b96d22011bab5",
|
|
"weight_bytes": 485265932,
|
|
"quality": [
|
|
{
|
|
"case": "email",
|
|
"finite": true,
|
|
"max_logit_error": 1.9921875,
|
|
"max_action_logit_error": 126.0,
|
|
"max_probability_error": 0.07586889391583529,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "en",
|
|
"finite": true,
|
|
"max_logit_error": 2.125,
|
|
"max_action_logit_error": 113.0,
|
|
"max_probability_error": 0.037449180724566176,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "zh",
|
|
"finite": true,
|
|
"max_logit_error": 5.4140625,
|
|
"max_action_logit_error": 70.0,
|
|
"max_probability_error": 0.019235163538170785,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "de",
|
|
"finite": true,
|
|
"max_logit_error": 1.19140625,
|
|
"max_action_logit_error": 69.0,
|
|
"max_probability_error": 0.028464971709310727,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "fr",
|
|
"finite": true,
|
|
"max_logit_error": 2.8212890625,
|
|
"max_action_logit_error": 204.0,
|
|
"max_probability_error": 0.10177827849904902,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "es",
|
|
"finite": true,
|
|
"max_logit_error": 1.2578125,
|
|
"max_action_logit_error": 67.0,
|
|
"max_probability_error": 0.02073667352880537,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "hi",
|
|
"finite": true,
|
|
"max_logit_error": 3.0625,
|
|
"max_action_logit_error": 150.0,
|
|
"max_probability_error": 0.021311494133635867,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "ja",
|
|
"finite": true,
|
|
"max_logit_error": 3.22265625,
|
|
"max_action_logit_error": 78.0,
|
|
"max_probability_error": 0.01031109828910265,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "ru",
|
|
"finite": true,
|
|
"max_logit_error": 2.16796875,
|
|
"max_action_logit_error": 220.0,
|
|
"max_probability_error": 0.12681378450666647,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "empty_state",
|
|
"finite": true,
|
|
"max_logit_error": 0.84375,
|
|
"max_action_logit_error": 102.0,
|
|
"max_probability_error": 0.07174316149201301,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "long",
|
|
"finite": true,
|
|
"max_logit_error": 1.001953125,
|
|
"max_action_logit_error": 115.0,
|
|
"max_probability_error": 0.05856745883558945,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "conversation",
|
|
"finite": true,
|
|
"max_logit_error": 1.734375,
|
|
"max_action_logit_error": 148.0,
|
|
"max_probability_error": 0.11601880118052715,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "mask_literals",
|
|
"finite": true,
|
|
"max_logit_error": 0.48193359375,
|
|
"max_action_logit_error": 78.0,
|
|
"max_probability_error": 0.07305727680525625,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "many_questions",
|
|
"finite": true,
|
|
"max_logit_error": 2.0,
|
|
"max_action_logit_error": 127.0,
|
|
"max_probability_error": 0.07560222070554945,
|
|
"argmax_agree": 20,
|
|
"questions": 20
|
|
},
|
|
{
|
|
"case": "structured",
|
|
"finite": true,
|
|
"max_logit_error": 0.650390625,
|
|
"max_action_logit_error": 178.0,
|
|
"max_probability_error": 0.08260307565793168,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "twenty_options",
|
|
"finite": true,
|
|
"max_logit_error": 5.21484375,
|
|
"max_action_logit_error": 423.0,
|
|
"max_probability_error": 0.0031887924031999137,
|
|
"argmax_agree": 1,
|
|
"questions": 1
|
|
}
|
|
]
|
|
}
|