mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-31 07:20:00 +00:00
feat: make training config fields optional
Signed-off-by: Charlie Doern <cdoern@redhat.com>
This commit is contained in:
parent
66d6c2580e
commit
9f5543a643
4 changed files with 29 additions and 21 deletions
17
docs/_static/llama-stack-spec.html
vendored
17
docs/_static/llama-stack-spec.html
vendored
|
|
@ -8846,13 +8846,16 @@
|
|||
"type": "integer"
|
||||
},
|
||||
"max_steps_per_epoch": {
|
||||
"type": "integer"
|
||||
"type": "integer",
|
||||
"default": 1
|
||||
},
|
||||
"gradient_accumulation_steps": {
|
||||
"type": "integer"
|
||||
"type": "integer",
|
||||
"default": 1
|
||||
},
|
||||
"max_validation_steps": {
|
||||
"type": "integer"
|
||||
"type": "integer",
|
||||
"default": 1
|
||||
},
|
||||
"data_config": {
|
||||
"$ref": "#/components/schemas/DataConfig"
|
||||
|
|
@ -8872,10 +8875,7 @@
|
|||
"required": [
|
||||
"n_epochs",
|
||||
"max_steps_per_epoch",
|
||||
"gradient_accumulation_steps",
|
||||
"max_validation_steps",
|
||||
"data_config",
|
||||
"optimizer_config"
|
||||
"gradient_accumulation_steps"
|
||||
],
|
||||
"title": "TrainingConfig"
|
||||
},
|
||||
|
|
@ -10051,8 +10051,7 @@
|
|||
"job_uuid",
|
||||
"training_config",
|
||||
"hyperparam_search_config",
|
||||
"logger_config",
|
||||
"model"
|
||||
"logger_config"
|
||||
],
|
||||
"title": "SupervisedFineTuneRequest"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue