Skip to content

Commit

Permalink
Comment print
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbenayoun committed Sep 17, 2024
1 parent 013cd6a commit fbf0b9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions optimum/neuron/distributed/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,8 @@ def should_parallelize_layer_predicate_func(layer):
f"Could not find information for the parameter {name} to set its `requires_grad` attribute."
)

for name, parameter in model.named_parameters():
print(f"{name} => {parameter.requires_grad}")
# for name, parameter in model.named_parameters():
# print(f"{name} => {parameter.requires_grad}")

if is_main_worker():
logger.info("Load and initialization of the weights done.")
Expand Down

0 comments on commit fbf0b9a

Please sign in to comment.