Update __init__.py
This commit is contained in:
parent
8be73b1086
commit
8b80820b8b
1 changed files with 2 additions and 3 deletions
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
import warnings, importlib, sys
|
||||
from packaging.version import Version
|
||||
import os, re, subprocess, inspect
|
||||
import numpy as np
|
||||
|
||||
# # Define a list of modules to check
|
||||
# MODULES_TO_CHECK = ["bitsandbytes"]
|
||||
|
|
@ -58,9 +60,6 @@ except:
|
|||
"We have some installation instructions on our Github page.")
|
||||
pass
|
||||
|
||||
import os, re, subprocess, inspect
|
||||
import numpy as np
|
||||
|
||||
# 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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue