Skip to content

Commit 12baf2e

Browse files
authored
Update steady_state_evolver.py
1 parent cf39dbd commit 12baf2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tpot2/evolvers/steady_state_evolver.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def optimize(self):
508508
self.population.remove_invalid_from_population(column_names="Eval Error", invalid_value="TIMEOUT")
509509

510510
#I am not entirely sure if this is necessary. I believe that calling release on the futures should be enough to free up memory. If memory issues persist, this may be a good place to start.
511-
client.run(gc.collect) #run garbage collection to free up memory
511+
#client.run(gc.collect) #run garbage collection to free up memory
512512

513513
###############################
514514
# Step 2: Early Stopping
@@ -723,7 +723,7 @@ def optimize(self):
723723
future.release() #release the future
724724

725725
#I am not entirely sure if this is necessary. I believe that calling release on the futures should be enough to free up memory. If memory issues persist, this may be a good place to start.
726-
client.run(gc.collect) #run garbage collection to free up memory
726+
#client.run(gc.collect) #run garbage collection to free up memory
727727

728728
#checkpoint
729729
if self.population_file is not None:

0 commit comments

Comments
 (0)