Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Put debug argument into function signature
  • Loading branch information
uinone committed Nov 2, 2023
commit 7ff57eb79d9266cc31a405b634a69e0b6d402078
3 changes: 2 additions & 1 deletion fastchat/serve/model_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def __init__(
conv_template: Optional[str] = None,
embed_in_truncate: bool = False,
seed: Optional[int] = None,
debug: bool = False,
**kwargs,
):
super().__init__(
Expand All @@ -82,7 +83,7 @@ def __init__(
gptq_config=gptq_config,
awq_config=awq_config,
exllama_config=exllama_config,
debug=kwargs["debug"],
debug=debug,
)
self.device = device
if self.tokenizer.pad_token == None:
Expand Down