Update __init__.py

This commit is contained in:
Daniel Han 2024-11-03 00:22:38 -07:00
commit 32a1be7ec5

View file

@ -54,8 +54,12 @@ from .flex_attention import (
create_flex_attention_sliding_window_mask,
)
try:
print("🦥 Unsloth: Will patch your computer to enable 2x faster free finetuning.")
except:
print("Unsloth: Will patch your computer to enable 2x faster free finetuning.")
import os
if "UNSLOTH_ZOO_IS_PRESENT" not in os.environ:
try:
print("🦥 Unsloth: Will patch your computer to enable 2x faster free finetuning.")
except:
print("Unsloth: Will patch your computer to enable 2x faster free finetuning.")
pass
pass
del os