Skip to content

vllm.entrypoints.rl.offline

Classes:

RLOfflineMixin

Bases: OfflineInferenceMixin

Methods:

finish_weight_update(weight_version=None)

Finish the weight update and set its version if provided.

get_weight_version()

Return the latest committed weight version.

init_weight_transfer_engine(request)

Initialize weight transfer for RL training.

Parameters:

shutdown_weight_transfer_engine()

Release the trainer connection without shutting down inference.

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(new_version)

Set the weight version without updating weights.

update_weights(request)

Update the weights of the model.

Parameters: