automl / neps

Neural Pipeline Search (NePS): Helps deep learning experts find the best neural pipeline.
https://automl.github.io/neps/
Apache License 2.0
51 stars 12 forks source link

Remove fnctl dependancy #4

Closed eddiebergman closed 1 year ago

eddiebergman commented 1 year ago

This PR removes the fnctl (linux/mac) dependency and replaces it with portalocker which is cross-platform.

I added a new folder for tests called tests/test_metahyper along with an accompanying mark @pytest.mark.metahyper since mostly these things do not need to be tested.

The test attempts to start to processes in parallel and make sure that they do not interfer with eachother, such that all 15 configs are present with no duplicates. This was tested manually on linux as well but likely needs to be hand-tested on windows and on a cluster at scale as well.