|
[ |
|
{ |
|
"metadataOutputVersion" : "3.0", |
|
"storagePrecision" : "Float16", |
|
"outputSchema" : [ |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 4 × 48 × 48)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 4, 48, 48]", |
|
"name" : "noise_pred", |
|
"type" : "MultiArray" |
|
} |
|
], |
|
"modelParameters" : [ |
|
|
|
], |
|
"specificationVersion" : 7, |
|
"mlProgramOperationTypeHistogram" : { |
|
"Transpose" : 18, |
|
"UpsampleNearestNeighbor" : 3, |
|
"Ios16.reduceMean" : 114, |
|
"Ios16.softmax" : 210, |
|
"Split" : 9, |
|
"Ios16.add" : 141, |
|
"Concat" : 28, |
|
"Ios16.realDiv" : 30, |
|
"Ios16.square" : 30, |
|
"Ios16.sub" : 57, |
|
"Ios16.cast" : 14, |
|
"Ios16.conv" : 153, |
|
"Ios16.einsum" : 420, |
|
"Ios16.gelu" : 9, |
|
"Ios16.reshape" : 78, |
|
"Ios16.batchNorm" : 30, |
|
"Ios16.rsqrt" : 27, |
|
"Ios16.silu" : 21, |
|
"Ios16.sqrt" : 30, |
|
"SliceByIndex" : 630, |
|
"Ios16.mul" : 300 |
|
}, |
|
"computePrecision" : "Mixed (Float16, Float32, Int32)", |
|
"isUpdatable" : "0", |
|
"availability" : { |
|
"macOS" : "13.0", |
|
"tvOS" : "16.0", |
|
"visionOS" : "1.0", |
|
"watchOS" : "9.0", |
|
"iOS" : "16.0", |
|
"macCatalyst" : "16.0" |
|
}, |
|
"modelType" : { |
|
"name" : "MLModelType_mlProgram" |
|
}, |
|
"userDefinedMetadata" : { |
|
"com.github.apple.coremltools.version" : "7.1", |
|
"com.github.apple.coremltools.source" : "milinternal" |
|
}, |
|
"inputSchema" : [ |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float16", |
|
"formattedType" : "MultiArray (Float16 2 × 1024 × 1 × 77)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 1024, 1, 77]", |
|
"name" : "encoder_hidden_states", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 1280 × 6 × 6)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 1280, 6, 6]", |
|
"name" : "hidden_states_149_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 1280 × 12 × 12)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 1280, 12, 12]", |
|
"name" : "input_169_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 2560 × 6 × 6)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 2560, 6, 6]", |
|
"name" : "input_253_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 1280 × 12 × 12)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 1280, 12, 12]", |
|
"name" : "input_143_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 320 × 48 × 48)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 320, 48, 48]", |
|
"name" : "input_7_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 320 × 48 × 48)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 320, 48, 48]", |
|
"name" : "input_61_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 640 × 24 × 24)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 640, 24, 24]", |
|
"name" : "input_115_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 320 × 24 × 24)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 320, 24, 24]", |
|
"name" : "input_63_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 640 × 12 × 12)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 640, 12, 12]", |
|
"name" : "input_117_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 1280 × 6 × 6)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 1280, 6, 6]", |
|
"name" : "input_171_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 640 × 24 × 24)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 640, 24, 24]", |
|
"name" : "input_89_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 1280, 1, 1]", |
|
"name" : "input_15_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 320 × 48 × 48)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 320, 48, 48]", |
|
"name" : "input_35_cast_fp16", |
|
"type" : "MultiArray" |
|
} |
|
], |
|
"generatedClassName" : "Stable_Diffusion_version_stabilityai_sd_turbo_unet_chunk2", |
|
"method" : "predict" |
|
} |
|
] |