Skip to content

Commit

Permalink
Bench max ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
Nexesenex committed Feb 12, 2024
1 parent 8c958b0 commit cdafc59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion koboldcpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2537,7 +2537,7 @@ def onready_subprocess():
global libname
start_server = False
save_to_file = (args.benchmark!="stdout" and args.benchmark!="")
benchmaxctx = (2048 if maxctx>2048 else maxctx)
benchmaxctx = (196608 if maxctx>196608 else maxctx)
benchlen = 100
benchmodel = sanitize_string(os.path.splitext(os.path.basename(modelname))[0])
if os.path.exists(args.benchmark) and os.path.getsize(args.benchmark) > 1000000:
Expand Down

0 comments on commit cdafc59

Please sign in to comment.