mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-19 16:31:59 +00:00
adjust batching eligibility
This commit is contained in:
parent
2771e16fbc
commit
286e62267e
2 changed files with 2 additions and 2 deletions
|
|
@ -2288,7 +2288,7 @@ def continuous_batching_python_eligible(genparams, api_format):
|
|||
model_path = str(getattr(args, "model_param", "") or "").lower()
|
||||
if model_path and not model_path.endswith(".gguf"):
|
||||
return False
|
||||
if not getattr(args, "noshift", False) or getattr(args, "smartcontext", False) or getattr(args, "draftmodel", "") or getattr(args, "mmproj", "") or getattr(args, "enableguidance", False):
|
||||
if not getattr(args, "noshift", False) or getattr(args, "smartcontext", False) or getattr(args, "draftmodel", "") or getattr(args, "enableguidance", False):
|
||||
return False
|
||||
if genparams.get("negative_prompt") or genparams.get("images") or genparams.get("audio"):
|
||||
return False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue