memgrafter's picture
Ming-3.0-tts-0.5B Core ML fp16 build
a3b7c91 verified
Raw History Blame Contribute Delete
10.3 kB
[
{
"metadataOutputVersion" : "3.0",
"storagePrecision" : "Float16",
"outputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 903168)",
"shortDescription" : "",
"shape" : "[1, 903168]",
"name" : "audio",
"type" : "MultiArray"
}
],
"modelParameters" : [
],
"specificationVersion" : 9,
"functions" : [
{
"inputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 16 × 64)",
"shortDescription" : "",
"shape" : "[1, 16, 64]",
"name" : "latents",
"type" : "MultiArray"
}
],
"computePrecision" : "Mixed (Float16, Float32, Int32)",
"storagePrecision" : "Float16",
"stateSchema" : [
],
"outputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 56448)",
"shortDescription" : "",
"shape" : "[1, 56448]",
"name" : "audio",
"type" : "MultiArray"
}
],
"name" : "decode_16",
"mlProgramOperationTypeHistogram" : {
"Ios18.softmax" : 24,
"Ios18.mul" : 299,
"Ios18.cos" : 1,
"Ios18.expandDims" : 1,
"Ios18.matmul" : 48,
"Ios18.rsqrt" : 49,
"Ios18.exp" : 1,
"Ios16.reduceMean" : 49,
"Split" : 48,
"Ios18.sin" : 1,
"Tile" : 48,
"Ios18.add" : 177,
"Ios18.reshape" : 195,
"Pad" : 4,
"Ios18.linear" : 172,
"Ios18.clip" : 1,
"Ios18.concat" : 49,
"Ios18.cast" : 2,
"Ios18.pow" : 49,
"Stack" : 1,
"Ios18.transpose" : 216,
"Ios18.silu" : 24,
"Ios18.sliceByIndex" : 13
}
},
{
"inputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 32 × 64)",
"shortDescription" : "",
"shape" : "[1, 32, 64]",
"name" : "latents",
"type" : "MultiArray"
}
],
"computePrecision" : "Mixed (Float16, Float32, Int32)",
"storagePrecision" : "Float16",
"stateSchema" : [
],
"outputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 112896)",
"shortDescription" : "",
"shape" : "[1, 112896]",
"name" : "audio",
"type" : "MultiArray"
}
],
"name" : "decode_32",
"mlProgramOperationTypeHistogram" : {
"Ios18.softmax" : 24,
"Ios18.mul" : 299,
"Ios18.cos" : 1,
"Ios18.expandDims" : 1,
"Ios18.matmul" : 48,
"Ios18.rsqrt" : 49,
"Ios18.exp" : 1,
"Ios16.reduceMean" : 49,
"Split" : 48,
"Ios18.sin" : 1,
"Tile" : 48,
"Ios18.add" : 177,
"Ios18.reshape" : 195,
"Pad" : 4,
"Ios18.linear" : 172,
"Ios18.clip" : 1,
"Ios18.concat" : 49,
"Ios18.cast" : 2,
"Ios18.pow" : 49,
"Stack" : 1,
"Ios18.transpose" : 216,
"Ios18.silu" : 24,
"Ios18.sliceByIndex" : 13
}
},
{
"inputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 64 × 64)",
"shortDescription" : "",
"shape" : "[1, 64, 64]",
"name" : "latents",
"type" : "MultiArray"
}
],
"computePrecision" : "Mixed (Float16, Float32, Int32)",
"storagePrecision" : "Float16",
"stateSchema" : [
],
"outputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 225792)",
"shortDescription" : "",
"shape" : "[1, 225792]",
"name" : "audio",
"type" : "MultiArray"
}
],
"name" : "decode_64",
"mlProgramOperationTypeHistogram" : {
"Ios18.softmax" : 24,
"Ios18.mul" : 299,
"Ios18.cos" : 1,
"Ios18.expandDims" : 1,
"Ios18.matmul" : 48,
"Ios18.rsqrt" : 49,
"Ios18.exp" : 1,
"Ios16.reduceMean" : 49,
"Split" : 48,
"Ios18.sin" : 1,
"Tile" : 48,
"Ios18.add" : 177,
"Ios18.reshape" : 195,
"Pad" : 4,
"Ios18.linear" : 172,
"Ios18.clip" : 1,
"Ios18.concat" : 49,
"Ios18.cast" : 2,
"Ios18.pow" : 49,
"Stack" : 1,
"Ios18.transpose" : 216,
"Ios18.silu" : 24,
"Ios18.sliceByIndex" : 13
}
},
{
"inputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 128 × 64)",
"shortDescription" : "",
"shape" : "[1, 128, 64]",
"name" : "latents",
"type" : "MultiArray"
}
],
"computePrecision" : "Mixed (Float16, Float32, Int32)",
"storagePrecision" : "Float16",
"stateSchema" : [
],
"outputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 451584)",
"shortDescription" : "",
"shape" : "[1, 451584]",
"name" : "audio",
"type" : "MultiArray"
}
],
"name" : "decode_128",
"mlProgramOperationTypeHistogram" : {
"Ios18.softmax" : 24,
"Ios18.mul" : 299,
"Ios18.cos" : 1,
"Ios18.expandDims" : 1,
"Ios18.matmul" : 48,
"Ios18.rsqrt" : 49,
"Ios18.exp" : 1,
"Ios16.reduceMean" : 49,
"Split" : 48,
"Ios18.sin" : 1,
"Tile" : 48,
"Ios18.add" : 177,
"Ios18.reshape" : 195,
"Pad" : 4,
"Ios18.linear" : 172,
"Ios18.clip" : 1,
"Ios18.concat" : 49,
"Ios18.cast" : 2,
"Ios18.pow" : 49,
"Stack" : 1,
"Ios18.transpose" : 216,
"Ios18.silu" : 24,
"Ios18.sliceByIndex" : 13
}
},
{
"inputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 256 × 64)",
"shortDescription" : "",
"shape" : "[1, 256, 64]",
"name" : "latents",
"type" : "MultiArray"
}
],
"computePrecision" : "Mixed (Float16, Float32, Int32)",
"storagePrecision" : "Float16",
"stateSchema" : [
],
"outputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 903168)",
"shortDescription" : "",
"shape" : "[1, 903168]",
"name" : "audio",
"type" : "MultiArray"
}
],
"name" : "decode_256",
"mlProgramOperationTypeHistogram" : {
"Ios18.softmax" : 24,
"Ios18.mul" : 299,
"Ios18.cos" : 1,
"Ios18.expandDims" : 1,
"Ios18.matmul" : 48,
"Ios18.rsqrt" : 49,
"Ios18.exp" : 1,
"Ios16.reduceMean" : 49,
"Split" : 48,
"Ios18.sin" : 1,
"Tile" : 48,
"Ios18.add" : 177,
"Ios18.reshape" : 195,
"Pad" : 4,
"Ios18.linear" : 172,
"Ios18.clip" : 1,
"Ios18.concat" : 49,
"Ios18.cast" : 2,
"Ios18.pow" : 49,
"Stack" : 1,
"Ios18.transpose" : 216,
"Ios18.silu" : 24,
"Ios18.sliceByIndex" : 13
}
}
],
"mlProgramOperationTypeHistogram" : {
"Ios18.softmax" : 24,
"Ios18.mul" : 299,
"Ios18.cos" : 1,
"Ios18.expandDims" : 1,
"Ios18.matmul" : 48,
"Ios18.rsqrt" : 49,
"Ios18.exp" : 1,
"Ios16.reduceMean" : 49,
"Split" : 48,
"Ios18.sin" : 1,
"Tile" : 48,
"Ios18.add" : 177,
"Ios18.reshape" : 195,
"Pad" : 4,
"Ios18.linear" : 172,
"Ios18.clip" : 1,
"Ios18.concat" : 49,
"Ios18.cast" : 2,
"Ios18.pow" : 49,
"Stack" : 1,
"Ios18.transpose" : 216,
"Ios18.silu" : 24,
"Ios18.sliceByIndex" : 13
},
"isUpdatable" : "0",
"stateSchema" : [
],
"availability" : {
"macOS" : "15.0",
"tvOS" : "18.0",
"visionOS" : "2.0",
"watchOS" : "11.0",
"iOS" : "18.0",
"macCatalyst" : "18.0"
},
"computePrecision" : "Mixed (Float16, Float32, Int32)",
"modelType" : {
"name" : "MLModelType_mlProgram"
},
"inputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 256 × 64)",
"shortDescription" : "",
"shape" : "[1, 256, 64]",
"name" : "latents",
"type" : "MultiArray"
}
],
"defaultFunctionName" : "decode_256",
"generatedClassName" : "MingDecoder",
"userDefinedMetadata" : {
},
"method" : "predict"
}
]