Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pomonam committed Jun 19, 2024
1 parent 261de4a commit e1ec936
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kronfluence/score/self.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ def compute_self_scores_with_loaders(
self_scores = None
for module in model.modules():
if isinstance(module, TrackedModule) and module.name in tracked_module_names:
self_scores.add_(module.get_factor(factor_name=SELF_SCORE_VECTOR_NAME))
if self_scores is None:
self_scores = module.get_factor(factor_name=SELF_SCORE_VECTOR_NAME).clone()
else:
Expand Down

0 comments on commit e1ec936

Please sign in to comment.