Merge pull request #222 from ebolam/united
Fix for lazy loading on models after a non-lazy load model
This commit is contained in:
commit
0f7ecb3257
|
@ -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…
Reference in New Issue