Skip to content

Commit

Permalink
Fixed a bug in global head pruning
Browse files Browse the repository at this point in the history
  • Loading branch information
VainF committed Oct 16, 2023
1 parent 50ad632 commit 3ab8214
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions torch_pruning/pruner/algorithms/metapruner.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,9 @@ def __init__(
output_transform=output_transform,
unwrapped_parameters=unwrapped_parameters,
customized_pruners=customized_pruners,
ignored_layers=self.ignored_layers,
ignored_params=self.ignored_params,
)



###############################################
# Iterative pruning
# The pruner will prune the model iteratively for several steps to achieve the target pruning ratio
Expand Down

0 comments on commit 3ab8214

Please sign in to comment.