maxent_grpo.training.rollout.vllm_colocate¶
In-process (colocated) vLLM generation helpers for the custom loop.
Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return the first object in the vLLM stack exposing named_parameters(). |
|
|
|
|
|
Return the max payload size for colocate sync batches (bytes). |
|
|
|
Subprocess worker for vLLM colocate init/generate. |
Classes
|
Local client adapter that mimics TRL's VLLMClient interface. |
|
Lazy vLLM engine wrapper used for colocated generation. |
- class maxent_grpo.training.rollout.vllm_colocate.ColocateVLLMEngine(ctx, fallback_generate)[source]¶
Bases:
objectLazy vLLM engine wrapper used for colocated generation.
- Parameters:
ctx (Any)
fallback_generate (Any)
- class maxent_grpo.training.rollout.vllm_colocate.ColocateVLLMClient(engine)[source]¶
Bases:
objectLocal client adapter that mimics TRL’s VLLMClient interface.
- Parameters:
engine (ColocateVLLMEngine)