neonforestmist's picture
Place v2 Core ML resources at manifest root
4ac7126 verified
Raw
History Blame Contribute Delete
2.69 kB
[
{
"shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
"metadataOutputVersion" : "3.0",
"outputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 3 × 512 × 512)",
"shortDescription" : "Generated image normalized to range [-1, 1]",
"shape" : "[1, 3, 512, 512]",
"name" : "image",
"type" : "MultiArray"
}
],
"version" : "clover-image-tiny-inpaint-v2",
"modelParameters" : [
],
"author" : "Please refer to the Model Card available at huggingface.co\/clover-image-tiny-inpaint-v2",
"specificationVersion" : 9,
"storagePrecision" : "Float16",
"license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
"mlProgramOperationTypeHistogram" : {
"Ios18.square" : 30,
"Ios18.batchNorm" : 29,
"Ios18.conv" : 36,
"Ios18.sub" : 30,
"Ios18.linear" : 4,
"Ios18.scaledDotProductAttention" : 1,
"Ios18.add" : 46,
"Ios18.realDiv" : 30,
"Ios18.silu" : 29,
"Ios16.reduceMean" : 60,
"UpsampleNearestNeighbor" : 3,
"Ios18.transpose" : 6,
"Ios18.cast" : 1,
"Ios18.reshape" : 65,
"Ios18.sqrt" : 30,
"Ios18.mul" : 1
},
"computePrecision" : "Mixed (Float16, Float32, Int32)",
"stateSchema" : [
],
"isUpdatable" : "0",
"availability" : {
"macOS" : "15.0",
"tvOS" : "18.0",
"visionOS" : "2.0",
"watchOS" : "11.0",
"iOS" : "18.0",
"macCatalyst" : "18.0"
},
"modelType" : {
"name" : "MLModelType_mlProgram"
},
"inputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float16",
"formattedType" : "MultiArray (Float16 1 × 4 × 64 × 64)",
"shortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion",
"shape" : "[1, 4, 64, 64]",
"name" : "z",
"type" : "MultiArray"
}
],
"userDefinedMetadata" : {
"com.github.apple.coremltools.conversion_date" : "2026-08-11",
"com.github.apple.coremltools.source" : "torch==2.7.0",
"com.github.apple.coremltools.version" : "9.0",
"com.github.apple.coremltools.source_dialect" : "TorchScript"
},
"generatedClassName" : "Stable_Diffusion_version_clover_image_tiny_inpaint_v2_vae_decoder",
"method" : "predict"
}
]