Skip to content

Commit

Permalink
Remove reset memory
Browse files Browse the repository at this point in the history
  • Loading branch information
pomonam committed Jul 5, 2024
1 parent 57442ed commit c56e285
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions kronfluence/computer/factor_computer.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,6 @@ def fit_covariance_matrices(
total_data_examples=max_partition_examples,
)

self._reset_memory()


import gc
for obj in gc.get_objects():
try:
Expand All @@ -311,7 +308,6 @@ def fit_covariance_matrices(
except:
pass


start_time = get_time(state=self.state)
with self.profiler.profile("Fit Covariance"):
loader = self._get_dataloader(
Expand Down

0 comments on commit c56e285

Please sign in to comment.