mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-03 05:41:59 +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
7
docs/_static/llama-stack-spec.yaml
vendored
7
docs/_static/llama-stack-spec.yaml
vendored
|
|
@ -6079,10 +6079,13 @@ components:
|
|||
type: integer
|
||||
max_steps_per_epoch:
|
||||
type: integer
|
||||
default: 1
|
||||
gradient_accumulation_steps:
|
||||
type: integer
|
||||
default: 1
|
||||
max_validation_steps:
|
||||
type: integer
|
||||
default: 1
|
||||
data_config:
|
||||
$ref: '#/components/schemas/DataConfig'
|
||||
optimizer_config:
|
||||
|
|
@ -6097,9 +6100,6 @@ components:
|
|||
- n_epochs
|
||||
- max_steps_per_epoch
|
||||
- gradient_accumulation_steps
|
||||
- max_validation_steps
|
||||
- data_config
|
||||
- optimizer_config
|
||||
title: TrainingConfig
|
||||
PreferenceOptimizeRequest:
|
||||
type: object
|
||||
|
|
@ -6833,7 +6833,6 @@ components:
|
|||
- training_config
|
||||
- hyperparam_search_config
|
||||
- logger_config
|
||||
- model
|
||||
title: SupervisedFineTuneRequest
|
||||
SyntheticDataGenerateRequest:
|
||||
type: object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue