Spaces:
Running
Running
Download native/upload-empty-interior.json from WideChaos/tensor-header-desk: direct link, hf CLI and curl.
- Browser
- Download file 2.1 kB
-
https://huggingface.co/spaces/WideChaos/tensor-header-desk/resolve/main/native/upload-empty-interior.json
- Command line
-
hf download hf://spaces/WideChaos/tensor-header-desk/native/upload-empty-interior.json
-
curl -L -o upload-empty-interior.json https://huggingface.co/spaces/WideChaos/tensor-header-desk/resolve/main/native/upload-empty-interior.json
2.1 kB
| { | |
| "schema": "tensor-header-desk/0.1.0", | |
| "status": "invalid", | |
| "file_bytes": "118", | |
| "header_bytes": "106", | |
| "payload_start": "114", | |
| "payload_bytes": "4", | |
| "header_sha256": "917d7918af509e0e46acda4efd5e3f1d3e41fea7a3fc204aa04a0f26ecfd6450", | |
| "header_json_utf8": "{\"x\":{\"dtype\":\"U8\",\"shape\":[4],\"data_offsets\":[0,4]},\"e\":{\"dtype\":\"F64\",\"shape\":[0],\"data_offsets\":[2,2]}}", | |
| "declared_tensor_count": 2, | |
| "descriptor_number_encoding": "JSON number lexemes are decimal strings in descriptor summaries. header_json_utf8 preserves exact original spelling, types, key order and whitespace.", | |
| "hash_scope": "8-byte length prefix plus complete JSON header; tensor payload excluded", | |
| "payload_read": false, | |
| "limits": { | |
| "header": 1048576, | |
| "tensors": 10000, | |
| "depth": 32 | |
| }, | |
| "tensors": [ | |
| { | |
| "name": "x", | |
| "descriptor": { | |
| "dtype": "U8", | |
| "shape": [ | |
| "4" | |
| ], | |
| "data_offsets": [ | |
| "0", | |
| "4" | |
| ] | |
| }, | |
| "dtype": "U8", | |
| "shape": [ | |
| "4" | |
| ], | |
| "elements": "4", | |
| "start": "0", | |
| "end": "4", | |
| "absolute_start": "114", | |
| "absolute_end": "118", | |
| "declared_bytes": "4", | |
| "expected_bytes": "4" | |
| }, | |
| { | |
| "name": "e", | |
| "descriptor": { | |
| "dtype": "F64", | |
| "shape": [ | |
| "0" | |
| ], | |
| "data_offsets": [ | |
| "2", | |
| "2" | |
| ] | |
| }, | |
| "dtype": "F64", | |
| "shape": [ | |
| "0" | |
| ], | |
| "elements": "0", | |
| "start": "2", | |
| "end": "2", | |
| "absolute_start": "116", | |
| "absolute_end": "116", | |
| "declared_bytes": "0", | |
| "expected_bytes": "0" | |
| } | |
| ], | |
| "metadata": null, | |
| "diagnostics": [ | |
| { | |
| "code": "overlap", | |
| "kind": "invalid", | |
| "location": "tensor \"e\"", | |
| "message": "Expected next offset 4, found 2" | |
| }, | |
| { | |
| "code": "unindexed-tail", | |
| "kind": "invalid", | |
| "location": "file", | |
| "message": "Last offset 2 differs from payload length 4" | |
| } | |
| ], | |
| "source_name": "empty-interior.safetensors" | |
| } | |