mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Remove debug
This commit is contained in:
@@ -487,7 +487,6 @@ class HFTorchInferenceModel(HFInferenceModel):
|
|||||||
utils.koboldai_vars.status_message = "Loading model"
|
utils.koboldai_vars.status_message = "Loading model"
|
||||||
utils.koboldai_vars.total_layers = num_tensors
|
utils.koboldai_vars.total_layers = num_tensors
|
||||||
utils.koboldai_vars.loaded_layers = 0
|
utils.koboldai_vars.loaded_layers = 0
|
||||||
print(utils.emit)
|
|
||||||
utils.bar = tqdm(
|
utils.bar = tqdm(
|
||||||
total=num_tensors,
|
total=num_tensors,
|
||||||
desc="Loading model tensors",
|
desc="Loading model tensors",
|
||||||
|
1
utils.py
1
utils.py
@@ -639,7 +639,6 @@ class UIProgressBarFile(object):
|
|||||||
with flask_app.app_context():
|
with flask_app.app_context():
|
||||||
self.emit_func('from_server', {'cmd': 'model_load_status', 'data': bar.replace(" ", " ")}, broadcast=True, room="UI_1", namespace="/")
|
self.emit_func('from_server', {'cmd': 'model_load_status', 'data': bar.replace(" ", " ")}, broadcast=True, room="UI_1", namespace="/")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def flush(self):
|
def flush(self):
|
||||||
|
Reference in New Issue
Block a user