File size: 2,316 Bytes
f174180
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[
  {
    "shortDescription" : "MiniCPM-V 4.0 vit on ANE",
    "metadataOutputVersion" : "3.0",
    "outputSchema" : [
      {
        "hasShapeFlexibility" : "0",
        "isOptional" : "0",
        "dataType" : "Float32",
        "formattedType" : "MultiArray (Float32 1 × 1024 × 1152)",
        "shortDescription" : "",
        "shape" : "[1, 1024, 1152]",
        "name" : "output",
        "type" : "MultiArray"
      }
    ],
    "version" : "4.0.0",
    "modelParameters" : [

    ],
    "author" : "tianchi",
    "specificationVersion" : 6,
    "storagePrecision" : "Float16",
    "license" : "Apache 2.0",
    "mlProgramOperationTypeHistogram" : {
      "Linear" : 162,
      "Matmul" : 54,
      "Cast" : 2,
      "Softmax" : 27,
      "Mul" : 27,
      "Transpose" : 108,
      "LayerNorm" : 55,
      "Add" : 54,
      "Reshape" : 108,
      "Gelu" : 27
    },
    "computePrecision" : "Mixed (Float16, Float32, Int32)",
    "stateSchema" : [

    ],
    "isUpdatable" : "0",
    "availability" : {
      "macOS" : "12.0",
      "tvOS" : "15.0",
      "visionOS" : "1.0",
      "watchOS" : "8.0",
      "iOS" : "15.0",
      "macCatalyst" : "15.0"
    },
    "modelType" : {
      "name" : "MLModelType_mlProgram"
    },
    "inputSchema" : [
      {
        "hasShapeFlexibility" : "0",
        "isOptional" : "0",
        "dataType" : "Float32",
        "formattedType" : "MultiArray (Float32 1 × 1024 × 1152)",
        "shortDescription" : "",
        "shape" : "[1, 1024, 1152]",
        "name" : "input",
        "type" : "MultiArray"
      }
    ],
    "userDefinedMetadata" : {
      "converter" : "coremltools",
      "compute_units" : "ALL",
      "deployment_target" : "iOS15+",
      "model_id" : "61a76759-ea68-463d-bbdf-bb8ded301a81",
      "com.github.apple.coremltools.version" : "8.3.0",
      "base_model" : "MiniCPM-V4",
      "owner" : "tianchi",
      "input_shape" : "torch.Size([1, 1024, 1152])",
      "batch_size" : "1",
      "precision" : "float16",
      "target_device" : "ANE",
      "com.github.apple.coremltools.source" : "torch==2.6.0",
      "com.github.apple.coremltools.source_dialect" : "TorchScript",
      "framework" : "pytorch",
      "model_type" : "vision_transformer"
    },
    "generatedClassName" : "ane_minicpmv4_vit_f16",
    "method" : "predict"
  }
]