Update _utils.py
This commit is contained in:
parent
bb37fb71c6
commit
59c3461c68
1 changed files with 2 additions and 2 deletions
|
|
@ -225,8 +225,8 @@ class _RaiseUninitialized(logging.Handler):
|
|||
raise Exception(
|
||||
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"`pip install --upgrade --force-reinstall --no-cache-dir --no-deps unsloth unsloth_zoo transformers timm`\n"
|
||||
)
|
||||
pass
|
||||
class RaiseUninitialized:
|
||||
def __init__(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue