Skip to content

Commit

Permalink
Remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
one-some committed Apr 15, 2023
1 parent 5dd67d0 commit f9fb5eb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion modeling/inference_models/hf_torch.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,6 @@ def get_original_key(key):
utils.koboldai_vars.status_message = "Loading model"
utils.koboldai_vars.total_layers = num_tensors
utils.koboldai_vars.loaded_layers = 0
print(utils.emit)
utils.bar = tqdm(
total=num_tensors,
desc="Loading model tensors",
Expand Down
1 change: 0 additions & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,6 @@ def write(self, bar):
with flask_app.app_context():
self.emit_func('from_server', {'cmd': 'model_load_status', 'data': bar.replace(" ", " ")}, broadcast=True, room="UI_1", namespace="/")
except Exception as e:
print(e)
pass

def flush(self):
Expand Down

0 comments on commit f9fb5eb

Please sign in to comment.