You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use of "differential evolution" as the default optimizer in KDTreeFitter appears to have led to some issues due to its use of multithreading. These include:
Large numbers of open "files" requiring ulimit -n 1024
Inability to run python scripts that do not have the if __name__ == "__main__" idiom
Issues running scripts in an interactive python environment (probably related to the previous item)
The second is well-understood here but may trip up people who don't code to a high standard. The other two are less clear, and it's also unclear whether any of this is due to the change from "fork" for "spawn" for python multiprocesses on OSX in python 3.8+.
Some more investigation/reports might be needed, as well as possibly exposing a parameter to use a different method of optimization.
The text was updated successfully, but these errors were encountered:
The use of "differential evolution" as the default optimizer in KDTreeFitter appears to have led to some issues due to its use of multithreading. These include:
ulimit -n 1024
if __name__ == "__main__"
idiomThe second is well-understood here but may trip up people who don't code to a high standard. The other two are less clear, and it's also unclear whether any of this is due to the change from "fork" for "spawn" for python multiprocesses on OSX in python 3.8+.
Some more investigation/reports might be needed, as well as possibly exposing a parameter to use a different method of optimization.
The text was updated successfully, but these errors were encountered: