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

Add automatic backend detection #31

Open camall3n opened 4 years ago

camall3n commented 4 years ago

Cam: "I think by default it should check for slurm / gridengine, and run one of those, with an override like --local if you need that" Neev: "Nah, it should keep the --backend override and just check for a default at runtime. It's more flexible this way" Cam: "Oh so you're saying it would automatically build a config using the available backend?" Neev: "Well it could. But we can also just set the default= in argparse to a function evaluated at runtime or something"

camall3n commented 4 years ago

The auto-backend feature should print out the backend it thinks you wanted to use