It'd be great if Hydra's basic sweeper supported range sweeping out of the box.
Provide a simple syntax for range sweeping, e.g.:
python foo.py a=1:5 -> python foo.py a=1,2,3,4,5python foo.py a=1:10:2 -> python foo.py a=1,3,5,7,9This has been implemented in @BadrYoubiIdrissi's range-sweeper plugin.
In addition, it might be helpful to disable range sweeping or change the separator char for people who rely on it.
FR following discussion with @omry on Zulip.
This syntax is consistent with the syntax in the coming Ax plugin.
I will look into supporting this in the basic sweeper in 1.1.0.
Most helpful comment
This syntax is consistent with the syntax in the coming Ax plugin.
I will look into supporting this in the basic sweeper in 1.1.0.