File size: 2,096 Bytes
b670b80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
  "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"
}