tensor-header-desk / native /upload-unaligned-tensor.json
WideChaos's picture
Publish Tensor Header Desk 0.1.0
b670b80 verified
Raw History Blame Contribute Delete
1.75 kB
{
"schema": "tensor-header-desk/0.1.0",
"status": "layout-ok",
"file_bytes": "118",
"header_bytes": "105",
"payload_start": "113",
"payload_bytes": "5",
"header_sha256": "e2c82cd3efd2610abd7b15d1b39bba7ab06dd671c9a2283be5046c6221d4d381",
"header_json_utf8": "{\"a\":{\"dtype\":\"U8\",\"shape\":[1],\"data_offsets\":[0,1]},\"b\":{\"dtype\":\"F32\",\"shape\":[],\"data_offsets\":[1,5]}}",
"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": "a",
"descriptor": {
"dtype": "U8",
"shape": [
"1"
],
"data_offsets": [
"0",
"1"
]
},
"dtype": "U8",
"shape": [
"1"
],
"elements": "1",
"start": "0",
"end": "1",
"absolute_start": "113",
"absolute_end": "114",
"declared_bytes": "1",
"expected_bytes": "1"
},
{
"name": "b",
"descriptor": {
"dtype": "F32",
"shape": [],
"data_offsets": [
"1",
"5"
]
},
"dtype": "F32",
"shape": [],
"elements": "1",
"start": "1",
"end": "5",
"absolute_start": "114",
"absolute_end": "118",
"declared_bytes": "4",
"expected_bytes": "4"
}
],
"metadata": null,
"diagnostics": [],
"source_name": "unaligned-tensor.safetensors"
}