vllm.entrypoints.rl.offline
¶
Classes:
RLOfflineMixin
¶
Bases: OfflineInferenceMixin
Methods:
-
finish_weight_update–Finish the weight update and set its version if provided.
-
get_weight_version–Return the latest committed weight version.
-
init_weight_transfer_engine–Initialize weight transfer for RL training.
-
start_draft_weight_update–Start a new weight update targeting the speculative draft model.
-
start_weight_update–Start a new weight update.
-
update_weight_version–Set the weight version without updating weights.
-
update_weights–Update the weights of the model.
Source code in vllm/entrypoints/rl/offline.py
finish_weight_update(weight_version=None)
¶
Finish the weight update and set its version if provided.
Source code in vllm/entrypoints/rl/offline.py
get_weight_version()
¶
init_weight_transfer_engine(request)
¶
Initialize weight transfer for RL training.
Parameters:
-
(request¶WeightTransferInitRequest | dict) –Weight transfer initialization request with backend-specific info
Source code in vllm/entrypoints/rl/offline.py
start_draft_weight_update()
¶
start_weight_update()
¶
update_weight_version(new_version)
¶
update_weights(request)
¶
Update the weights of the model.
Parameters:
-
(request¶WeightTransferUpdateRequest | dict) –Weight update request with backend-specific update info