mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-24 10:51:03 -08:00
Currently, trying to perform CLIP interrogation on a CPU fails, saying: ``` RuntimeError: "slow_conv2d_cpu" not implemented for 'Half' ``` This merge request fixes this issue by detecting whether the target device is CPU and, if so, force-enabling `--no-half` and passing `device="cpu"` to `clip.load()` (which then does some extra tricks to ensure it works correctly on CPU). |
||
|---|---|---|
| .. | ||
| api | ||
| codeformer | ||
| hypernetworks | ||
| textual_inversion | ||
| artists.py | ||
| bsrgan_model.py | ||
| bsrgan_model_arch.py | ||
| codeformer_model.py | ||
| deepbooru.py | ||
| devices.py | ||
| errors.py | ||
| esrgan_model.py | ||
| esrgan_model_arch.py | ||
| extras.py | ||
| face_restoration.py | ||
| generation_parameters_copypaste.py | ||
| gfpgan_model.py | ||
| images.py | ||
| images_history.py | ||
| img2img.py | ||
| interrogate.py | ||
| ldsr_model.py | ||
| ldsr_model_arch.py | ||
| localization.py | ||
| lowvram.py | ||
| masking.py | ||
| memmon.py | ||
| modelloader.py | ||
| ngrok.py | ||
| paths.py | ||
| processing.py | ||
| prompt_parser.py | ||
| realesrgan_model.py | ||
| safe.py | ||
| safety.py | ||
| scripts.py | ||
| scunet_model.py | ||
| scunet_model_arch.py | ||
| sd_hijack.py | ||
| sd_hijack_inpainting.py | ||
| sd_hijack_optimizations.py | ||
| sd_models.py | ||
| sd_samplers.py | ||
| shared.py | ||
| styles.py | ||
| swinir_model.py | ||
| swinir_model_arch.py | ||
| swinir_model_arch_v2.py | ||
| txt2img.py | ||
| ui.py | ||
| upscaler.py | ||