umpirix/otsone/benchmarks/results/laya-multilingual-torch-mps-float32.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

838 lines
20 KiB
JSON

{
"created_at": "2026-09-22T05:17:42.319310+00:00",
"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": "ae244102b89b373aac40d7078dcf2fb205e024a66a9efdf91468f16a858c178a",
"upstream_revision": "573e5b62696ba441230cd6be71d593331b5d23af"
},
"model": "laya-multilingual",
"revision": "052592a15d198d9ad47da779604259b10b47b7aa",
"backend": "torch-mps",
"dtype": "float32",
"warmup": 5,
"iterations": 50,
"batch_size_limit": null,
"timing": "wall clock, synchronized GPU completion; downloads and model loading excluded",
"results": [
{
"workload": "short",
"questions": 1,
"sequence_length": 91,
"input_tokens": 91,
"input_sha256": "1dbe09371167823382a84eb0984161337c730d57474fdd40969724ee4af5e258",
"output_sha256": "86b3570e4d3470f012272df397624dc897c6f1cee04ce8f6b835764b15f7485e",
"forward": {
"samples_ms": [
11.042333,
11.582125,
11.165333,
10.9505,
11.817292,
13.2055,
11.188375,
11.243042,
12.294625,
11.474958,
10.402375,
11.825125,
12.231625,
11.085416,
13.047458,
12.4405,
11.02475,
10.975959,
11.634125,
10.907625,
10.521542,
11.7955,
10.583042,
10.715417,
11.300958,
10.541583,
11.351709,
11.425167,
10.777292,
11.428834,
11.989125,
11.243875,
10.770792,
12.230208,
12.430875,
11.212583,
13.204666,
11.888334,
10.978625,
11.125167,
11.689083,
11.777833,
10.76225,
12.809042,
12.292042,
11.426125,
12.43525,
12.841,
12.231792,
11.2055
],
"p50_ms": 11.425646,
"p95_ms": 12.9545519,
"mean_ms": 11.570485040000001,
"min_ms": 10.402375,
"max_ms": 13.2055
},
"end_to_end": {
"samples_ms": [
14.724667,
12.909833,
13.8665,
14.362625,
13.85425,
13.555166,
13.851834,
13.715875,
13.654792,
12.756542,
14.179125,
13.939792,
13.171834,
13.476625,
12.623375,
14.702667,
13.55225,
13.31925,
13.715958,
13.335,
12.866917,
13.631209,
13.71225,
13.415709,
14.352,
13.59175,
14.795083,
13.836209,
13.498208,
13.685791,
13.589334,
13.359583,
14.276958,
14.328625,
13.65875,
13.223,
13.617916,
12.900667,
14.399208,
14.400916,
12.882125,
13.774666,
13.247541,
14.175167,
13.241209,
12.480291,
12.930458,
12.060125,
13.244417,
13.318625
],
"p50_ms": 13.604833,
"p95_ms": 14.566879049999999,
"mean_ms": 13.59525334,
"min_ms": 12.060125,
"max_ms": 14.795083,
"questions_per_second": 73.55508389518543,
"tokens_per_second": 6693.512634461875
},
"memory": {
"mps_current_tensor_bytes": 1296028672,
"mps_driver_allocated_bytes": 1334525952,
"note": "MPS exposes current allocations here, not a peak comparable to MLX peak memory"
}
},
{
"workload": "short",
"questions": 5,
"sequence_length": 91,
"input_tokens": 432,
"input_sha256": "1e623f9a4d372eeed1e1538e8d316ac94318a2cbefff95fca43045eb155853a2",
"output_sha256": "e0901d5ae06a6d115f13339a7ff73f9f3bb35b846b9c795f7f371d5b8426889d",
"forward": {
"samples_ms": [
26.083125,
25.155625,
25.974792,
26.144167,
24.961375,
25.268083,
24.229375,
24.565208,
25.747625,
25.693959,
25.059334,
24.962375,
25.49075,
25.33425,
24.966833,
25.415041,
25.102584,
25.029791,
25.425,
25.215708,
25.46675,
25.807,
25.126375,
25.605333,
25.260583,
25.892792,
24.525875,
25.494834,
24.746083,
25.586042,
25.061666,
25.819666,
25.419208,
24.943792,
24.464125,
25.114333,
25.486666,
25.035667,
25.332541,
24.521542,
24.95725,
25.517291,
25.397583,
24.816708,
25.225416,
24.797583,
25.258625,
25.200792,
25.436917,
24.874
],
"p50_ms": 25.2420205,
"p95_ms": 25.937892,
"mean_ms": 25.240360759999998,
"min_ms": 24.229375,
"max_ms": 26.144167
},
"end_to_end": {
"samples_ms": [
27.786541,
27.274625,
28.075584,
27.53625,
28.129792,
27.317167,
27.873083,
27.826583,
28.028542,
27.219458,
27.758125,
27.513542,
26.712833,
27.526708,
28.4035,
28.857792,
27.678208,
27.86825,
27.996417,
27.959917,
28.443083,
27.021916,
27.665292,
28.099417,
27.433167,
27.634542,
28.045416,
27.737208,
27.929416,
28.414208,
26.914292,
27.551959,
27.821083,
27.591583,
27.42,
28.334166,
27.895708,
28.738708,
28.070667,
27.614,
28.934792,
27.675666,
27.36525,
28.852875,
27.552667,
27.268459,
29.162916,
28.694875,
29.021542,
29.6355
],
"p50_ms": 27.823833,
"p95_ms": 28.9825045,
"mean_ms": 27.917665799999998,
"min_ms": 26.712833,
"max_ms": 29.6355,
"questions_per_second": 179.0980677188277,
"tokens_per_second": 15474.073050906714
},
"memory": {
"mps_current_tensor_bytes": 1296034816,
"mps_driver_allocated_bytes": 1372274688,
"note": "MPS exposes current allocations here, not a peak comparable to MLX peak memory"
}
},
{
"workload": "short",
"questions": 10,
"sequence_length": 91,
"input_tokens": 862,
"input_sha256": "96370dd729a5172e5e1cc9049e29274ef828c140011e6e936df22bb8d614a54b",
"output_sha256": "573e20d6be28e6a03643b186a9890fc9aa34c8279fcf5770780bd7b3205ff9c5",
"forward": {
"samples_ms": [
44.923167,
45.011833,
47.106417,
46.334083,
45.142667,
43.732334,
42.075917,
41.877416,
43.049791,
41.866625,
41.849875,
41.377459,
42.337084,
40.562375,
41.727667,
42.522833,
43.15925,
43.11775,
41.7015,
42.457959,
41.155958,
41.863833,
41.515083,
42.449375,
41.272167,
43.055584,
41.475625,
42.243583,
41.709583,
42.025417,
40.813084,
42.032333,
41.387084,
42.09875,
41.421333,
41.146625,
41.294916,
40.049042,
39.848709,
41.051375,
40.809666,
40.368292,
40.562542,
40.842417,
40.862917,
41.466708,
41.870875,
41.256958,
42.290875,
42.062709
],
"p50_ms": 41.856854,
"p95_ms": 45.0837917,
"mean_ms": 42.084748399999995,
"min_ms": 39.848709,
"max_ms": 47.106417
},
"end_to_end": {
"samples_ms": [
43.818209,
44.341791,
43.560042,
43.03075,
43.487042,
43.250292,
43.237417,
43.917541,
43.802542,
43.7105,
44.076208,
44.58175,
44.274,
43.996709,
44.172333,
43.236167,
43.299875,
43.664083,
43.750458,
43.54325,
42.60125,
43.167042,
42.019083,
42.710542,
42.659292,
43.131041,
42.769583,
43.491542,
43.242459,
43.731792,
43.560958,
44.532541,
43.537875,
44.137875,
45.281417,
44.529125,
44.286125,
45.371125,
44.169625,
44.219917,
45.380459,
45.083292,
45.711041,
44.677042,
45.682791,
45.110958,
45.855083,
46.302916,
44.294,
44.72925
],
"p50_ms": 43.867875,
"p95_ms": 45.6983285,
"mean_ms": 44.01455999999999,
"min_ms": 42.019083,
"max_ms": 46.302916,
"questions_per_second": 227.1975455394761,
"tokens_per_second": 19584.42842550284
},
"memory": {
"mps_current_tensor_bytes": 1296042240,
"mps_driver_allocated_bytes": 2455453696,
"note": "MPS exposes current allocations here, not a peak comparable to MLX peak memory"
}
},
{
"workload": "short",
"questions": 50,
"sequence_length": 91,
"input_tokens": 4287,
"input_sha256": "03ad2e92133f79e0ba2867e833e2c971c1da2717bfe4602ab72c5e1c289e278a",
"output_sha256": "37f3e9c7260f0eb9a762852f37cdb9adac00084633c7335f69477a03959de198",
"forward": {
"samples_ms": [
198.819041,
191.120125,
190.809959,
190.68525,
195.693416,
195.032208,
193.616083,
192.907792,
189.576167,
193.940875,
193.537167,
194.583791,
191.029208,
192.219292,
191.687584,
196.145542,
193.655667,
188.224959,
192.389375,
191.523125,
196.9585,
194.737958,
190.529083,
190.631875,
188.819209,
191.093584,
193.870875,
190.711833,
190.8905,
187.849833,
193.650458,
191.95875,
192.387792,
187.574916,
191.852583,
191.621334,
194.911625,
189.901875,
190.523792,
186.971208,
186.237458,
195.144583,
192.683458,
192.036708,
190.11875,
197.062709,
198.442125,
191.822292,
189.459833,
183.514459
],
"p50_ms": 191.83743750000002,
"p95_ms": 197.01581495,
"mean_ms": 192.02333168,
"min_ms": 183.514459,
"max_ms": 198.819041
},
"end_to_end": {
"samples_ms": [
190.657042,
195.179,
191.242958,
194.610916,
193.960083,
189.585375,
193.36375,
191.072541,
194.210125,
191.911208,
192.784875,
192.86125,
197.534417,
197.017917,
195.139708,
185.676834,
186.834584,
203.485292,
201.608416,
194.054459,
193.304333,
190.820125,
196.865375,
195.732459,
191.6175,
193.315833,
187.471458,
199.264625,
200.664167,
195.789833,
191.493,
191.023333,
193.447667,
193.697166,
196.465334,
192.091458,
198.747708,
203.184333,
208.207083,
209.651209,
214.074083,
214.919917,
211.375458,
223.143834,
210.754583,
209.349541,
217.603375,
217.420208,
215.937333,
220.754458
],
"p50_ms": 195.159354,
"p95_ms": 217.52094985,
"mean_ms": 199.01955078,
"min_ms": 185.676834,
"max_ms": 223.143834,
"questions_per_second": 251.23159912701718,
"tokens_per_second": 21540.597309150453
},
"memory": {
"mps_current_tensor_bytes": 1296102144,
"mps_driver_allocated_bytes": 2455453696,
"note": "MPS exposes current allocations here, not a peak comparable to MLX peak memory"
}
},
{
"workload": "long",
"questions": 1,
"sequence_length": 1024,
"input_tokens": 1024,
"input_sha256": "fad6a208c2b4fcf511fa0c84b11cf3cc388f4741265d28a5e6944cc7783aed91",
"output_sha256": "e6c9f8ecc4d4ac38c52c8bb19b3c12a3df1683e004707384d8ab826ea300c824",
"forward": {
"samples_ms": [
50.604625,
50.935375,
50.70825,
51.301083,
50.123875,
49.978959,
50.949917,
51.436292,
51.292583,
51.114667,
51.695916,
50.68725,
50.753917,
49.782042,
49.1805,
49.198042,
50.2125,
49.518875,
51.022292,
50.399,
51.147334,
50.451667,
50.626375,
50.825834,
51.89625,
51.950208,
50.437792,
50.395625,
50.976417,
51.42675,
51.280833,
51.20925,
51.654542,
50.51525,
51.421958,
49.540542,
50.13525,
51.855709,
50.944,
52.827541,
52.843458,
52.177833,
53.032542,
53.188584,
51.756125,
51.083625,
51.810333,
52.139,
51.418208,
50.646875
],
"p50_ms": 50.999354499999995,
"p95_ms": 52.83629535,
"mean_ms": 51.050233399999996,
"min_ms": 49.1805,
"max_ms": 53.188584
},
"end_to_end": {
"samples_ms": [
53.926667,
54.383833,
54.684458,
54.886291,
56.385667,
56.526833,
55.00575,
56.463208,
54.894291,
53.97075,
55.251583,
54.788125,
54.427708,
54.160959,
53.421084,
54.395792,
54.155625,
54.38,
53.593792,
56.60625,
53.832209,
54.511584,
54.511833,
54.801083,
53.73825,
53.516542,
55.148166,
55.333584,
53.84625,
55.128875,
54.393583,
53.808375,
53.709,
54.239958,
54.814125,
53.989166,
53.377833,
53.633167,
54.841375,
53.986459,
54.049833,
54.187041,
54.844291,
54.657791,
53.802,
54.929625,
53.646583,
55.182791,
53.774625,
53.931084
],
"p50_ms": 54.388708,
"p95_ms": 56.42831455,
"mean_ms": 54.48951494,
"min_ms": 53.377833,
"max_ms": 56.60625,
"questions_per_second": 18.35215455856286,
"tokens_per_second": 18792.606267968367
},
"memory": {
"mps_current_tensor_bytes": 1296043520,
"mps_driver_allocated_bytes": 2455453696,
"note": "MPS exposes current allocations here, not a peak comparable to MLX peak memory"
}
},
{
"workload": "long",
"questions": 10,
"sequence_length": 1024,
"input_tokens": 10240,
"input_sha256": "afb662ee1d73171eeccac9e119f11cce70161bced4d821258eebb5f54c7c7485",
"output_sha256": "8a71b4966e953d8f492f46240aa774950ffc0e396efbea91124e816e168eaea8",
"forward": {
"samples_ms": [
547.104875,
553.633917,
536.362,
534.161583,
537.402334,
533.299625,
537.617625,
538.272875,
532.159625,
539.547917,
523.923583,
522.895541,
518.767083,
521.430666,
516.442708,
527.32925,
518.3825,
532.135583,
517.900541,
519.665333,
516.5685,
527.62875,
517.552625,
528.396833,
518.38375,
523.2,
518.232833,
524.00575,
522.74025,
513.796417,
553.279708,
517.868875,
524.517125,
518.392708,
526.298125,
515.088917,
539.579625,
513.3355,
522.947709,
515.68775,
523.739333,
522.084625,
519.891791,
512.663,
525.786125,
514.135334,
525.714667,
516.357875,
518.206458,
513.8115
],
"p50_ms": 522.921625,
"p95_ms": 543.7185125,
"mean_ms": 525.16655244,
"min_ms": 512.663,
"max_ms": 553.633917
},
"end_to_end": {
"samples_ms": [
542.202291,
540.04875,
545.067042,
534.785083,
544.667959,
536.382417,
537.157917,
533.988875,
528.751334,
527.494833,
529.190875,
526.588417,
529.687791,
534.002291,
525.999542,
530.695333,
532.823167,
533.769625,
527.71775,
532.776458,
524.074375,
532.829084,
523.3245,
530.053792,
527.235334,
527.23675,
526.075708,
528.498708,
524.93025,
525.347084,
531.187042,
523.212083,
526.362917,
520.8825,
529.089958,
529.429041,
546.328625,
521.869333,
531.926042,
524.073708,
527.531042,
530.786375,
526.404333,
520.215208,
525.696958,
524.365708,
525.967625,
525.580625,
524.957334,
523.9465
],
"p50_ms": 528.1082289999999,
"p95_ms": 543.5584084,
"mean_ms": 529.66432584,
"min_ms": 520.215208,
"max_ms": 546.328625,
"questions_per_second": 18.879882053866663,
"tokens_per_second": 19332.999223159462
},
"memory": {
"mps_current_tensor_bytes": 1296191232,
"mps_driver_allocated_bytes": 2549825536,
"note": "MPS exposes current allocations here, not a peak comparable to MLX peak memory"
}
}
],
"device": {
"device_name": "Apple M3 Max",
"type": "mps"
},
"torch_threads": 12,
"parameter_count": 321908995,
"weight_bytes": 1287635980,
"load_seconds": 23.161225625000952
}