@@ -646,8 +646,9 @@ def string_contains_sequence_substring(inputstr,sequences):
646
646
modelbusy = threading .Lock ()
647
647
requestsinqueue = 0
648
648
defaultport = 5001
649
- KcppVersion = "1.66xx"
650
- LcppVersion = "b29xx"
649
+ KcppVersion = "1.66h"
650
+ LcppVersion = "b2912+6"
651
+ ReleaseDate = "2024/05/18"
651
652
showdebug = True
652
653
showsamplerwarning = True
653
654
showmaxctxwarning = True
@@ -1105,7 +1106,7 @@ def noscript_webui(self):
1105
1106
1106
1107
def do_GET (self ):
1107
1108
global embedded_kailite , embedded_kcpp_docs , embedded_kcpp_sdui
1108
- global maxctx , maxhordelen , friendlymodelname , KcppVersion , LcppVersion , totalgens , preloaded_story , exitcounter , currentusergenkey , friendlysdmodelname , fullsdmodelpath , mmprojpath , password
1109
+ global maxctx , maxhordelen , friendlymodelname , KcppVersion , LcppVersion , ReleaseDate , totalgens , preloaded_story , exitcounter , currentusergenkey , friendlysdmodelname , fullsdmodelpath , mmprojpath , password
1109
1110
self .path = self .path .rstrip ('/' )
1110
1111
response_body = None
1111
1112
content_type = 'application/json'
@@ -3365,7 +3366,7 @@ def onready_subprocess():
3365
3366
s_pp = float (benchmaxctx - benchlen )/ t_pp
3366
3367
s_gen = float (benchlen )/ t_gen
3367
3368
datetimestamp = datetime .now (timezone .utc )
3368
- print (f"\n Benchmark Completed - v{ KcppVersion } based on LlamaCPP { LcppVersion } Results:\n ======" )
3369
+ print (f"\n Benchmark Completed - v{ KcppVersion } based on LlamaCPP { LcppVersion } ; Release date: { ReleaseDate } Results:\n ======" )
3369
3370
print (f"Timestamp: { datetimestamp } " )
3370
3371
print (f"Backend: { libname } " )
3371
3372
print (f"Model: { benchmodel } " )
@@ -3389,7 +3390,7 @@ def onready_subprocess():
3389
3390
file .seek (0 , 2 )
3390
3391
if file .tell () == 0 : #empty file
3391
3392
file .write (f"Datime,KCPP,LCPP,Backend,Model,Threads,Layers,BlasThreads,BBSize,FlashA,MaxCtx,GenNum,PPTime,PPSpeed,TGTime,TGSpeed,TotalTime,Coherence,Output" )
3392
- file .write (f"\n { datetimestamp } ,{ KcppVersion } ,{ LcppVersion } ,{ libname } ,{ benchmodel } ,{ args .threads } ,{ args .gpulayers } ,{ args .blasthreads } ,{ args .blasbatchsize } ,{ args .flashattention } ,{ benchmaxctx } ,{ benchlen } ,{ t_pp :.2f} ,{ s_pp :.2f} ,{ t_gen :.2f} ,{ s_gen :.2f} ,{ (t_pp + t_gen ):.2f} ,{ resultok } ,{ result } " )
3393
+ file .write (f"\n { ReleaseDate } ,{ KcppVersion } ,{ LcppVersion } ,{ libname } ,{ benchmodel } ,{ args .threads } ,{ args .gpulayers } ,{ args .blasthreads } ,{ args .blasbatchsize } ,{ args .flashattention } ,{ benchmaxctx } ,{ benchlen } ,{ t_pp :.2f} ,{ s_pp :.2f} ,{ t_gen :.2f} ,{ s_gen :.2f} ,{ (t_pp + t_gen ):.2f} ,{ resultok } ,{ result } " )
3393
3394
except Exception as e :
3394
3395
print (f"Error writing benchmark to file: { e } " )
3395
3396
global using_gui_launcher
@@ -3446,7 +3447,8 @@ def range_checker(arg: str):
3446
3447
return range_checker
3447
3448
3448
3449
print ("***\n Welcome to KoboldCpp Frankenstein Fork - Version " + KcppVersion ) # just update version manually
3449
- print ("***\n Based on LlamaCpp - Version " + LcppVersion ) # just update version manually
3450
+ print ("***\n Based on LlamaCpp - Version " + LcppVersion ) # just update LlamaCPP version manually
3451
+ print ("***\n Release date: " + ReleaseDate ) # just update date manually
3450
3452
print ("***" )
3451
3453
# print("Python version: " + sys.version)
3452
3454
parser = argparse .ArgumentParser (description = 'KoboldCpp Server' )
0 commit comments