mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Patches: Make lazyload work on quantized
i wanna watch youtube while my model is loading without locking up my system >:(
This commit is contained in:
@@ -78,7 +78,6 @@ class model_backend(HFTorchInferenceModel):
|
||||
}
|
||||
|
||||
if self.use_4_bit:
|
||||
self.lazy_load = False
|
||||
tf_kwargs.update({
|
||||
"quantization_config":BitsAndBytesConfig(
|
||||
load_in_4bit=True,
|
||||
|
Reference in New Issue
Block a user