Skip to content

Commit

Permalink
fixed critical bug in image model loader
Browse files Browse the repository at this point in the history
  • Loading branch information
LostRuins committed Nov 30, 2024
1 parent 153da19 commit 409e393
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions create_ver_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ extracted_ver=$(cat koboldcpp.py | grep 'KcppVersion = ' | cut -d '"' -f2)
echo "Extracted Version: $extracted_ver"
vmajor=$(echo $extracted_ver | cut -d '.' -f1)
vminor=$(echo $extracted_ver | cut -d '.' -f2)
echo "Major Version: $vmajor"
echo "Minor Version: $vminor"
echo "Parsed Major Version: $vmajor"
echo "Parsed Minor Version: $vminor"
cp version_template.txt version.txt
sed "s/MYVER_MAJOR/$vmajor/g" version.txt > tempversion.txt && mv tempversion.txt version.txt
sed "s/MYVER_MINOR/$vminor/g" version.txt > tempversion.txt && mv tempversion.txt version.txt
2 changes: 1 addition & 1 deletion koboldcpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
modelbusy = threading.Lock()
requestsinqueue = 0
defaultport = 5001
KcppVersion = "1.79"
KcppVersion = "1.79.1"
showdebug = True
guimode = False
showsamplerwarning = True
Expand Down
3 changes: 3 additions & 0 deletions otherarch/sdcpp/stable-diffusion.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ enum sd_type_t {
SD_TYPE_Q4_0_8_8 = 33,
SD_TYPE_TQ1_0 = 34,
SD_TYPE_TQ2_0 = 35,
SD_TYPE_IQ4_NL_4_4 = 36,
// SD_TYPE_IQ4_NL_4_8 = 37,
// SD_TYPE_IQ4_NL_8_8 = 38,
SD_TYPE_COUNT,
};

Expand Down

0 comments on commit 409e393

Please sign in to comment.