File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6633,6 +6633,24 @@ paths:
66336633 application/json :
66346634 schema :
66356635 $ref : ' #/components/schemas/RL.UntypedAPIFuture'
6636+ /rl/save_training_state :
6637+ post :
6638+ description : Saves the full checkpoint (weights + optimizer state) of the training session and returns a handle that can be used for inference.
6639+ operationId : saveTrainingState
6640+ summary : Save training state
6641+ requestBody :
6642+ required : true
6643+ content :
6644+ application/json :
6645+ schema :
6646+ $ref : ' #/components/schemas/RL.SaveTrainingStateRequest'
6647+ responses :
6648+ ' 200 ' :
6649+ description : API future for save training state completion
6650+ content :
6651+ application/json :
6652+ schema :
6653+ $ref : ' #/components/schemas/RL.UntypedAPIFuture'
66366654 /rl/optim_step :
66376655 post :
66386656 summary : Optimization step
@@ -11836,6 +11854,17 @@ components:
1183611854 $ref : ' #/components/schemas/RL.RequestId'
1183711855 training_session_id :
1183811856 $ref : ' #/components/schemas/RL.TrainingId'
11857+ RL.SaveTrainingStateRequest :
11858+ type : object
11859+ required :
11860+ - training_session_id
11861+ properties :
11862+ type :
11863+ type : string
11864+ enum :
11865+ - save_training_state
11866+ training_session_id :
11867+ $ref : ' #/components/schemas/RL.TrainingId'
1183911868 RL.OptimStepRequest :
1184011869 type : object
1184111870 required :
You can’t perform that action at this time.
0 commit comments