mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Debug for 8 bit
This commit is contained in:
@@ -2461,10 +2461,12 @@ def load_model(use_gpu=True, gpu_layers=None, disk_layers=None, initial_load=Fal
|
|||||||
global tokenizer
|
global tokenizer
|
||||||
koboldai_vars.aibusy = True
|
koboldai_vars.aibusy = True
|
||||||
koboldai_vars.horde_share = False
|
koboldai_vars.horde_share = False
|
||||||
|
|
||||||
if not koboldai_vars.bit_8_available or not koboldai_vars.experimental_features:
|
if not koboldai_vars.bit_8_available or not koboldai_vars.experimental_features:
|
||||||
use_8_bit = False
|
use_8_bit = False
|
||||||
if use_8_bit:
|
if use_8_bit:
|
||||||
koboldai_vars.lazy_load = False
|
koboldai_vars.lazy_load = False
|
||||||
|
logger.info("koboldai_vars.lazy_load: {}".format(koboldai_vars.lazy_load))
|
||||||
if(initial_load):
|
if(initial_load):
|
||||||
use_breakmodel_args = True
|
use_breakmodel_args = True
|
||||||
reset_model_settings()
|
reset_model_settings()
|
||||||
|
Reference in New Issue
Block a user