umpirix/otsone/experiments/engineering/laya-multilingual-eager-pilot.json
caelum0x 4847e35451 OpenJev: open-source typed decision service
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>
2026-09-25 00:12:36 +03:00

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": "eager",
"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": [
8.50875
],
"p50_ms": 8.50875,
"p95_ms": 8.50875,
"mean_ms": 8.50875
},
"forward": {
"samples_ms": [
7.016333,
7.32125,
7.111042,
6.975458,
7.028833,
6.934917,
7.308458,
6.912166,
6.868791,
6.834958,
6.800167,
6.863375,
7.014167,
6.942,
6.882917,
7.176792
],
"p50_ms": 6.958729,
"p95_ms": 7.311656,
"mean_ms": 6.9994765
},
"end_to_end": {
"samples_ms": [
7.351166,
7.591125,
7.672166,
7.237708,
7.159708,
7.067,
7.285833,
7.3095,
8.094292,
7.922,
7.865375,
7.811959,
7.4655,
7.327042,
7.723083,
7.77675
],
"p50_ms": 7.5283125,
"p95_ms": 7.965072999999999,
"mean_ms": 7.541262937499999
},
"prepare_mean_ms": 0.08636666666666666,
"memory": {
"active_bytes": 643936311,
"peak_bytes": 709792763,
"cache_bytes": 65856452
},
"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": [
36.585625
],
"p50_ms": 36.585625,
"p95_ms": 36.585625,
"mean_ms": 36.585625
},
"forward": {
"samples_ms": [
33.777958,
34.078916,
34.288125,
34.205084,
34.549084,
34.025584,
33.830792,
33.983166,
34.216875,
33.903459,
34.30225,
34.360375,
34.387167,
35.039167,
36.560875,
33.848167
],
"p50_ms": 34.2109795,
"p95_ms": 35.419594000000004,
"mean_ms": 34.334815250000005
},
"end_to_end": {
"samples_ms": [
36.806375,
37.174542,
35.568042,
35.516792,
35.726375,
35.470084,
35.902791,
35.802375,
35.400709,
36.028625,
36.234083,
36.642583,
36.376875,
36.976459,
37.32325,
36.840917
],
"p50_ms": 36.131354,
"p95_ms": 37.211719,
"mean_ms": 36.2369298125
},
"prepare_mean_ms": 1.1778264,
"memory": {
"active_bytes": 643936311,
"peak_bytes": 1312620358,
"cache_bytes": 668684047
},
"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": [
35.2605
],
"p50_ms": 35.2605,
"p95_ms": 35.2605,
"mean_ms": 35.2605
},
"forward": {
"samples_ms": [
33.640708,
34.148542,
33.50575,
34.283834,
34.59975,
33.757666,
36.475416,
34.605334,
39.051416,
33.952125,
34.605542,
37.525458,
33.48875,
33.123959,
33.100459,
33.110875
],
"p50_ms": 34.0503335,
"p95_ms": 37.9069475,
"mean_ms": 34.560974
},
"end_to_end": {
"samples_ms": [
35.592375,
35.825458,
34.795667,
36.036208,
36.271209,
36.324791,
35.273959,
35.562875,
35.36525,
35.969667,
35.243834,
35.224167,
35.546875,
35.964375,
35.476542,
35.497542
],
"p50_ms": 35.554874999999996,
"p95_ms": 36.2846045,
"mean_ms": 35.623174625000004
},
"prepare_mean_ms": 1.5017958333333334,
"memory": {
"active_bytes": 643936311,
"peak_bytes": 1188696047,
"cache_bytes": 544759736
},
"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": [
238.962417
],
"p50_ms": 238.962417,
"p95_ms": 238.962417,
"mean_ms": 238.962417
},
"forward": {
"samples_ms": [
236.4225,
236.355917,
236.379916,
236.534583,
236.434166,
236.394208,
236.858,
239.188666,
236.852791,
238.544541,
239.218167,
242.618208,
243.648792,
246.109958,
246.525583,
248.172917
],
"p50_ms": 237.70127050000002,
"p95_ms": 246.9374165,
"mean_ms": 239.76618206249998
},
"end_to_end": {
"samples_ms": [
263.406584,
267.402666,
272.382667,
278.908417,
277.022542,
277.481125,
275.45875,
285.238125,
273.194833,
279.805833,
279.877625,
280.209167,
274.630875,
280.647667,
273.163917,
276.280333
],
"p50_ms": 276.6514375,
"p95_ms": 281.7952815,
"mean_ms": 275.944445375
},
"prepare_mean_ms": 13.461211133333334,
"memory": {
"active_bytes": 643936311,
"peak_bytes": 1614930047,
"cache_bytes": 1039488274
},
"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
}
]
}