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
11 KiB
JSON
480 lines
11 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": "selected-compiled",
|
|
"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": [
|
|
13.08425
|
|
],
|
|
"p50_ms": 13.08425,
|
|
"p95_ms": 13.08425,
|
|
"mean_ms": 13.08425
|
|
},
|
|
"forward": {
|
|
"samples_ms": [
|
|
9.110375,
|
|
7.866125,
|
|
8.482417,
|
|
8.282291,
|
|
8.043667,
|
|
7.632334,
|
|
8.340625,
|
|
7.822792,
|
|
8.748166,
|
|
7.708458,
|
|
9.144708,
|
|
7.354125,
|
|
9.139834,
|
|
7.331208,
|
|
8.063708,
|
|
8.18625
|
|
],
|
|
"p50_ms": 8.124979,
|
|
"p95_ms": 9.1410525,
|
|
"mean_ms": 8.2035676875
|
|
},
|
|
"end_to_end": {
|
|
"samples_ms": [
|
|
9.321625,
|
|
8.818542,
|
|
7.498958,
|
|
8.229834,
|
|
7.599667,
|
|
8.133333,
|
|
9.125958,
|
|
8.155125,
|
|
8.790667,
|
|
9.082,
|
|
7.794958,
|
|
9.121541,
|
|
7.589375,
|
|
8.873958,
|
|
7.382958,
|
|
7.685334
|
|
],
|
|
"p50_ms": 8.192479500000001,
|
|
"p95_ms": 9.17487475,
|
|
"mean_ms": 8.325239562499998
|
|
},
|
|
"prepare_mean_ms": 0.06159303333333333,
|
|
"memory": {
|
|
"active_bytes": 643936347,
|
|
"peak_bytes": 707885865,
|
|
"cache_bytes": 63949900
|
|
},
|
|
"parity": {
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 1,
|
|
"questions": 1
|
|
}
|
|
},
|
|
{
|
|
"case": "short16",
|
|
"batch": 16,
|
|
"length": 79,
|
|
"unique_inputs": 16,
|
|
"useful_tokens": 1233,
|
|
"input_sha256": "41aa94860dac85439a952f594a43de7773b2bb070a2ec5619d64c5b5c5e987db",
|
|
"cold_forward": {
|
|
"samples_ms": [
|
|
43.033375
|
|
],
|
|
"p50_ms": 43.033375,
|
|
"p95_ms": 43.033375,
|
|
"mean_ms": 43.033375
|
|
},
|
|
"forward": {
|
|
"samples_ms": [
|
|
46.128125,
|
|
44.761583,
|
|
46.168333,
|
|
45.309917,
|
|
45.080791,
|
|
45.731916,
|
|
45.407209,
|
|
44.352792,
|
|
45.232375,
|
|
44.436417,
|
|
43.593416,
|
|
42.559666,
|
|
42.123541,
|
|
41.836125,
|
|
42.454417,
|
|
41.624666
|
|
],
|
|
"p50_ms": 44.599000000000004,
|
|
"p95_ms": 46.138177,
|
|
"mean_ms": 44.1750805625
|
|
},
|
|
"end_to_end": {
|
|
"samples_ms": [
|
|
44.38325,
|
|
44.269,
|
|
44.106458,
|
|
45.593334,
|
|
46.5,
|
|
46.247042,
|
|
48.167459,
|
|
49.149166,
|
|
49.451333,
|
|
49.728584,
|
|
49.005375,
|
|
47.687458,
|
|
47.186083,
|
|
46.803333,
|
|
49.722958,
|
|
52.233542
|
|
],
|
|
"p50_ms": 47.4367705,
|
|
"p95_ms": 50.354823499999995,
|
|
"mean_ms": 47.5146484375
|
|
},
|
|
"prepare_mean_ms": 0.9612180666666666,
|
|
"memory": {
|
|
"active_bytes": 643936383,
|
|
"peak_bytes": 1303249020,
|
|
"cache_bytes": 659313047
|
|
},
|
|
"parity": {
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 16,
|
|
"questions": 16
|
|
}
|
|
},
|
|
{
|
|
"case": "long1",
|
|
"batch": 1,
|
|
"length": 1024,
|
|
"unique_inputs": 1,
|
|
"useful_tokens": 1024,
|
|
"input_sha256": "29420eed97a97e8d45366bfe8f5308a59abd8744e817964f4dd6465356e8e2ac",
|
|
"cold_forward": {
|
|
"samples_ms": [
|
|
71.611083
|
|
],
|
|
"p50_ms": 71.611083,
|
|
"p95_ms": 71.611083,
|
|
"mean_ms": 71.611083
|
|
},
|
|
"forward": {
|
|
"samples_ms": [
|
|
46.417916,
|
|
48.1435,
|
|
48.648042,
|
|
48.290542,
|
|
45.405833,
|
|
43.650667,
|
|
42.117917,
|
|
41.824833,
|
|
41.401084,
|
|
41.005042,
|
|
40.502542,
|
|
40.799292,
|
|
41.025167,
|
|
41.793584,
|
|
41.688625,
|
|
44.517667
|
|
],
|
|
"p50_ms": 41.971374999999995,
|
|
"p95_ms": 48.379917,
|
|
"mean_ms": 43.5770158125
|
|
},
|
|
"end_to_end": {
|
|
"samples_ms": [
|
|
50.058792,
|
|
50.324791,
|
|
51.17025,
|
|
52.848666,
|
|
50.261166,
|
|
49.124958,
|
|
48.102291,
|
|
47.090417,
|
|
49.956167,
|
|
49.718125,
|
|
49.33025,
|
|
49.953209,
|
|
48.98575,
|
|
48.976042,
|
|
49.301583,
|
|
49.9775
|
|
],
|
|
"p50_ms": 49.835667,
|
|
"p95_ms": 51.589854,
|
|
"mean_ms": 49.6987473125
|
|
},
|
|
"prepare_mean_ms": 1.455625,
|
|
"memory": {
|
|
"active_bytes": 643936419,
|
|
"peak_bytes": 1172411313,
|
|
"cache_bytes": 528475276
|
|
},
|
|
"parity": {
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 1,
|
|
"questions": 1
|
|
}
|
|
},
|
|
{
|
|
"case": "long8",
|
|
"batch": 8,
|
|
"length": 1024,
|
|
"unique_inputs": 8,
|
|
"useful_tokens": 8192,
|
|
"input_sha256": "7d891a2ab96b8d59c837278794d9d7928f92c360881d06277a6a4fded2dac657",
|
|
"cold_forward": {
|
|
"samples_ms": [
|
|
364.52825
|
|
],
|
|
"p50_ms": 364.52825,
|
|
"p95_ms": 364.52825,
|
|
"mean_ms": 364.52825
|
|
},
|
|
"forward": {
|
|
"samples_ms": [
|
|
437.229125,
|
|
406.381833,
|
|
377.988791,
|
|
349.59775,
|
|
382.72,
|
|
383.435625,
|
|
356.411583,
|
|
425.670458,
|
|
382.010833,
|
|
409.911083,
|
|
504.418292,
|
|
421.699833,
|
|
400.883417,
|
|
419.704792,
|
|
380.291959,
|
|
381.889333
|
|
],
|
|
"p50_ms": 392.15952100000004,
|
|
"p95_ms": 454.02641675,
|
|
"mean_ms": 401.2652941875
|
|
},
|
|
"end_to_end": {
|
|
"samples_ms": [
|
|
462.963333,
|
|
424.01,
|
|
447.981875,
|
|
420.275083,
|
|
407.603833,
|
|
542.971333,
|
|
441.424541,
|
|
435.588875,
|
|
530.978833,
|
|
492.250792,
|
|
465.975334,
|
|
432.867459,
|
|
528.636459,
|
|
453.755208,
|
|
451.17125,
|
|
444.634209
|
|
],
|
|
"p50_ms": 449.5765625,
|
|
"p95_ms": 533.976958,
|
|
"mean_ms": 461.4430260625
|
|
},
|
|
"prepare_mean_ms": 10.801547233333334,
|
|
"memory": {
|
|
"active_bytes": 643936455,
|
|
"peak_bytes": 1614930119,
|
|
"cache_bytes": 990214410
|
|
},
|
|
"parity": {
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 8,
|
|
"questions": 8
|
|
}
|
|
}
|
|
],
|
|
"experiment_sha256": "c560a030fa6b1aad1373801160eb1a6b0fd446d5ca1b9adce00b96d22011bab5",
|
|
"weight_bytes": 643817996,
|
|
"quality": [
|
|
{
|
|
"case": "email",
|
|
"finite": true,
|
|
"max_logit_error": 0.001953125,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 6.471736341927617e-06,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "en",
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "zh",
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "de",
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "fr",
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "es",
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "hi",
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "ja",
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "ru",
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "empty_state",
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "long",
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "conversation",
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "mask_literals",
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "many_questions",
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 20,
|
|
"questions": 20
|
|
},
|
|
{
|
|
"case": "structured",
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 3,
|
|
"questions": 3
|
|
},
|
|
{
|
|
"case": "twenty_options",
|
|
"finite": true,
|
|
"max_logit_error": 0.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"argmax_agree": 1,
|
|
"questions": 1
|
|
}
|
|
]
|
|
}
|