{ "name": "stable-diffusion-v1-5-lcm-inpainting-coreml", "version": "1.0.0", "source_model": "runwayml/stable-diffusion-1-5-inpainting", "scheduler": "LCMScheduler", "quantization": { "scheme": "palettization", "mode": "kmeans", "granularity": "per_tensor", "per_submodel": { "text_encoder": 6, "unet": 8, "vae_encoder": 6, "vae_decoder": 6 } }, "target": { "minimum_deployment_target": "iOS 16.0", "compute_units": "CPU_AND_NE", "convert_to": "mlprogram", "compute_precision": "float16" }, "submodels": { "TextEncoder": { "input": "input_ids int32 [1, 77]", "output": "last_hidden_state float16 [1, 77, 768]" }, "Unet": { "input": "sample+timestep+encoder_hidden_states+image+mask", "output": "noise_residual float16 [1, 4, 64, 64]" }, "VAEEncoder": { "input": "image float16 [1, 3, 512, 512]", "output": "latent float16 [1, 4, 64, 64]" }, "VAEDecoder": { "input": "latent float16 [1, 4, 64, 64]", "output": "image float16 [1, 3, 512, 512]" } }, "license": "OpenRAIL-M (inherited from runwayml/stable-diffusion-1-5-inpainting)" }