mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Remove bits and bytes check so it doesn't throw warning on windows
This commit is contained in:
@@ -1294,17 +1294,6 @@ class system_settings(settings):
|
||||
self.keep_img_gen_in_memory = False
|
||||
self.cookies = {} #cookies for colab since colab's URL changes, cookies are lost
|
||||
self.experimental_features = False
|
||||
#check if bitsandbytes is installed
|
||||
self.bit_8_available = False
|
||||
if importlib.util.find_spec("bitsandbytes") is not None:# and sys.platform.startswith('linux'): #We can install bitsandbytes, but it doesn't work on windows, so limit it here
|
||||
try:
|
||||
import bitsandbytes
|
||||
bits_and_bytes = True
|
||||
except:
|
||||
bits_and_bytes = False
|
||||
pass
|
||||
if torch.cuda.is_available() and bits_and_bytes:
|
||||
self.bit_8_available = True
|
||||
self.seen_messages = []
|
||||
self.git_repository = ""
|
||||
self.git_branch = ""
|
||||
|
Reference in New Issue
Block a user