You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* moved ssh-forward to optional dependencies
* pinned setuptools version due to deprecation
* switched from mp forkserver to Popen and socket-based IPC
* moved worker logic in dedicated module
* add REMOVE sentinel to unset inherited config keys
Introduces a REMOVE singleton (and !remove YAML tag) that can be used as
a value in any config dict to delete a key that would otherwise be
inherited from a lower-priority config via merge_dicts. This allows e.g.
removing the default cpus-per-task when switching to cpus-per-gpu in a
user settings.py or experiment YAML without re-specifying the full
default block.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* auto-remove conflicting sbatch options on config merge
When a higher-priority slurm config (template or experiment yaml) sets an
option that belongs to a mutually exclusive group, conflicting options
inherited from the base are now automatically removed during
assemble_slurm_config_dict. Covers all pairs documented in the sbatch
man page: cpus-per-task/cpus-per-gpu, mem/mem-per-cpu/mem-per-gpu,
exclusive/oversubscribe, core-spec/thread-spec, and the three
ntasks-per-gpu incompatibilities.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* added tests and docs
* added logging
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: examples/README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,6 +158,12 @@ This can be nested arbitrarily deeply (be aware of combinatorial explosion of th
158
158
159
159
If a parameter is defined in (at least) two **different blocks** in `[grid, random, fixed]` on the same level, `seml` will throw an error to avoid ambiguity.
160
160
If a parameter is re-defined in a sub-configuration, the redefinition overrides any previous definitions of that parameter.
161
+
To remove a key inherited from a lower-priority config instead of overriding it, set it to `!remove`:
162
+
```yaml
163
+
large_datasets:
164
+
fixed:
165
+
regularization: !remove # removes the key set in the root fixed block
166
+
```
161
167
162
168
### Grid parameters
163
169
In an experiment config, under `grid` you can define parameters that should be sampled from a regular grid. Currently supported
0 commit comments