Skip to content

Commit 8a07ce3

Browse files
committed
edit sampler order warning
1 parent 18df56b commit 8a07ce3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

koboldcpp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def generate(prompt, memory="", images=[], max_length=32, max_context_length=512
499499
inputs.sampler_len = len(sampler_order)
500500
global showsamplerwarning
501501
if showsamplerwarning and inputs.mirostat==0 and inputs.sampler_len>0 and (inputs.sampler_order[0]!=6 or inputs.sampler_order[inputs.sampler_len-1]!=5):
502-
print("\n(Note: Sub-optimal sampler_order detected. You may have reduced quality. Recommended sampler values are [6,0,1,3,4,2,5]. This message will only show once per session.)")
502+
print("\n(Note: Non-default sampler_order detected. Recommended sampler values are [6,0,1,3,4,2,5]. This message will only show once per session.)")
503503
showsamplerwarning = False
504504
except TypeError as e:
505505
print("ERROR: sampler_order must be a list of integers: " + str(e))

0 commit comments

Comments
 (0)