Skip to content

Commit

Permalink
Remove debugprint (Vahe1994#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
justheuristic authored Apr 24, 2024
1 parent a16a69f commit a35bc1e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/modelutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ def load_quantized_model(model, load_path):
"""Load quantized model"""

for layer_index in range(len(model.model.layers)):
print(model.model.layers[layer_index].input_layernorm.weight.device)
model.model.layers[layer_index] = torch.load(
os.path.join(load_path, str(layer_index) + ".pth"),
map_location=model.model.layers[layer_index].input_layernorm.weight.device,
Expand Down

0 comments on commit a35bc1e

Please sign in to comment.