MiniCPM5-2B-WebGPU-Pi / validation /agent-runtime-meter-adaptive.json
deyunma's picture
Copy from townbox/MiniCPM5-2B-WebGPU-Pi
4ac3af3 verified
Raw History Blame Contribute Delete
12.2 kB
{
"date": "2026-09-14T10:24:49.850Z",
"url": "http://127.0.0.1:4173/?source=local",
"checks": [
"Eight viewport fixtures fit the header; measured bars, tool/idle states and stale-sample handling render correctly",
"Actual WebGPU token callbacks drive live rates, with distinct prefill, tool and idle states and a verified file result",
"Stopping generation clears the live rate and chart"
],
"layouts": [
{
"width": 1440,
"height": 1000,
"header": {
"x": 14,
"y": 12,
"right": 1426,
"bottom": 60,
"width": 1412,
"height": 48
},
"brand": {
"x": 22,
"y": 27,
"right": 129.6875,
"bottom": 45,
"width": 107.6875,
"height": 18
},
"meter": {
"x": 605.328125,
"y": 20,
"right": 834.65625,
"bottom": 52,
"width": 229.328125,
"height": 32
},
"model": {
"x": 1133.4375,
"y": 20,
"right": 1418,
"bottom": 52,
"width": 284.5625,
"height": 32
},
"value": {
"x": 780.625,
"y": 29.5,
"right": 824.96875,
"bottom": 42.5,
"width": 44.34375,
"height": 13
},
"overflow": false
},
{
"width": 1100,
"height": 800,
"header": {
"x": 14,
"y": 12,
"right": 1086,
"bottom": 60,
"width": 1072,
"height": 48
},
"brand": {
"x": 22,
"y": 27,
"right": 129.6875,
"bottom": 45,
"width": 107.6875,
"height": 18
},
"meter": {
"x": 435.328125,
"y": 20,
"right": 664.65625,
"bottom": 52,
"width": 229.328125,
"height": 32
},
"model": {
"x": 793.4375,
"y": 20,
"right": 1078,
"bottom": 52,
"width": 284.5625,
"height": 32
},
"value": {
"x": 610.625,
"y": 29.5,
"right": 654.96875,
"bottom": 42.5,
"width": 44.34375,
"height": 13
},
"overflow": false
},
{
"width": 1000,
"height": 800,
"header": {
"x": 14,
"y": 12,
"right": 986,
"bottom": 60,
"width": 972,
"height": 48
},
"brand": {
"x": 22,
"y": 27,
"right": 129.6875,
"bottom": 45,
"width": 107.6875,
"height": 18
},
"meter": {
"x": 296.890625,
"y": 20,
"right": 526.21875,
"bottom": 52,
"width": 229.328125,
"height": 32
},
"model": {
"x": 693.4375,
"y": 20,
"right": 978,
"bottom": 52,
"width": 284.5625,
"height": 32
},
"value": {
"x": 472.1875,
"y": 29.5,
"right": 516.53125,
"bottom": 42.5,
"width": 44.34375,
"height": 13
},
"overflow": false
},
{
"width": 851,
"height": 800,
"header": {
"x": 14,
"y": 12,
"right": 837,
"bottom": 60,
"width": 823,
"height": 48
},
"brand": {
"x": 22,
"y": 27,
"right": 129.6875,
"bottom": 45,
"width": 107.6875,
"height": 18
},
"meter": {
"x": 222.390625,
"y": 20,
"right": 451.71875,
"bottom": 52,
"width": 229.328125,
"height": 32
},
"model": {
"x": 544.4375,
"y": 20,
"right": 829,
"bottom": 52,
"width": 284.5625,
"height": 32
},
"value": {
"x": 397.6875,
"y": 29.5,
"right": 442.03125,
"bottom": 42.5,
"width": 44.34375,
"height": 13
},
"overflow": false
},
{
"width": 850,
"height": 800,
"header": {
"x": 10,
"y": 10,
"right": 840,
"bottom": 98,
"width": 830,
"height": 88
},
"brand": {
"x": 18,
"y": 25,
"right": 44,
"bottom": 43,
"width": 26,
"height": 18
},
"meter": {
"x": 602.90625,
"y": 18,
"right": 832,
"bottom": 50,
"width": 229.09375,
"height": 32
},
"model": {
"x": 18,
"y": 58,
"right": 832,
"bottom": 90,
"width": 814,
"height": 32
},
"value": {
"x": 778.203125,
"y": 27.5,
"right": 822.546875,
"bottom": 40.5,
"width": 44.34375,
"height": 13
},
"overflow": false
},
{
"width": 390,
"height": 844,
"header": {
"x": 10,
"y": 10,
"right": 380,
"bottom": 110,
"width": 370,
"height": 100
},
"brand": {
"x": 18,
"y": 28,
"right": 44,
"bottom": 46,
"width": 26,
"height": 18
},
"meter": {
"x": 142.578125,
"y": 18,
"right": 372,
"bottom": 56,
"width": 229.421875,
"height": 38
},
"model": {
"x": 18,
"y": 64,
"right": 372,
"bottom": 102,
"width": 354,
"height": 38
},
"value": {
"x": 317.875,
"y": 30.5,
"right": 362.21875,
"bottom": 43.5,
"width": 44.34375,
"height": 13
},
"overflow": false
},
{
"width": 320,
"height": 568,
"header": {
"x": 10,
"y": 10,
"right": 310,
"bottom": 110,
"width": 300,
"height": 100
},
"brand": {
"x": 18,
"y": 28,
"right": 44,
"bottom": 46,
"width": 26,
"height": 18
},
"meter": {
"x": 72.78125,
"y": 18,
"right": 302,
"bottom": 56,
"width": 229.21875,
"height": 38
},
"model": {
"x": 18,
"y": 64,
"right": 302,
"bottom": 102,
"width": 284,
"height": 38
},
"value": {
"x": 248.078125,
"y": 30.5,
"right": 292.421875,
"bottom": 43.5,
"width": 44.34375,
"height": 13
},
"overflow": false
},
{
"width": 390,
"height": 420,
"header": {
"x": 10,
"y": 10,
"right": 380,
"bottom": 110,
"width": 370,
"height": 100
},
"brand": {
"x": 18,
"y": 28,
"right": 44,
"bottom": 46,
"width": 26,
"height": 18
},
"meter": {
"x": 142.671875,
"y": 18,
"right": 372,
"bottom": 56,
"width": 229.328125,
"height": 38
},
"model": {
"x": 18,
"y": 64,
"right": 372,
"bottom": 102,
"width": 354,
"height": 38
},
"value": {
"x": 317.96875,
"y": 30.5,
"right": 362.3125,
"bottom": 43.5,
"width": 44.34375,
"height": 13
},
"overflow": false
}
],
"errors": [],
"states": [
{
"state": "loading",
"value": "Loading…"
},
{
"state": "loading",
"value": "Preparing…"
},
{
"state": "loading",
"value": "Preparing…"
},
{
"state": "loading",
"value": "Warming up…"
},
{
"state": "idle",
"value": "Ready"
},
{
"state": "idle",
"value": "Ready"
},
{
"state": "prefill",
"value": "Reading prompt…"
},
{
"state": "prefill",
"value": "Reading prompt…"
},
{
"state": "generating",
"value": "Generating…"
},
{
"state": "generating",
"value": "24 tok/s"
},
{
"state": "generating",
"value": "32 tok/s"
},
{
"state": "generating",
"value": "34 tok/s"
},
{
"state": "generating",
"value": "35 tok/s"
},
{
"state": "working",
"value": "Working…"
},
{
"state": "tool",
"value": "Reading file…"
},
{
"state": "prefill",
"value": "Reading prompt…"
},
{
"state": "generating",
"value": "Generating…"
},
{
"state": "generating",
"value": "35 tok/s"
},
{
"state": "generating",
"value": "37 tok/s"
},
{
"state": "generating",
"value": "38 tok/s"
},
{
"state": "generating",
"value": "39 tok/s"
},
{
"state": "generating",
"value": "40 tok/s"
},
{
"state": "working",
"value": "Working…"
},
{
"state": "tool",
"value": "Reading file…"
},
{
"state": "prefill",
"value": "Reading prompt…"
},
{
"state": "generating",
"value": "Generating…"
},
{
"state": "generating",
"value": "38 tok/s"
},
{
"state": "generating",
"value": "39 tok/s"
},
{
"state": "generating",
"value": "39 tok/s"
},
{
"state": "generating",
"value": "39 tok/s"
},
{
"state": "generating",
"value": "39 tok/s"
},
{
"state": "working",
"value": "Working…"
},
{
"state": "idle",
"value": "Ready"
}
],
"samples": [
{
"type": "inference_activity",
"phase": "prefill"
},
{
"type": "inference_activity",
"phase": "decode",
"rate": null,
"outputTokens": 1
},
{
"type": "inference_activity",
"phase": "decode",
"rate": 23.696682462781478,
"outputTokens": 7
},
{
"type": "inference_activity",
"phase": "decode",
"rate": 31.601817103739435,
"outputTokens": 17
},
{
"type": "inference_activity",
"phase": "decode",
"rate": 33.7268128159281,
"outputTokens": 27
},
{
"type": "inference_activity",
"phase": "decode",
"rate": 35,
"outputTokens": 36
},
{
"type": "inference_activity",
"phase": "end"
},
{
"type": "inference_activity",
"phase": "prefill"
},
{
"type": "inference_activity",
"phase": "decode",
"rate": null,
"outputTokens": 1
},
{
"type": "inference_activity",
"phase": "decode",
"rate": 35.11509949523179,
"outputTokens": 10
},
{
"type": "inference_activity",
"phase": "decode",
"rate": 37.29146221786065,
"outputTokens": 20
},
{
"type": "inference_activity",
"phase": "decode",
"rate": 38.06773431436165,
"outputTokens": 30
},
{
"type": "inference_activity",
"phase": "decode",
"rate": 39,
"outputTokens": 40
},
{
"type": "inference_activity",
"phase": "decode",
"rate": 40,
"outputTokens": 50
},
{
"type": "inference_activity",
"phase": "end"
},
{
"type": "inference_activity",
"phase": "prefill"
},
{
"type": "inference_activity",
"phase": "decode",
"rate": null,
"outputTokens": 1
},
{
"type": "inference_activity",
"phase": "decode",
"rate": 38.08073115090243,
"outputTokens": 11
},
{
"type": "inference_activity",
"phase": "decode",
"rate": 39.486673247778874,
"outputTokens": 21
},
{
"type": "inference_activity",
"phase": "decode",
"rate": 38.71467286071653,
"outputTokens": 31
},
{
"type": "inference_activity",
"phase": "decode",
"rate": 39,
"outputTokens": 40
},
{
"type": "inference_activity",
"phase": "decode",
"rate": 39,
"outputTokens": 50
},
{
"type": "inference_activity",
"phase": "end"
}
],
"passed": true
}