Skip to content

Commit

Permalink
Garbage collection after calculated each MLP chunk (#1467)
Browse files Browse the repository at this point in the history
  • Loading branch information
dachengx authored Nov 14, 2024
1 parent f1bb229 commit 8fedc98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions straxen/plugins/peaks/peak_positions_mlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class PeakPositionsMLP(PeakPositionsBaseNT):

provides = "peak_positions_mlp"
algorithm = "mlp"
gc_collect_after_compute = True

tf_model_mlp = straxen.URLConfig(
default=(
Expand Down

0 comments on commit 8fedc98

Please sign in to comment.