camall3n / onager

Lightweight python library for launching experiments and tuning hyperparameters, either locally or on a cluster
MIT License
20 stars 4 forks source link

prelaunch `exclude` #53

Open taodav opened 1 year ago

taodav commented 1 year ago

It would be nice to include an +exclude argument for onager, and list a subset of optional args. Onager should exclude all jobs that are a cross-product of all the excluded args. So for example:

prelaunch +command test +jobname test +arg --test1 1 2 3 +arg --test2 4 5 6 +exclude --test1 1 2 +exclude --test2 5

Should exclude all jobs with arguments

taodav commented 1 year ago

I've implemented this in my fork of onager - if people are interested I can create a PR!

camall3n commented 1 year ago

That seems useful!