make pad_to_sequence_len default to the same value as sample_packing (#2941) [skip ci]
* make pad_to_sequence_len default to the same value as sample_packing * remove duplicate validation * fix test * update description meta Co-authored-by: NanoCode012 <nano@axolotl.ai> --------- Co-authored-by: NanoCode012 <nano@axolotl.ai>
This commit is contained in:
@@ -435,7 +435,7 @@ class AxolotlInputConfig(
|
||||
pad_to_sequence_len: bool | None = Field(
|
||||
default=None,
|
||||
json_schema_extra={
|
||||
"description": "Pad inputs so each step uses constant sized buffers. This will reduce memory fragmentation and may prevent OOMs, by re-using memory more efficiently"
|
||||
"description": "Pad inputs so each step uses constant sized buffers. This will reduce memory fragmentation and may prevent OOMs, by re-using memory more efficiently. Defaults to True if `sample_packing` enabled"
|
||||
},
|
||||
)
|
||||
curriculum_sampling: bool | None = Field(
|
||||
|
||||
Reference in New Issue
Block a user