This is an extension for stable-diffusion-webui, to optimize user experience with IPEX backend.
- Apply
ipex.optimize
upon model loading. - Fix
torch.nn.functional.batch_norm
for XPU fp32, IPEX < 2.1.30- Known impact: controlnet annotator depth_leres, depth_leres++
- Fix
torch.nn.functional.interpolate
for XPU whenalign_corners=True
, IPEX < 2.1.30- Known impact: controlnet annotator MLSD
- Offload the following controlnet annotators to CPU, as IPEX XPU backend doesn't work as expected.
- inpaint_only+lama
- normal_bae
- seg_anime_face, seg_ofade20k, seg_ofcoco, seg_ufade20k
- Offload
torchvision.ops.nms
to XPU, to W/A flaky Access Violation when using adetailer withtorchvision==0.15.2a0+fa99a53
.