Skip to content

Commit 409e393

Browse files
committed
fixed critical bug in image model loader
1 parent 153da19 commit 409e393

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

create_ver_file.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ extracted_ver=$(cat koboldcpp.py | grep 'KcppVersion = ' | cut -d '"' -f2)
44
echo "Extracted Version: $extracted_ver"
55
vmajor=$(echo $extracted_ver | cut -d '.' -f1)
66
vminor=$(echo $extracted_ver | cut -d '.' -f2)
7-
echo "Major Version: $vmajor"
8-
echo "Minor Version: $vminor"
7+
echo "Parsed Major Version: $vmajor"
8+
echo "Parsed Minor Version: $vminor"
99
cp version_template.txt version.txt
1010
sed "s/MYVER_MAJOR/$vmajor/g" version.txt > tempversion.txt && mv tempversion.txt version.txt
1111
sed "s/MYVER_MINOR/$vminor/g" version.txt > tempversion.txt && mv tempversion.txt version.txt

koboldcpp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
modelbusy = threading.Lock()
4848
requestsinqueue = 0
4949
defaultport = 5001
50-
KcppVersion = "1.79"
50+
KcppVersion = "1.79.1"
5151
showdebug = True
5252
guimode = False
5353
showsamplerwarning = True

otherarch/sdcpp/stable-diffusion.h

+3
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ enum sd_type_t {
9595
SD_TYPE_Q4_0_8_8 = 33,
9696
SD_TYPE_TQ1_0 = 34,
9797
SD_TYPE_TQ2_0 = 35,
98+
SD_TYPE_IQ4_NL_4_4 = 36,
99+
// SD_TYPE_IQ4_NL_4_8 = 37,
100+
// SD_TYPE_IQ4_NL_8_8 = 38,
98101
SD_TYPE_COUNT,
99102
};
100103

0 commit comments

Comments
 (0)