-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Overwrite sbatch options via CLI #81
Comments
In #79 Daniel mentioned that this should allow overriding Slurm parameters when starting an experiment, which is not addressed by this design. However, I don't think it's ideal to have seml <collection> update -b 7 -sb mem=25GB -o dataset=imagenet I'd suggest to add the overriding options to both |
Having an update command raises the potential issue that an overwrite parameter could cause two identical configurations. We would then have to check for duplicates again and potentially remove these. Still, having an override option at add time seems beneficial to me. |
I'd suggest breaking this up into two issues, as these are more or less orthogonal:
|
Yes, good point! Let's keep the PRs small and manageable. update could also break our assumption that every batch has consistent Slurm parameters. Creating batch arrays and sharing GPUs both rely on this. As a first step we could only allow changing Slurm parameters of full batches (and document the reasoning behind these restrictions). |
#79 follow-up.
At the moment, one must specify
sbatch
options in theyaml
file. However, as discussed in #71, it may be beneficial to override these settings via the CLI. The suggested syntax would be:The new syntax should be adapted to the
-sb
option inseml jupyter
as well. For parsing the key, values we can reuse the key value parser introduced in #79.The text was updated successfully, but these errors were encountered: