xadrianzetx / optuna-distributed

Distributed hyperparameter optimization made easy
MIT License
34 stars 1 forks source link

Drop references to finished processes in local manager #90

Closed xadrianzetx closed 5 months ago

xadrianzetx commented 5 months ago

Holding references to finished processes prevents freeing associated resources, which might eventually lead to errors caused by exceeding open file descriptor limits on Unix platforms.

This patch ensures that references to finished workers are dropped before allocating new ones.

Closes #89.