Skip to content

Commit 8d58b25

Browse files
authored
clip_on_cpu
1 parent 4fe4b13 commit 8d58b25

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

stable-diffusion.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,6 @@ class StableDiffusionGGML {
314314
if (sd_version_is_dit(version)) {
315315
use_t5xxl = true;
316316
}
317-
if (!ggml_backend_is_cpu(backend) && use_t5xxl && conditioner_wtype != GGML_TYPE_F32) {
318-
clip_on_cpu = true;
319-
LOG_INFO("set clip_on_cpu to true");
320-
}
321317
if (clip_on_cpu && !ggml_backend_is_cpu(backend)) {
322318
LOG_INFO("CLIP: Using CPU backend");
323319
clip_backend = ggml_backend_cpu_init();

0 commit comments

Comments
 (0)