Skip to content

Commit

Permalink
Logging: Fix legacy warn statement
Browse files Browse the repository at this point in the history
Warn is not a valid method with loguru.

Signed-off-by: kingbri <[email protected]>
  • Loading branch information
bdashore3 committed Mar 11, 2024
1 parent ba3da6d commit 53d889e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/exllamav2/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ def generate_gen(self, prompt: str, **kwargs):
kwargs.get("negative_prompt"), self.tokenizer.bos_token
)
else:
logger.warn(
logger.warning(
"CFG is currently disabled. "
"Please reload your model with use_cfg = True.",
)
Expand Down

0 comments on commit 53d889e

Please sign in to comment.