mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
warning when selecting non gguf models
This commit is contained in:
parent
d5e732f3ab
commit
42228b9746
1 changed files with 3 additions and 1 deletions
|
@ -4640,7 +4640,9 @@ def main(launch_args,start_server=True):
|
|||
print(args)
|
||||
# Flush stdout for win32 issue with regards to piping in terminals,
|
||||
# especially before handing over to C++ context.
|
||||
print(f"==========\nLoading model: {modelname}", flush=True)
|
||||
print(f"==========\nLoading Text Model: {modelname}", flush=True)
|
||||
if not modelname.endswith(".bin") and not modelname.endswith(".gguf"):
|
||||
print("WARNING: Selected Text Model does not seem to be a GGUF file! Are you sure you picked the right file?")
|
||||
loadok = load_model(modelname)
|
||||
print("Load Text Model OK: " + str(loadok))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue