Skip to content

Commit

Permalink
Remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbenayoun committed Sep 21, 2023
1 parent 162fcbf commit a2d349c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions optimum/neuron/distributed/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,6 @@ def parallelize(
# This module has not pre-trained weights, it must be fine-tuned, we initialize it with the
# `reset_parameters()` method.
mod.reset_parameters()
for name, mod in model.named_parameters():
if name in weight_map:
weight_info = WeightInformation(weight_map[name], name, device=device)
tensor = load_tensor_for_weight(weight_info)
print(mod, tensor)
return model

@classmethod
Expand Down

0 comments on commit a2d349c

Please sign in to comment.