tensor-header-desk / native /upload-subbyte-misaligned.json
WideChaos's picture
Publish Tensor Header Desk 0.1.0
b670b80 verified
Raw History Blame Contribute Delete
1.47 kB
{
"schema": "tensor-header-desk/0.1.0",
"status": "invalid",
"file_bytes": "63",
"header_bytes": "53",
"payload_start": "61",
"payload_bytes": "2",
"header_sha256": "497f67483ba44d8cc8116acf225138c9bc05e708b45e46d543b3fde9f141a7d7",
"header_json_utf8": "{\"x\":{\"dtype\":\"F4\",\"shape\":[3],\"data_offsets\":[0,2]}}",
"declared_tensor_count": 1,
"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": "F4",
"shape": [
"3"
],
"data_offsets": [
"0",
"2"
]
},
"dtype": "F4",
"shape": [
"3"
],
"elements": "3",
"start": "0",
"end": "2",
"absolute_start": "61",
"absolute_end": "63",
"declared_bytes": "2",
"expected_bytes": null
}
],
"metadata": null,
"diagnostics": [
{
"code": "subbyte-alignment",
"kind": "invalid",
"location": "tensor \"x\"",
"message": "Tensor bit count is not a whole number of bytes"
}
],
"source_name": "subbyte-misaligned.safetensors"
}