A model is still running

A model is still running or downloading. Leaving will stop the current operation. Stay on this page to let it finish.

Skip to content
LocalAI.toolsBeta

Join the waitlist

Get an email when the new apps and model runs launch.

No account needed.

Stable Diffusion 2 Inpainting

Fill white-masked regions from an English prompt using Stable Diffusion 2 Inpainting. Preserves unmasked pixels and returns a same-size PNG.

Desktop inferencePrivate · Runs on your computer
About this model

Fill white-masked regions from an English prompt using Stable Diffusion 2 Inpainting. Preserves unmasked pixels and returns a same-size PNG.

Created by
Stability AI
Model released
Nov 24, 2022
Source repository created
Unknown
Model weights · FP32
2.6 GB

Best for

  • Local prompt-guided image editing and creative drafts
  • Replacing painted regions with generated objects or textures

Keep in mind

  • Generated regions are guesses and may contain distorted faces, text, anatomy, objects or edges; not factual evidence or recovered detail.
  • English OpenCLIP prompt conditioning truncates at 77 tokens; text, hands, small objects and difficult composition can fail.
  • The pinned upstream SD2 pipeline supplies no safety checker. nsfwContentDetected is null (unassessed), never a claim that output is safe. Outputs can reflect bias, adult content and memorization; review results and follow the OpenRAIL++ license.
  • Opaque still PNG/JPEG and same-size mask required; alpha, animation and HDR fidelity are unsupported. White (>127) generates; black preserves.
  • Small images are enlarged to a 512-pixel short edge for conditioning, then generated pixels are resized back before exact original-mask compositing. Aspect ratio is retained; stride-8 reflection padding is cropped. Fine masked detail may be lost.
  • Only FP32 CPU/Metal on the recorded Apple M3 Max host is verified. FP16 execution, Windows, Intel Mac and other OS/chips are unverified. Stored FP16 weights are cast to FP32.
  • The four authored fixtures are a limited prompt/CLIP and mask-preservation pilot, not broad aesthetic, semantic or safety certification.
  • Artifact repository is an unaffiliated mirror of deprecated Stability AI weights. Its 2025 upload is not a new release. Original source revision/update and repository creation cannot be recovered from the unavailable original host.
  • On-demand model-scoped app-owned Python/packages; no system Python dependency. Memory increases with resolution. Streaming is unavailable because the runtime returns only the completed image.

Processed on your deviceYour input is processed locally in the desktop app. Model and runtime files download from external hosts.

Target platforms · verification required

  • macos · aarch64, x86_64
  • windows · x86_64

Recommended configuration

FP32 · mps (verified platform only)

Sources & technical details
Original model
https://huggingface.co/stabilityai/stable-diffusion-2-inpainting
Release verification
Verified
Release evidence
Official 2.0 announcement explicitly includes the inpainting checkpoint. Older-model exception: user explicitly requested Stable Diffusion 2 Inpainting. Original hosting repository is deprecated; creation and final update timestamps unavailable. Mirror creation is not original release.
Source updated
unknown-deprecated-original
Native model files
https://huggingface.co/sd2-community/stable-diffusion-2-inpainting
Files updated
Nov 15, 2025
Artifact revision
5f74973cbb64c8568780732c17f43eb269d63a0d

Desktop app

Sample result

Stable Diffusion 2 Inpainting

Run Stable Diffusion 2 Inpainting on your computer

Download the desktop app to load this model, provide input and view results locally.

Public desktop downloads are coming soon.

Device requirements

macOS Apple SiliconCPU / FP32Tested16.0 GiBRAM estimate
macOS Apple SiliconMPS / FP32Tested16.0 GiBRAM estimate
Windows Intel / AMDCPU / FP32Unverified16.0 GiBRAM estimate
macOS Intel / AMDCPU / FP32Unverified16.0 GiBRAM estimate
If your device falls short

MemoryAdvisory only: close other apps, reduce image/tile/token/batch settings or choose a smaller verified model/precision. CPU can need more RAM than GPU.

GPUIf the selected GPU runtime fails, existing CPU fallback may recover when enabled, but CPU has its own memory/runtime needs.

PlatformUse a compatible OS/architecture/runtime or another model. These estimates do not add hardware detection or block runs.

Benchmark evidence

Saved desktop measurements apply to the recorded hardware and runtime. Fallback cases report the device that actually ran; they do not prove GPU support on the requested device.

Stable Diffusion 2 Inpainting

12 configurations tested
Passed12
Failed0
TestedNov 3, 2026
Runtimediffusers 0.32.2

Quality criteria

No explicit quality gate recorded. Review per-case evidence; full certification is pending.

PrecisionDeviceResultPlatformInference / loadTask metric
FP32mpsAcceleratedPassedModeratemacos · aarch648523 ms / 0 ms0.031 MP/s
FP32mpsAcceleratedPassedModeratemacos · aarch648545 ms / 0 ms0.031 MP/s
FP32mpsAcceleratedPassedModeratemacos · aarch648548 ms / 0 ms0.008 MP/s
FP32mpsAcceleratedPassedModeratemacos · aarch649024 ms / 1185 ms0.029 MP/s
FP32mpsAcceleratedPassedModeratemacos · aarch6410109 ms / 1171 ms0.026 MP/s
FP32mpsAcceleratedPassedModeratemacos · aarch6416926 ms / 0 ms0.006 MP/s
FP32cpuPassedSlowmacos · aarch6442678 ms / 0 ms0.002 MP/s
FP32cpuPassedSlowmacos · aarch6442765 ms / 0 ms0.006 MP/s
FP32cpuPassedSlowmacos · aarch6442795 ms / 538 ms0.006 MP/s
FP32cpuPassedSlowmacos · aarch6442838 ms / 533 ms0.006 MP/s
FP32cpuPassedSlowmacos · aarch6449507 ms / 0 ms0.005 MP/s
FP32cpuPassedSlowmacos · aarch6471445 ms / 0 ms0.001 MP/s
Test setup & sample details
Quality gate
No explicit quality gate recorded. Review the per-case quality evidence; full certification is pending.
Tested
2026-11-03T23:45:28.767807+00:00
Environment
{ "hardware": "Apple M3 Max", "os": "macOS 27.2 arm64", "python": "3.13.18", "runtime": "Diffusers0.32.2/Transformers4.51.3/Torch2.6.0" }
Runtime
diffusers 0.32.2
Artifact revision
5f74973cbb64c8568780732c17f43eb269d63a0d
Fixture
{
  "file": "model-samples/desktop/sd-inpainting/apple-input.png",
  "size": 1973,
  "sha1": "487d764f617fc722991378183f76fec4f55c2370",
  "sha256": "6495fc916e21c21cf147ced19cba84b0ae33804c3e023c3131c64574fe4c4f76",
  "url": "https://assets.localai.tools/samples/v1/files/6495fc916e21c21cf147ced19cba84b0ae33804c3e023c3131c64574fe4c4f76/apple-input.png"
}
Rerun when
artifact revision/checksums; Diffusers/Transformers/Torch/NumPy/Pillow/driver/device; scheduler/mask/padding/compositing/VAE tiling/attention implementation; fixtures/prompt/config/CLIP evaluator/quality gates; SD2 minimum-512 conditioning resize policy
Per-case quality & failure details
[
  {
    "precision": "fp32",
    "device": "mps",
    "status": "pass",
    "quality": {
      "passed": true,
      "outsideMaskExact": true,
      "dimensionsExact": true,
      "emptyMaskIdentity": true,
      "maskedClipCosine": 0.28230634331703186,
      "maskedStd": 0.1783277541399002,
      "evaluatorRevision": "3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268",
      "gates": {
        "scope": "Existing authored apple, duck, irregular mug and empty-mask fixtures; not broad aesthetics or safety certification",
        "minimumMaskedClipCosine": 0.22,
        "minimumMaskedStd": 0.03,
        "outsideMaskExact": true,
        "dimensionsExact": true,
        "emptyMaskIdentity": true,
        "manualVisualReview": true,
        "safetyCheckerAvailable": false,
        "performance": {
          "maximumGpuSeconds": 60,
          "maximumCpuSeconds": 180,
          "scope": "512px,20 steps; initial practical acceptance"
        },
        "olderModelException": "User explicitly requested SD2 Inpainting on 2026-11-03; original checkpoint released 2022-11-24. This is not a recent-model recommendation."
      }
    },
    "runtime": {
      "engine": "diffusers",
      "version": "0.32.2",
      "transformersVersion": "4.51.3",
      "torchVersion": "2.6.0",
      "loadMs": 1170.897000003606,
      "device": "mps",
      "placement": {
        "unet": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "text_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        }
      },
      "parameterDtype": "torch.float32",
      "provider": "Metal/MPS",
      "acceleration": "partial",
      "accelerationDetails": "UNet/VAE/OpenCLIP on selected device; tokenize/decode/padding/mask composite/PNG and seeded RNG CPU",
      "observedPlacement": {
        "text_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "unet": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae_decoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        }
      },
      "inferenceMs": 10109.367124998244,
      "durationMs": 10143.02829199005,
      "seed": 42,
      "steps": 20,
      "guidanceScale": 7.5,
      "promptTokens": 13,
      "promptTruncated": false,
      "negativePromptTokens": 2,
      "safetyCheckerAvailable": false,
      "maskedPixels": 147456,
      "paddedWidth": 512,
      "paddedHeight": 512,
      "megapixelsPerSecond": 0.025930802270675825,
      "driverAllocatedMemoryBytes": 8301002752,
      "precision": "fp32",
      "cpuThreads": 4,
      "artifactRevision": "5f74973cbb64c8568780732c17f43eb269d63a0d",
      "fallback": false,
      "totalMs": 11313.925291993655,
      "imagesPerSecond": 0.09891816051740962,
      "grade": "moderate",
      "performancePassed": true
    }
  },
  {
    "precision": "fp32",
    "device": "mps",
    "status": "pass",
    "quality": {
      "passed": true,
      "outsideMaskExact": true,
      "dimensionsExact": true,
      "emptyMaskIdentity": true,
      "maskedClipCosine": 0.34633636474609375,
      "maskedStd": 0.27024951577186584,
      "evaluatorRevision": "3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268",
      "gates": {
        "scope": "Existing authored apple, duck, irregular mug and empty-mask fixtures; not broad aesthetics or safety certification",
        "minimumMaskedClipCosine": 0.22,
        "minimumMaskedStd": 0.03,
        "outsideMaskExact": true,
        "dimensionsExact": true,
        "emptyMaskIdentity": true,
        "manualVisualReview": true,
        "safetyCheckerAvailable": false,
        "performance": {
          "maximumGpuSeconds": 60,
          "maximumCpuSeconds": 180,
          "scope": "512px,20 steps; initial practical acceptance"
        },
        "olderModelException": "User explicitly requested SD2 Inpainting on 2026-11-03; original checkpoint released 2022-11-24. This is not a recent-model recommendation."
      }
    },
    "runtime": {
      "engine": "diffusers",
      "version": "0.32.2",
      "transformersVersion": "4.51.3",
      "torchVersion": "2.6.0",
      "loadMs": 0,
      "device": "mps",
      "placement": {
        "unet": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "text_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        }
      },
      "parameterDtype": "torch.float32",
      "provider": "Metal/MPS",
      "acceleration": "partial",
      "accelerationDetails": "UNet/VAE/OpenCLIP on selected device; tokenize/decode/padding/mask composite/PNG and seeded RNG CPU",
      "observedPlacement": {
        "text_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "unet": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae_decoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        }
      },
      "inferenceMs": 8544.844749994809,
      "durationMs": 8583.327125001233,
      "seed": 42,
      "steps": 20,
      "guidanceScale": 7.5,
      "promptTokens": 13,
      "promptTruncated": false,
      "negativePromptTokens": 2,
      "safetyCheckerAvailable": false,
      "maskedPixels": 147456,
      "paddedWidth": 512,
      "paddedHeight": 512,
      "megapixelsPerSecond": 0.030678614728507414,
      "driverAllocatedMemoryBytes": 8301002752,
      "precision": "fp32",
      "cpuThreads": 4,
      "artifactRevision": "5f74973cbb64c8568780732c17f43eb269d63a0d",
      "fallback": false,
      "totalMs": 8583.327125001233,
      "imagesPerSecond": 0.11702962771800009,
      "grade": "moderate",
      "performancePassed": true
    }
  },
  {
    "precision": "fp32",
    "device": "mps",
    "status": "pass",
    "quality": {
      "passed": true,
      "outsideMaskExact": true,
      "dimensionsExact": true,
      "emptyMaskIdentity": true,
      "maskedClipCosine": 0.29755884408950806,
      "maskedStd": 0.196822389960289,
      "evaluatorRevision": "3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268",
      "gates": {
        "scope": "Existing authored apple, duck, irregular mug and empty-mask fixtures; not broad aesthetics or safety certification",
        "minimumMaskedClipCosine": 0.22,
        "minimumMaskedStd": 0.03,
        "outsideMaskExact": true,
        "dimensionsExact": true,
        "emptyMaskIdentity": true,
        "manualVisualReview": true,
        "safetyCheckerAvailable": false,
        "performance": {
          "maximumGpuSeconds": 60,
          "maximumCpuSeconds": 180,
          "scope": "512px,20 steps; initial practical acceptance"
        },
        "olderModelException": "User explicitly requested SD2 Inpainting on 2026-11-03; original checkpoint released 2022-11-24. This is not a recent-model recommendation."
      }
    },
    "runtime": {
      "engine": "diffusers",
      "version": "0.32.2",
      "transformersVersion": "4.51.3",
      "torchVersion": "2.6.0",
      "loadMs": 0,
      "device": "mps",
      "placement": {
        "unet": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "text_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        }
      },
      "parameterDtype": "torch.float32",
      "provider": "Metal/MPS",
      "acceleration": "partial",
      "accelerationDetails": "UNet/VAE/OpenCLIP on selected device; tokenize/decode/padding/mask composite/PNG and seeded RNG CPU",
      "observedPlacement": {
        "text_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "unet": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae_decoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        }
      },
      "inferenceMs": 16925.846875004936,
      "durationMs": 16948.123290989315,
      "seed": 42,
      "steps": 20,
      "guidanceScale": 7.5,
      "promptTokens": 14,
      "promptTruncated": false,
      "negativePromptTokens": 2,
      "safetyCheckerAvailable": false,
      "maskedPixels": 56260,
      "paddedWidth": 768,
      "paddedHeight": 512,
      "megapixelsPerSecond": 0.005921889802041044,
      "driverAllocatedMemoryBytes": 11993350144,
      "precision": "fp32",
      "cpuThreads": 4,
      "artifactRevision": "5f74973cbb64c8568780732c17f43eb269d63a0d",
      "fallback": false,
      "totalMs": 16948.123290989315,
      "imagesPerSecond": 0.059081238734159845,
      "grade": "moderate",
      "performancePassed": true
    }
  },
  {
    "precision": "fp32",
    "device": "mps",
    "status": "pass",
    "quality": {
      "passed": true,
      "outsideMaskExact": true,
      "dimensionsExact": true,
      "emptyMaskIdentity": true,
      "maskedClipCosine": null,
      "maskedStd": null,
      "evaluatorRevision": "3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268",
      "gates": {
        "scope": "Existing authored apple, duck, irregular mug and empty-mask fixtures; not broad aesthetics or safety certification",
        "minimumMaskedClipCosine": 0.22,
        "minimumMaskedStd": 0.03,
        "outsideMaskExact": true,
        "dimensionsExact": true,
        "emptyMaskIdentity": true,
        "manualVisualReview": true,
        "safetyCheckerAvailable": false,
        "performance": {
          "maximumGpuSeconds": 60,
          "maximumCpuSeconds": 180,
          "scope": "512px,20 steps; initial practical acceptance"
        },
        "olderModelException": "User explicitly requested SD2 Inpainting on 2026-11-03; original checkpoint released 2022-11-24. This is not a recent-model recommendation."
      }
    },
    "runtime": {
      "engine": "diffusers",
      "version": "0.32.2",
      "transformersVersion": "4.51.3",
      "torchVersion": "2.6.0",
      "loadMs": 0,
      "device": "mps",
      "placement": {
        "unet": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "text_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        }
      },
      "parameterDtype": "torch.float32",
      "provider": "Metal/MPS",
      "acceleration": "partial",
      "accelerationDetails": "UNet/VAE/OpenCLIP on selected device; tokenize/decode/padding/mask composite/PNG and seeded RNG CPU",
      "observedPlacement": {
        "text_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "unet": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae_decoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        }
      },
      "inferenceMs": 8548.237749986583,
      "durationMs": 8557.742250006413,
      "seed": 42,
      "steps": 20,
      "guidanceScale": 7.5,
      "promptTokens": 12,
      "promptTruncated": false,
      "negativePromptTokens": 2,
      "safetyCheckerAvailable": false,
      "maskedPixels": 0,
      "paddedWidth": 512,
      "paddedHeight": 512,
      "megapixelsPerSecond": 0.007666609413162714,
      "driverAllocatedMemoryBytes": 11842355200,
      "precision": "fp32",
      "cpuThreads": 4,
      "artifactRevision": "5f74973cbb64c8568780732c17f43eb269d63a0d",
      "fallback": false,
      "totalMs": 8557.742250006413,
      "imagesPerSecond": 0.11698317586002677,
      "grade": "moderate",
      "performancePassed": true
    }
  },
  {
    "precision": "fp32",
    "device": "mps",
    "status": "pass",
    "quality": {
      "passed": true,
      "outsideMaskExact": true,
      "dimensionsExact": true,
      "emptyMaskIdentity": true,
      "maskedClipCosine": 0.28230634331703186,
      "maskedStd": 0.1783277541399002,
      "evaluatorRevision": "3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268",
      "gates": {
        "scope": "Existing authored apple, duck, irregular mug and empty-mask fixtures; not broad aesthetics or safety certification",
        "minimumMaskedClipCosine": 0.22,
        "minimumMaskedStd": 0.03,
        "outsideMaskExact": true,
        "dimensionsExact": true,
        "emptyMaskIdentity": true,
        "manualVisualReview": true,
        "safetyCheckerAvailable": false,
        "performance": {
          "maximumGpuSeconds": 60,
          "maximumCpuSeconds": 180,
          "scope": "512px,20 steps; initial practical acceptance"
        },
        "olderModelException": "User explicitly requested SD2 Inpainting on 2026-11-03; original checkpoint released 2022-11-24. This is not a recent-model recommendation."
      }
    },
    "runtime": {
      "engine": "diffusers",
      "version": "0.32.2",
      "transformersVersion": "4.51.3",
      "torchVersion": "2.6.0",
      "loadMs": 0,
      "device": "mps",
      "placement": {
        "unet": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "text_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        }
      },
      "parameterDtype": "torch.float32",
      "provider": "Metal/MPS",
      "acceleration": "partial",
      "accelerationDetails": "UNet/VAE/OpenCLIP on selected device; tokenize/decode/padding/mask composite/PNG and seeded RNG CPU",
      "observedPlacement": {
        "text_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "unet": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae_decoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        }
      },
      "inferenceMs": 8523.277708998648,
      "durationMs": 8538.306000002194,
      "seed": 42,
      "steps": 20,
      "guidanceScale": 7.5,
      "promptTokens": 13,
      "promptTruncated": false,
      "negativePromptTokens": 2,
      "safetyCheckerAvailable": false,
      "maskedPixels": 147456,
      "paddedWidth": 512,
      "paddedHeight": 512,
      "megapixelsPerSecond": 0.03075624295606787,
      "driverAllocatedMemoryBytes": 11842355200,
      "precision": "fp32",
      "cpuThreads": 4,
      "artifactRevision": "5f74973cbb64c8568780732c17f43eb269d63a0d",
      "fallback": false,
      "totalMs": 8538.306000002194,
      "imagesPerSecond": 0.11732575590541028,
      "grade": "moderate",
      "performancePassed": true
    }
  },
  {
    "precision": "fp32",
    "device": "mps",
    "status": "pass",
    "quality": {
      "passed": true,
      "outsideMaskExact": true,
      "dimensionsExact": true,
      "emptyMaskIdentity": true,
      "maskedClipCosine": 0.28230634331703186,
      "maskedStd": 0.1783277541399002,
      "evaluatorRevision": "3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268",
      "gates": {
        "scope": "Existing authored apple, duck, irregular mug and empty-mask fixtures; not broad aesthetics or safety certification",
        "minimumMaskedClipCosine": 0.22,
        "minimumMaskedStd": 0.03,
        "outsideMaskExact": true,
        "dimensionsExact": true,
        "emptyMaskIdentity": true,
        "manualVisualReview": true,
        "safetyCheckerAvailable": false,
        "performance": {
          "maximumGpuSeconds": 60,
          "maximumCpuSeconds": 180,
          "scope": "512px,20 steps; initial practical acceptance"
        },
        "olderModelException": "User explicitly requested SD2 Inpainting on 2026-11-03; original checkpoint released 2022-11-24. This is not a recent-model recommendation."
      }
    },
    "runtime": {
      "engine": "diffusers",
      "version": "0.32.2",
      "transformersVersion": "4.51.3",
      "torchVersion": "2.6.0",
      "loadMs": 1185.3404589928687,
      "device": "mps",
      "placement": {
        "unet": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "text_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        }
      },
      "parameterDtype": "torch.float32",
      "provider": "Metal/MPS",
      "acceleration": "partial",
      "accelerationDetails": "UNet/VAE/OpenCLIP on selected device; tokenize/decode/padding/mask composite/PNG and seeded RNG CPU",
      "observedPlacement": {
        "text_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae_encoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "unet": {
          "device": "mps:0",
          "dtype": "torch.float32"
        },
        "vae_decoder": {
          "device": "mps:0",
          "dtype": "torch.float32"
        }
      },
      "inferenceMs": 9023.631124990061,
      "durationMs": 9044.647958013229,
      "seed": 42,
      "steps": 20,
      "guidanceScale": 7.5,
      "promptTokens": 13,
      "promptTruncated": false,
      "negativePromptTokens": 2,
      "safetyCheckerAvailable": false,
      "maskedPixels": 147456,
      "paddedWidth": 512,
      "paddedHeight": 512,
      "megapixelsPerSecond": 0.029050832904064298,
      "driverAllocatedMemoryBytes": 7898349568,
      "precision": "fp32",
      "cpuThreads": 4,
      "artifactRevision": "5f74973cbb64c8568780732c17f43eb269d63a0d",
      "fallback": false,
      "totalMs": 10229.988417006098,
      "imagesPerSecond": 0.11082013284326285,
      "grade": "moderate",
      "performancePassed": true
    }
  },
  {
    "precision": "fp32",
    "device": "cpu",
    "status": "pass",
    "quality": {
      "passed": true,
      "outsideMaskExact": true,
      "dimensionsExact": true,
      "emptyMaskIdentity": true,
      "maskedClipCosine": 0.28172987699508667,
      "maskedStd": 0.17821569740772247,
      "evaluatorRevision": "3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268",
      "gates": {
        "scope": "Existing authored apple, duck, irregular mug and empty-mask fixtures; not broad aesthetics or safety certification",
        "minimumMaskedClipCosine": 0.22,
        "minimumMaskedStd": 0.03,
        "outsideMaskExact": true,
        "dimensionsExact": true,
        "emptyMaskIdentity": true,
        "manualVisualReview": true,
        "safetyCheckerAvailable": false,
        "performance": {
          "maximumGpuSeconds": 60,
          "maximumCpuSeconds": 180,
          "scope": "512px,20 steps; initial practical acceptance"
        },
        "olderModelException": "User explicitly requested SD2 Inpainting on 2026-11-03; original checkpoint released 2022-11-24. This is not a recent-model recommendation."
      }
    },
    "runtime": {
      "engine": "diffusers",
      "version": "0.32.2",
      "transformersVersion": "4.51.3",
      "torchVersion": "2.6.0",
      "loadMs": 532.9182910209056,
      "device": "cpu",
      "placement": {
        "unet": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "text_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        }
      },
      "parameterDtype": "torch.float32",
      "provider": "PyTorch CPU",
      "acceleration": "cpu",
      "accelerationDetails": "UNet/VAE/OpenCLIP on selected device; tokenize/decode/padding/mask composite/PNG and seeded RNG CPU",
      "observedPlacement": {
        "text_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "unet": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae_decoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        }
      },
      "inferenceMs": 42838.173374999315,
      "durationMs": 42858.95525000524,
      "seed": 42,
      "steps": 20,
      "guidanceScale": 7.5,
      "promptTokens": 13,
      "promptTruncated": false,
      "negativePromptTokens": 2,
      "safetyCheckerAvailable": false,
      "maskedPixels": 147456,
      "paddedWidth": 512,
      "paddedHeight": 512,
      "megapixelsPerSecond": 0.0061194019106563784,
      "precision": "fp32",
      "cpuThreads": 4,
      "artifactRevision": "5f74973cbb64c8568780732c17f43eb269d63a0d",
      "fallback": false,
      "totalMs": 43391.87354102614,
      "imagesPerSecond": 0.023343665735841287,
      "grade": "slow",
      "performancePassed": true
    }
  },
  {
    "precision": "fp32",
    "device": "cpu",
    "status": "pass",
    "quality": {
      "passed": true,
      "outsideMaskExact": true,
      "dimensionsExact": true,
      "emptyMaskIdentity": true,
      "maskedClipCosine": 0.3451879322528839,
      "maskedStd": 0.27013158798217773,
      "evaluatorRevision": "3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268",
      "gates": {
        "scope": "Existing authored apple, duck, irregular mug and empty-mask fixtures; not broad aesthetics or safety certification",
        "minimumMaskedClipCosine": 0.22,
        "minimumMaskedStd": 0.03,
        "outsideMaskExact": true,
        "dimensionsExact": true,
        "emptyMaskIdentity": true,
        "manualVisualReview": true,
        "safetyCheckerAvailable": false,
        "performance": {
          "maximumGpuSeconds": 60,
          "maximumCpuSeconds": 180,
          "scope": "512px,20 steps; initial practical acceptance"
        },
        "olderModelException": "User explicitly requested SD2 Inpainting on 2026-11-03; original checkpoint released 2022-11-24. This is not a recent-model recommendation."
      }
    },
    "runtime": {
      "engine": "diffusers",
      "version": "0.32.2",
      "transformersVersion": "4.51.3",
      "torchVersion": "2.6.0",
      "loadMs": 0,
      "device": "cpu",
      "placement": {
        "unet": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "text_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        }
      },
      "parameterDtype": "torch.float32",
      "provider": "PyTorch CPU",
      "acceleration": "cpu",
      "accelerationDetails": "UNet/VAE/OpenCLIP on selected device; tokenize/decode/padding/mask composite/PNG and seeded RNG CPU",
      "observedPlacement": {
        "text_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "unet": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae_decoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        }
      },
      "inferenceMs": 49506.88116700621,
      "durationMs": 49522.81762499479,
      "seed": 42,
      "steps": 20,
      "guidanceScale": 7.5,
      "promptTokens": 13,
      "promptTruncated": false,
      "negativePromptTokens": 2,
      "safetyCheckerAvailable": false,
      "maskedPixels": 147456,
      "paddedWidth": 512,
      "paddedHeight": 512,
      "megapixelsPerSecond": 0.005295102293268788,
      "precision": "fp32",
      "cpuThreads": 4,
      "artifactRevision": "5f74973cbb64c8568780732c17f43eb269d63a0d",
      "fallback": false,
      "totalMs": 49522.81762499479,
      "imagesPerSecond": 0.020199212239337114,
      "grade": "slow",
      "performancePassed": true
    }
  },
  {
    "precision": "fp32",
    "device": "cpu",
    "status": "pass",
    "quality": {
      "passed": true,
      "outsideMaskExact": true,
      "dimensionsExact": true,
      "emptyMaskIdentity": true,
      "maskedClipCosine": 0.2949711084365845,
      "maskedStd": 0.1948176622390747,
      "evaluatorRevision": "3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268",
      "gates": {
        "scope": "Existing authored apple, duck, irregular mug and empty-mask fixtures; not broad aesthetics or safety certification",
        "minimumMaskedClipCosine": 0.22,
        "minimumMaskedStd": 0.03,
        "outsideMaskExact": true,
        "dimensionsExact": true,
        "emptyMaskIdentity": true,
        "manualVisualReview": true,
        "safetyCheckerAvailable": false,
        "performance": {
          "maximumGpuSeconds": 60,
          "maximumCpuSeconds": 180,
          "scope": "512px,20 steps; initial practical acceptance"
        },
        "olderModelException": "User explicitly requested SD2 Inpainting on 2026-11-03; original checkpoint released 2022-11-24. This is not a recent-model recommendation."
      }
    },
    "runtime": {
      "engine": "diffusers",
      "version": "0.32.2",
      "transformersVersion": "4.51.3",
      "torchVersion": "2.6.0",
      "loadMs": 0,
      "device": "cpu",
      "placement": {
        "unet": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "text_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        }
      },
      "parameterDtype": "torch.float32",
      "provider": "PyTorch CPU",
      "acceleration": "cpu",
      "accelerationDetails": "UNet/VAE/OpenCLIP on selected device; tokenize/decode/padding/mask composite/PNG and seeded RNG CPU",
      "observedPlacement": {
        "text_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "unet": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae_decoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        }
      },
      "inferenceMs": 71444.64533298742,
      "durationMs": 71461.51633298723,
      "seed": 42,
      "steps": 20,
      "guidanceScale": 7.5,
      "promptTokens": 14,
      "promptTruncated": false,
      "negativePromptTokens": 2,
      "safetyCheckerAvailable": false,
      "maskedPixels": 56260,
      "paddedWidth": 768,
      "paddedHeight": 512,
      "megapixelsPerSecond": 0.0014029462884564202,
      "precision": "fp32",
      "cpuThreads": 4,
      "artifactRevision": "5f74973cbb64c8568780732c17f43eb269d63a0d",
      "fallback": false,
      "totalMs": 71461.51633298723,
      "imagesPerSecond": 0.013996850223543345,
      "grade": "slow",
      "performancePassed": true
    }
  },
  {
    "precision": "fp32",
    "device": "cpu",
    "status": "pass",
    "quality": {
      "passed": true,
      "outsideMaskExact": true,
      "dimensionsExact": true,
      "emptyMaskIdentity": true,
      "maskedClipCosine": null,
      "maskedStd": null,
      "evaluatorRevision": "3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268",
      "gates": {
        "scope": "Existing authored apple, duck, irregular mug and empty-mask fixtures; not broad aesthetics or safety certification",
        "minimumMaskedClipCosine": 0.22,
        "minimumMaskedStd": 0.03,
        "outsideMaskExact": true,
        "dimensionsExact": true,
        "emptyMaskIdentity": true,
        "manualVisualReview": true,
        "safetyCheckerAvailable": false,
        "performance": {
          "maximumGpuSeconds": 60,
          "maximumCpuSeconds": 180,
          "scope": "512px,20 steps; initial practical acceptance"
        },
        "olderModelException": "User explicitly requested SD2 Inpainting on 2026-11-03; original checkpoint released 2022-11-24. This is not a recent-model recommendation."
      }
    },
    "runtime": {
      "engine": "diffusers",
      "version": "0.32.2",
      "transformersVersion": "4.51.3",
      "torchVersion": "2.6.0",
      "loadMs": 0,
      "device": "cpu",
      "placement": {
        "unet": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "text_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        }
      },
      "parameterDtype": "torch.float32",
      "provider": "PyTorch CPU",
      "acceleration": "cpu",
      "accelerationDetails": "UNet/VAE/OpenCLIP on selected device; tokenize/decode/padding/mask composite/PNG and seeded RNG CPU",
      "observedPlacement": {
        "text_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "unet": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae_decoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        }
      },
      "inferenceMs": 42677.729165996425,
      "durationMs": 42686.81354098953,
      "seed": 42,
      "steps": 20,
      "guidanceScale": 7.5,
      "promptTokens": 12,
      "promptTruncated": false,
      "negativePromptTokens": 2,
      "safetyCheckerAvailable": false,
      "maskedPixels": 0,
      "paddedWidth": 512,
      "paddedHeight": 512,
      "megapixelsPerSecond": 0.0015356018532545529,
      "precision": "fp32",
      "cpuThreads": 4,
      "artifactRevision": "5f74973cbb64c8568780732c17f43eb269d63a0d",
      "fallback": false,
      "totalMs": 42686.81354098953,
      "imagesPerSecond": 0.023431424762795305,
      "grade": "slow",
      "performancePassed": true
    }
  },
  {
    "precision": "fp32",
    "device": "cpu",
    "status": "pass",
    "quality": {
      "passed": true,
      "outsideMaskExact": true,
      "dimensionsExact": true,
      "emptyMaskIdentity": true,
      "maskedClipCosine": 0.28172987699508667,
      "maskedStd": 0.17821569740772247,
      "evaluatorRevision": "3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268",
      "gates": {
        "scope": "Existing authored apple, duck, irregular mug and empty-mask fixtures; not broad aesthetics or safety certification",
        "minimumMaskedClipCosine": 0.22,
        "minimumMaskedStd": 0.03,
        "outsideMaskExact": true,
        "dimensionsExact": true,
        "emptyMaskIdentity": true,
        "manualVisualReview": true,
        "safetyCheckerAvailable": false,
        "performance": {
          "maximumGpuSeconds": 60,
          "maximumCpuSeconds": 180,
          "scope": "512px,20 steps; initial practical acceptance"
        },
        "olderModelException": "User explicitly requested SD2 Inpainting on 2026-11-03; original checkpoint released 2022-11-24. This is not a recent-model recommendation."
      }
    },
    "runtime": {
      "engine": "diffusers",
      "version": "0.32.2",
      "transformersVersion": "4.51.3",
      "torchVersion": "2.6.0",
      "loadMs": 0,
      "device": "cpu",
      "placement": {
        "unet": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "text_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        }
      },
      "parameterDtype": "torch.float32",
      "provider": "PyTorch CPU",
      "acceleration": "cpu",
      "accelerationDetails": "UNet/VAE/OpenCLIP on selected device; tokenize/decode/padding/mask composite/PNG and seeded RNG CPU",
      "observedPlacement": {
        "text_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "unet": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae_decoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        }
      },
      "inferenceMs": 42764.80720797554,
      "durationMs": 42779.81883301982,
      "seed": 42,
      "steps": 20,
      "guidanceScale": 7.5,
      "promptTokens": 13,
      "promptTruncated": false,
      "negativePromptTokens": 2,
      "safetyCheckerAvailable": false,
      "maskedPixels": 147456,
      "paddedWidth": 512,
      "paddedHeight": 512,
      "megapixelsPerSecond": 0.006129900193987329,
      "precision": "fp32",
      "cpuThreads": 4,
      "artifactRevision": "5f74973cbb64c8568780732c17f43eb269d63a0d",
      "fallback": false,
      "totalMs": 42779.81883301982,
      "imagesPerSecond": 0.023383713508557624,
      "grade": "slow",
      "performancePassed": true
    }
  },
  {
    "precision": "fp32",
    "device": "cpu",
    "status": "pass",
    "quality": {
      "passed": true,
      "outsideMaskExact": true,
      "dimensionsExact": true,
      "emptyMaskIdentity": true,
      "maskedClipCosine": 0.28172987699508667,
      "maskedStd": 0.17821569740772247,
      "evaluatorRevision": "3d74acf9a28c67741b2f4f2ea7635f0aaf6f0268",
      "gates": {
        "scope": "Existing authored apple, duck, irregular mug and empty-mask fixtures; not broad aesthetics or safety certification",
        "minimumMaskedClipCosine": 0.22,
        "minimumMaskedStd": 0.03,
        "outsideMaskExact": true,
        "dimensionsExact": true,
        "emptyMaskIdentity": true,
        "manualVisualReview": true,
        "safetyCheckerAvailable": false,
        "performance": {
          "maximumGpuSeconds": 60,
          "maximumCpuSeconds": 180,
          "scope": "512px,20 steps; initial practical acceptance"
        },
        "olderModelException": "User explicitly requested SD2 Inpainting on 2026-11-03; original checkpoint released 2022-11-24. This is not a recent-model recommendation."
      }
    },
    "runtime": {
      "engine": "diffusers",
      "version": "0.32.2",
      "transformersVersion": "4.51.3",
      "torchVersion": "2.6.0",
      "loadMs": 538.0497500009369,
      "device": "cpu",
      "placement": {
        "unet": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "text_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        }
      },
      "parameterDtype": "torch.float32",
      "provider": "PyTorch CPU",
      "acceleration": "cpu",
      "accelerationDetails": "UNet/VAE/OpenCLIP on selected device; tokenize/decode/padding/mask composite/PNG and seeded RNG CPU",
      "observedPlacement": {
        "text_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae_encoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "unet": {
          "device": "cpu",
          "dtype": "torch.float32"
        },
        "vae_decoder": {
          "device": "cpu",
          "dtype": "torch.float32"
        }
      },
      "inferenceMs": 42794.85995799769,
      "durationMs": 42815.01049999497,
      "seed": 42,
      "steps": 20,
      "guidanceScale": 7.5,
      "promptTokens": 13,
      "promptTruncated": false,
      "negativePromptTokens": 2,
      "safetyCheckerAvailable": false,
      "maskedPixels": 147456,
      "paddedWidth": 512,
      "paddedHeight": 512,
      "megapixelsPerSecond": 0.006125595463036663,
      "precision": "fp32",
      "cpuThreads": 4,
      "artifactRevision": "5f74973cbb64c8568780732c17f43eb269d63a0d",
      "fallback": false,
      "totalMs": 43353.060249995906,
      "imagesPerSecond": 0.023367292263170865,
      "grade": "slow",
      "performancePassed": true
    }
  }
]

Something not quite right?

Tell us what happened with Stable Diffusion 2 Inpainting. Loading, results, or the page itself—we’re here for all of it.

Attachments Optional

Up to 3 files · 50 MB each

Browser, OS, CPU/GPU, memory, screen, storage, and network details are included automatically. Model inputs, results, and browsing history are not collected.