Fixed wrong syntax in f-string for exception
This commit is contained in:
parent
e6bb5b83b9
commit
76ceebd9c2
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ class _RaiseUninitialized(logging.Handler):
|
|||
f"Unsloth: Critical error since some weights are not initialized.\n"\
|
||||
f"Please try updating Unsloth, transformers and timm via:\n"\
|
||||
f"`pip install --upgrade --force-reinstall --no-cache-dir --no-deps unsloth unsloth_zoo transformers timm`\n"\
|
||||
f"".str(record))
|
||||
f"{record}")
|
||||
pass
|
||||
class RaiseUninitialized:
|
||||
def __init__(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue