Commit 1422637
authored
Make parameters config optional in RawPyTorchMergeConfig. (#630)
In contrast to `merge-yaml` the `merge-pytorch` configuration has
non-nullable `parameters` value ([MergeConfiguration
L99](https://github.com/arcee-ai/mergekit/blob/main/mergekit/config.py#L99)
vs [RawPyTorchMergeConfig
L31](https://github.com/arcee-ai/mergekit/blob/main/mergekit/scripts/merge_raw_pytorch.py#L31)).
The change adds possibility to provide empty `parameters` value during
`merge-pytorch` and passes all the tests.1 parent 321dc17 commit 1422637
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
| 198 | + | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| |||
0 commit comments