File size: 1,389 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
{
  "schema": "tensor-header-desk/0.1.0",
  "status": "invalid",
  "file_bytes": "52",
  "header_bytes": "40",
  "payload_start": "48",
  "payload_bytes": "4",
  "header_sha256": "00994a93ec8895fb438bb97767c1a175b096c091ac586d3ebee8680636686bca",
  "header_json_utf8": "{\"x\":{\"shape\":[4],\"data_offsets\":[0,4]}}",
  "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": {
        "shape": [
          "4"
        ],
        "data_offsets": [
          "0",
          "4"
        ]
      },
      "dtype": null,
      "shape": [
        "4"
      ],
      "elements": "4",
      "start": "0",
      "end": "4",
      "absolute_start": "48",
      "absolute_end": "52",
      "declared_bytes": "4",
      "expected_bytes": null
    }
  ],
  "metadata": null,
  "diagnostics": [
    {
      "code": "dtype-type",
      "kind": "invalid",
      "location": "tensor \"x\"",
      "message": "dtype must be a string"
    }
  ],
  "source_name": "missing-dtype.safetensors"
}