mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-08 15:58:44 +01:00
Fix for lazy loading on models after a non-lazy load model
This commit is contained in:
parent
4aa842eada
commit
72fc68c6e4
@ -2088,6 +2088,8 @@ def reset_model_settings():
|
||||
vars.sampler_order = [6, 0, 1, 2, 3, 4, 5]
|
||||
vars.newlinemode = "n"
|
||||
vars.revision = None
|
||||
vars.lazy_load = True
|
||||
|
||||
|
||||
def load_model(use_gpu=True, gpu_layers=None, disk_layers=None, initial_load=False, online_model="", use_breakmodel_args=False, breakmodel_args_default_to_cpu=False):
|
||||
global model
|
||||
|
Loading…
x
Reference in New Issue
Block a user