MiniCPM5-2B-WebGPU-Pi-HTTP / validation /http-shell-live-initial.json
Mike0021's picture
Document verified curl support and add live browser HTTP tests
f104170 verified
Raw
History Blame Contribute Delete
11.7 kB
{
"date": "2026-09-16T08:32:15.891Z",
"url": "https://mike0021-minicpm5-2b-webgpu-pi-http.static.hf.space/",
"cases": [
{
"name": "json-get-save",
"command": "curl -fsS https://jsonplaceholder.typicode.com/todos/1 -o todo.json && jq -r .title todo.json",
"elapsedMs": 332,
"stdout": "delectus aut autem\n",
"stderr": "",
"exitCode": 0,
"passed": true
},
{
"name": "github-pipeline",
"command": "set -o pipefail; curl -fsS https://api.github.com/repos/huggingface/transformers.js | jq -r '.full_name, .license.spdx_id'",
"elapsedMs": 304,
"stdout": "huggingface/transformers.js\nApache-2.0\n",
"stderr": "",
"exitCode": 0,
"passed": true
},
{
"name": "hf-metadata",
"command": "set -o pipefail; curl -fsS https://huggingface.co/api/models/openbmb/MiniCPM5-2B | jq -r .id",
"elapsedMs": 146,
"stdout": "openbmb/MiniCPM5-2B\n",
"stderr": "",
"exitCode": 0,
"passed": true
},
{
"name": "raw-github",
"command": "curl -fsS https://raw.githubusercontent.com/huggingface/transformers.js/main/package.json -o package.json && jq -r .name package.json",
"elapsedMs": 256,
"stdout": "@huggingface/transformers-monorepo\n",
"stderr": "",
"exitCode": 0,
"passed": true
},
{
"name": "head",
"command": "curl -I https://jsonplaceholder.typicode.com/todos/1",
"elapsedMs": 23,
"stdout": "HTTP/1.1 200 \r\ncache-control: max-age=43200\r\ncontent-type: application/json; charset=utf-8\r\nexpires: -1\r\npragma: no-cache\r\n",
"stderr": "",
"exitCode": 0,
"passed": true
},
{
"name": "post-json",
"command": "set -o pipefail; curl -fsS https://httpbin.org/post -H 'Content-Type: application/json' -d '{\"demo\":\"browser-http\",\"value\":144}' | jq -c .json",
"elapsedMs": 620,
"stdout": "{\"demo\":\"browser-http\",\"value\":144}\n",
"stderr": "",
"exitCode": 0,
"passed": true
},
{
"name": "wget",
"command": "wget -q -O downloaded.json https://jsonplaceholder.typicode.com/todos/2 && jq -r .id downloaded.json",
"elapsedMs": 6,
"stdout": "",
"stderr": "bash: wget: command not found\n",
"exitCode": 127,
"passed": false
},
{
"name": "http-404",
"command": "curl -fsS https://jsonplaceholder.typicode.com/does-not-exist",
"elapsedMs": 289,
"stdout": "",
"stderr": "curl: (22) The requested URL returned error: 404\n",
"exitCode": 22,
"passed": true
},
{
"name": "blocked-host",
"command": "curl -fsS https://example.com/",
"elapsedMs": 9,
"stdout": "",
"stderr": "curl: (1) HTTP destination is not enabled in this experiment. Allowed hosts: api.github.com, raw.githubusercontent.com, huggingface.co, jsonplaceholder.typicode.com, httpbin.org.\n",
"exitCode": 1,
"passed": true
},
{
"name": "cors-failure",
"command": "curl -fsS https://huggingface.co/",
"elapsedMs": 20,
"stdout": "",
"stderr": "curl: (1) HTTP request failed: the server may block browser requests (CORS), or the connection failed. No proxy is used.\n",
"exitCode": 1,
"passed": true
},
{
"name": "redirect-failure",
"command": "curl -fsSL https://httpbin.org/redirect-to?url=https%3A%2F%2Fhttpbin.org%2Fget",
"elapsedMs": 98,
"stdout": "",
"stderr": "curl: (1) HTTP redirect cannot be followed safely in this browser shell. Use the final HTTPS URL directly (including exact capitalization).\n",
"exitCode": 1,
"passed": true
},
{
"name": "timeout",
"command": "curl -fsS --max-time 1 https://httpbin.org/delay/5",
"elapsedMs": 1013,
"stdout": "",
"stderr": "curl: (1) HTTP request timed out after 1000 ms.\n",
"exitCode": 1,
"passed": true
},
{
"name": "failed-pipeline",
"command": "set -o pipefail; curl -fsS https://example.com/ | jq .",
"elapsedMs": 7,
"stdout": "",
"stderr": "curl: (1) HTTP destination is not enabled in this experiment. Allowed hosts: api.github.com, raw.githubusercontent.com, huggingface.co, jsonplaceholder.typicode.com, httpbin.org.\n",
"exitCode": 1,
"passed": true
},
{
"name": "cancel",
"elapsedMs": 228,
"stdout": "",
"stderr": "bash: execution aborted\n",
"exitCode": 124,
"passed": true
},
{
"name": "file-survives-reload",
"passed": true
}
],
"errors": [],
"requests": [
{
"url": "https://cdn-lfs-us-1.hf.co/repos/48/29/4829a3c0b18453b5b13362a29a513b6902552cc52273d2fb4092cb0203b93c28/a766512083268f7d7bb31f37171d6cd05a5af81e38c2612ac41cbb473a2c5f6c?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27modal-cat-v1.png%3B+filename%3D%22modal-cat-v1.png%22%3B&response-content-type=image%2Fpng&Expires=1789551136&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc4OTU1MTEzNn19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzQ4LzI5LzQ4MjlhM2MwYjE4NDUzYjViMTMzNjJhMjlhNTEzYjY5MDI1NTJjYzUyMjczZDJmYjQwOTJjYjAyMDNiOTNjMjgvYTc2NjUxMjA4MzI2OGY3ZDdiYjMxZjM3MTcxZDZjZDA1YTVhZjgxZTM4YzI2MTJhYzQxY2JiNDczYTJjNWY2Yz9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoifV19&Signature=zvLU2rLtliCwfPfBwZpRPOvXLhlbi696TFONTVXatc3dEBN6j9QaxyN4NA6dM4WLhS0vw7ojBS4uqnPC1h6%7EFl26zTns0SOmBe4CGrMYAKZzykTJopfMiOjVD95q0i0FIyd33YoYW6V8cydbRusCD66UChrRSO1wNxghVXdSmc%7EjpnvC3IGypRUDWZRx4gAbSVlUUSi8KCqPfJpLXirxg-ymyaXqM-f7Ank14VpWs1cBsK1n2GMUjAkku-Rua%7EeJIVzbwDSr-Pp3E166FzSRrcXEKrWtMQkVIGmKwS3Y5ZXEHjpOZYBTofeF5DcpY4bp4s9EVYBwC9PZvZ5m4U6lAQ__&Key-Pair-Id=K1HG1QXK3AL3BR",
"method": "GET"
},
{
"url": "https://jsonplaceholder.typicode.com/todos/1",
"method": "GET"
},
{
"url": "https://cdn-lfs-us-1.hf.co/repos/48/29/4829a3c0b18453b5b13362a29a513b6902552cc52273d2fb4092cb0203b93c28/592558545d0ef05a4d29fd27eeeb5b63468f1f378bb1c50359a60f8d2a88f668?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27empty-cat-v1.png%3B+filename%3D%22empty-cat-v1.png%22%3B&response-content-type=image%2Fpng&Expires=1789551138&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc4OTU1MTEzOH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzQ4LzI5LzQ4MjlhM2MwYjE4NDUzYjViMTMzNjJhMjlhNTEzYjY5MDI1NTJjYzUyMjczZDJmYjQwOTJjYjAyMDNiOTNjMjgvNTkyNTU4NTQ1ZDBlZjA1YTRkMjlmZDI3ZWVlYjViNjM0NjhmMWYzNzhiYjFjNTAzNTlhNjBmOGQyYTg4ZjY2OD9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoifV19&Signature=Dyg2qtKjNHulfVg2ldV0AkgfVJyw7XoODSeRdZpmVNBvB71h6G3t5eZO3qs0GQTtiR3dLumQMkTSKCt9palZFJ5co8HF3%7EUZ0aSZmdpC33QZnj8xfx8sMX-WUwKF4VP3HX5FNJL28QQWEsr0u1R36LQQwha06rTrP88Y4XjWtDmhNZWEcn-kNdlCU9LIkDDi6KqalEbVlLJUzP48cNKTjmGMeJsBSt4asREfoa4b56noz2qRl0mXGZnq6W9fERUHBho-RvfTiRatd2s1D0D63QSFgabbEU%7Ek7BYiZfj8HMz8W%7EGqVJ7KRBBfcXwV%7EZ0lEscq-XeJ650vi8ChPnynvw__&Key-Pair-Id=K1HG1QXK3AL3BR",
"method": "GET"
},
{
"url": "https://api.github.com/repos/huggingface/transformers.js",
"method": "GET"
},
{
"url": "https://huggingface.co/api/models/openbmb/MiniCPM5-2B",
"method": "GET"
},
{
"url": "https://raw.githubusercontent.com/huggingface/transformers.js/main/package.json",
"method": "GET"
},
{
"url": "https://jsonplaceholder.typicode.com/todos/1",
"method": "HEAD"
},
{
"url": "https://httpbin.org/post",
"method": "POST"
},
{
"url": "https://jsonplaceholder.typicode.com/does-not-exist",
"method": "GET"
},
{
"url": "https://huggingface.co/",
"method": "GET"
},
{
"url": "https://httpbin.org/redirect-to?url=https%3A%2F%2Fhttpbin.org%2Fget",
"method": "GET"
},
{
"url": "https://httpbin.org/get",
"method": "GET"
},
{
"url": "https://httpbin.org/delay/5",
"method": "GET"
},
{
"url": "https://httpbin.org/delay/7",
"method": "GET"
},
{
"url": "https://jsonplaceholder.typicode.com/todos/1",
"method": "GET"
},
{
"url": "https://cdn-lfs-us-1.hf.co/repos/48/29/4829a3c0b18453b5b13362a29a513b6902552cc52273d2fb4092cb0203b93c28/a766512083268f7d7bb31f37171d6cd05a5af81e38c2612ac41cbb473a2c5f6c?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27modal-cat-v1.png%3B+filename%3D%22modal-cat-v1.png%22%3B&response-content-type=image%2Fpng&Expires=1789551141&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc4OTU1MTE0MX19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzQ4LzI5LzQ4MjlhM2MwYjE4NDUzYjViMTMzNjJhMjlhNTEzYjY5MDI1NTJjYzUyMjczZDJmYjQwOTJjYjAyMDNiOTNjMjgvYTc2NjUxMjA4MzI2OGY3ZDdiYjMxZjM3MTcxZDZjZDA1YTVhZjgxZTM4YzI2MTJhYzQxY2JiNDczYTJjNWY2Yz9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoifV19&Signature=hlz8Jg3q0-D5HXj7-rLPSH5stU8POxEw2WAksgMbEqDnRZlcfc5r86HMB2Of6Ac6IeFNM3ux1SN1GNDgmrd0DZY2hmfB8XlEu2wlId7Bxq3t7vN0RnPPrPlcXKLkV4ObLW95kt0asoq9AwDWlNfoTQ-s9q21aJQEsit4EzQxodq3aEWrMYQlL-rHDKC-aQ9eT7CRd2blA9qSEqiToQGuUnk4c--Ln72Hl3-WWCIzErBta6Zxefr2yI83xPzMuZJm85Mo6fW802-JQW3YKWW3SCNTANi9XrFUBsVVhXGnIxiAmgbxBl6mCwFiJTC9-hrXThdrks5EjkaOZhHgWoGWZQ__&Key-Pair-Id=K1HG1QXK3AL3BR",
"method": "GET"
},
{
"url": "https://cdn-lfs-us-1.hf.co/repos/48/29/4829a3c0b18453b5b13362a29a513b6902552cc52273d2fb4092cb0203b93c28/592558545d0ef05a4d29fd27eeeb5b63468f1f378bb1c50359a60f8d2a88f668?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27empty-cat-v1.png%3B+filename%3D%22empty-cat-v1.png%22%3B&response-content-type=image%2Fpng&Expires=1789551142&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc4OTU1MTE0Mn19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzQ4LzI5LzQ4MjlhM2MwYjE4NDUzYjViMTMzNjJhMjlhNTEzYjY5MDI1NTJjYzUyMjczZDJmYjQwOTJjYjAyMDNiOTNjMjgvNTkyNTU4NTQ1ZDBlZjA1YTRkMjlmZDI3ZWVlYjViNjM0NjhmMWYzNzhiYjFjNTAzNTlhNjBmOGQyYTg4ZjY2OD9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoifV19&Signature=P-AW35Km78478HKxD1xCRfdIfORz1cXnanLSAsU7%7EZaEAyfDCTooeUEeqAfBw-3qwzs1sSetBFgaz8NcjgVL7W-1I23KeYqVqBlfB1fBfzfc08qlUUmmHGDdWg2rsI0Uc2REszQcnIiAqOAMTg894MkIGSzebQIGj3kI9DyZXfKeEL0j8pD%7E2LjDq0VHRxi4FJGIX4QCxKAZMKB6xUkXWSU7s%7E984HiM%7EKWFdDUpconQVpfMJ34PKzy7BhjOcMBPpGNsnsR69V4lVJVAgcQtqXW%7E4V9vx4GzAtvLvZ30eA55TWW7KE0KbUcETnI2p5e4xDB1pPaHH6KMR%7Elr6Bs82A__&Key-Pair-Id=K1HG1QXK3AL3BR",
"method": "GET"
}
],
"mobileOverflow": false,
"device": {
"vendor": "amd",
"architecture": "rdna-3",
"features": [
"depth32float-stencil8",
"chromium-experimental-subgroup-matrix",
"rg11b10ufloat-renderable",
"texture-formats-tier1",
"bgra8unorm-storage",
"chromium-experimental-multi-draw-indirect",
"texture-compression-bc",
"dual-source-blending",
"chromium-experimental-sampling-resource-table",
"core-features-and-limits",
"chromium-experimental-timestamp-query-inside-passes",
"float32-filterable",
"indirect-first-instance",
"float32-blendable",
"subgroup-size-control",
"texture-compression-unaligned",
"depth-clip-control",
"texture-compression-bc-sliced-3d",
"clip-distances",
"shader-f16",
"timestamp-query",
"texture-formats-tier2",
"primitive-index",
"texture-component-swizzle",
"subgroups"
]
},
"passed": false
}