Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions otherarch/sdcpp/stable-diffusion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -401,17 +401,10 @@ class StableDiffusionGGML {
use_t5xxl = true;
}
if (!clip_on_cpu && !ggml_backend_is_cpu(backend) && use_t5xxl) {
#if 0 // kcpp
LOG_WARN(
"!!!It appears that you are using the T5 model. Some backends may encounter issues with it."
"If you notice that the generated images are completely black,"
"try running the T5 model on the CPU using the --clip-on-cpu parameter.");
#else
if (conditioner_wtype != GGML_TYPE_F32) {
LOG_INFO("CLIP: Forcing CPU backend for T5");
clip_on_cpu = true;
}
#endif
}
if (clip_on_cpu && !ggml_backend_is_cpu(backend)) {
LOG_INFO("CLIP: Using CPU backend");
Expand Down