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": "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": [
|
|
14.322834
|
|
],
|
|
"p50_ms": 14.322834,
|
|
"p95_ms": 14.322834,
|
|
"mean_ms": 14.322834
|
|
},
|
|
"forward": {
|
|
"samples_ms": [
|
|
7.105792,
|
|
6.558792,
|
|
6.603125,
|
|
6.726542,
|
|
6.61575,
|
|
6.622042,
|
|
6.729834,
|
|
6.513708,
|
|
6.545459,
|
|
6.702708,
|
|
6.444791,
|
|
6.472875,
|
|
6.561458,
|
|
6.635375,
|
|
6.669083,
|
|
6.476875
|
|
],
|
|
"p50_ms": 6.6094375,
|
|
"p95_ms": 6.8238235000000005,
|
|
"mean_ms": 6.6240130624999995
|
|
},
|
|
"end_to_end": {
|
|
"samples_ms": [
|
|
6.574208,
|
|
6.552208,
|
|
6.757667,
|
|
6.577,
|
|
6.708959,
|
|
6.7405,
|
|
6.677458,
|
|
6.792292,
|
|
7.144042,
|
|
7.373167,
|
|
6.911167,
|
|
6.506458,
|
|
6.786875,
|
|
6.552208,
|
|
7.02925,
|
|
6.768417
|
|
],
|
|
"p50_ms": 6.749083499999999,
|
|
"p95_ms": 7.20132325,
|
|
"mean_ms": 6.77824225
|
|
},
|
|
"prepare_mean_ms": 0.051105566666666664,
|
|
"memory": {
|
|
"active_bytes": 643936343,
|
|
"peak_bytes": 709759665,
|
|
"cache_bytes": 65823704
|
|
},
|
|
"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": [
|
|
37.273542
|
|
],
|
|
"p50_ms": 37.273542,
|
|
"p95_ms": 37.273542,
|
|
"mean_ms": 37.273542
|
|
},
|
|
"forward": {
|
|
"samples_ms": [
|
|
34.196583,
|
|
34.411334,
|
|
34.925833,
|
|
34.607792,
|
|
35.338208,
|
|
35.302959,
|
|
35.192833,
|
|
35.763334,
|
|
35.71625,
|
|
35.971708,
|
|
35.489667,
|
|
35.439542,
|
|
35.79075,
|
|
35.689,
|
|
36.029334,
|
|
36.208167
|
|
],
|
|
"p50_ms": 35.4646045,
|
|
"p95_ms": 36.07404225,
|
|
"mean_ms": 35.379580875
|
|
},
|
|
"end_to_end": {
|
|
"samples_ms": [
|
|
37.198666,
|
|
36.9995,
|
|
37.350625,
|
|
36.436208,
|
|
36.838834,
|
|
36.906875,
|
|
36.989959,
|
|
37.396917,
|
|
37.572833,
|
|
37.050334,
|
|
36.942292,
|
|
35.946292,
|
|
36.112792,
|
|
37.533,
|
|
37.565291,
|
|
37.654209
|
|
],
|
|
"p50_ms": 37.024917,
|
|
"p95_ms": 37.593177000000004,
|
|
"mean_ms": 37.0309141875
|
|
},
|
|
"prepare_mean_ms": 1.3271277666666668,
|
|
"memory": {
|
|
"active_bytes": 643936375,
|
|
"peak_bytes": 1312586036,
|
|
"cache_bytes": 668650067
|
|
},
|
|
"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": [
|
|
36.468
|
|
],
|
|
"p50_ms": 36.468,
|
|
"p95_ms": 36.468,
|
|
"mean_ms": 36.468
|
|
},
|
|
"forward": {
|
|
"samples_ms": [
|
|
36.473208,
|
|
37.071917,
|
|
37.020208,
|
|
37.375125,
|
|
37.191208,
|
|
37.12425,
|
|
36.297375,
|
|
36.811667,
|
|
37.999583,
|
|
36.734458,
|
|
36.52875,
|
|
36.610459,
|
|
36.611208,
|
|
37.056583,
|
|
36.951875,
|
|
36.746792
|
|
],
|
|
"p50_ms": 36.881771,
|
|
"p95_ms": 37.5312395,
|
|
"mean_ms": 36.912791625
|
|
},
|
|
"end_to_end": {
|
|
"samples_ms": [
|
|
37.597375,
|
|
37.499833,
|
|
38.093625,
|
|
37.484709,
|
|
38.755208,
|
|
38.51225,
|
|
37.903792,
|
|
39.227792,
|
|
38.9725,
|
|
38.665,
|
|
38.88025,
|
|
39.164875,
|
|
38.22175,
|
|
39.155,
|
|
38.669209,
|
|
37.892459
|
|
],
|
|
"p50_ms": 38.588625,
|
|
"p95_ms": 39.18060425,
|
|
"mean_ms": 38.4184766875
|
|
},
|
|
"prepare_mean_ms": 1.5620305333333333,
|
|
"memory": {
|
|
"active_bytes": 643936407,
|
|
"peak_bytes": 1184500513,
|
|
"cache_bytes": 540564488
|
|
},
|
|
"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": [
|
|
267.734958
|
|
],
|
|
"p50_ms": 267.734958,
|
|
"p95_ms": 267.734958,
|
|
"mean_ms": 267.734958
|
|
},
|
|
"forward": {
|
|
"samples_ms": [
|
|
278.987917,
|
|
278.215708,
|
|
279.17675,
|
|
279.385292,
|
|
278.744834,
|
|
280.837334,
|
|
279.216667,
|
|
291.63475,
|
|
276.842375,
|
|
281.939834,
|
|
281.093583,
|
|
280.399333,
|
|
282.86575,
|
|
280.617167,
|
|
281.5675,
|
|
281.278208
|
|
],
|
|
"p50_ms": 280.50825,
|
|
"p95_ms": 285.058,
|
|
"mean_ms": 280.80018762500004
|
|
},
|
|
"end_to_end": {
|
|
"samples_ms": [
|
|
285.227375,
|
|
282.918084,
|
|
294.678583,
|
|
295.167625,
|
|
294.165791,
|
|
284.382834,
|
|
291.576916,
|
|
293.175042,
|
|
284.306625,
|
|
291.874209,
|
|
281.473625,
|
|
292.0565,
|
|
280.842625,
|
|
283.854542,
|
|
284.121375,
|
|
283.873417
|
|
],
|
|
"p50_ms": 284.80510449999997,
|
|
"p95_ms": 294.8008435,
|
|
"mean_ms": 287.730948
|
|
},
|
|
"prepare_mean_ms": 13.1176111,
|
|
"memory": {
|
|
"active_bytes": 643936439,
|
|
"peak_bytes": 1614930103,
|
|
"cache_bytes": 1035285862
|
|
},
|
|
"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.0,
|
|
"max_action_logit_error": 0.0,
|
|
"max_probability_error": 0.0,
|
|
"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
|
|
}
|
|
]
|
|
}
|