From 8b80820b8b9f13ab4ecca089ec6ff92c58530bea Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 15 Aug 2024 15:07:42 -0700 Subject: [PATCH] Update __init__.py --- unsloth/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/unsloth/__init__.py b/unsloth/__init__.py index dd526dc3cc..f6ed999530 100644 --- a/unsloth/__init__.py +++ b/unsloth/__init__.py @@ -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: