Update __init__.py
This commit is contained in:
parent
aed740060a
commit
7eb34655a5
1 changed files with 4 additions and 4 deletions
|
|
@ -61,10 +61,10 @@ except:
|
|||
pass
|
||||
|
||||
# Hugging Face Hub faster downloads (only enable during Colab and Kaggle sessions)
|
||||
keynames = "\n" + "\n".join(os.environ.keys())
|
||||
if "\nCOLAB_" in keynames or "\nKAGGLE_" in keynames:
|
||||
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|
||||
pass
|
||||
# keynames = "\n" + "\n".join(os.environ.keys())
|
||||
# if "\nCOLAB_" in keynames or "\nKAGGLE_" in keynames:
|
||||
# os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|
||||
# pass
|
||||
|
||||
# We support Pytorch 2
|
||||
# Fixes https://github.com/unslothai/unsloth/issues/38
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue