From a11ab0b08e068f9feb982dd8ba8f6c863c01c19e Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Fri, 30 May 2025 10:40:03 +0800 Subject: [PATCH] reverse clip skip fix as it might be breaking some sdxl models --- otherarch/sdcpp/clip.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otherarch/sdcpp/clip.hpp b/otherarch/sdcpp/clip.hpp index d1a7c02f7..cdc27e727 100644 --- a/otherarch/sdcpp/clip.hpp +++ b/otherarch/sdcpp/clip.hpp @@ -701,7 +701,7 @@ public: void set_clip_skip(int skip) { if (skip <= 0) { - skip = -1; + return; } clip_skip = skip; }