Shortcuts

vLLMWorker

class torchrl.modules.llm.vLLMWorker(*args, **kwargs)[source]

vLLM worker for Ray.

vLLMParameterServer will always take rank 0 in the stateless process group initialized by this worker. And the tp ranks associated with the LLM class will be in the range [1, tp_size].

check_weights_changed()[source]

Check if the weights are updated to 0.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources