stable-diffusion-webui/modules
brkirch 16b4509fa6 Add numpy fix for MPS on PyTorch 1.12.1
When saving training results with torch.save(), an exception is thrown:
"RuntimeError: Can't call numpy() on Tensor that requires grad. Use tensor.detach().numpy() instead."

So for MPS, check if Tensor.requires_grad and detach() if necessary.
2022-12-17 04:22:58 -05:00
..
api
codeformer
hypernetworks
textual_inversion
artists.py
call_queue.py
codeformer_model.py
deepbooru_model.py
deepbooru.py fix incorrect file extension filter for deepdanbooru models 2022-12-03 18:46:09 +03:00
devices.py
errors.py
esrgan_model_arch.py
esrgan_model.py
extensions.py add built-in extension system 2022-12-03 18:06:33 +03:00
extras.py extras.py: use as little RAM as possible, misc fixes 2022-12-04 10:31:06 -05:00
face_restoration.py
generation_parameters_copypaste.py Merge pull request #5441 from timntorres/add-5433-avoid-sending-size-option 2022-12-10 11:07:16 +03:00
gfpgan_model.py Set device for facelib/facexlib and gfpgan 2022-11-12 03:34:13 -05:00
images.py
img2img.py
interrogate.py
localization.py
lowvram.py
masking.py
memmon.py
modelloader.py
ngrok.py Merge branch 'master' into patch-1 2022-11-11 21:14:10 +07:00
paths.py Add support Stable Diffusion 2.0 2022-11-26 16:10:46 +03:00
processing.py
prompt_parser.py
realesrgan_model.py
safe.py
script_callbacks.py
script_loading.py make existing script loading and new preload code use same code for loading modules 2022-11-12 10:56:06 +03:00
scripts.py
sd_hijack_checkpoint.py
sd_hijack_clip.py
sd_hijack_inpainting.py Add support Stable Diffusion 2.0 2022-11-26 16:10:46 +03:00
sd_hijack_open_clip.py Add support Stable Diffusion 2.0 2022-11-26 16:10:46 +03:00
sd_hijack_optimizations.py
sd_hijack_unet.py
sd_hijack.py
sd_models.py
sd_samplers.py
sd_vae.py
shared.py
styles.py
txt2img.py
ui_extensions.py
ui_tempdir.py
ui.py
upscaler.py