Before TRL v0.18.0
Before TRL v0.18.0, vLLM was only supported in server mode, running as a separate process on different GPUs from the training job. [1]
What co-location is
Training and inference are co-located on the same GPUs and coordinated via the same process group, allowing them to take turns smoothly — no extra hardware needed. [2]
What was not possible before
Previously, this wasn’t possible in TRL, which relied on vLLM as an external HTTP server. [3]
Sources
- The Hugging Face source says: Before TRL v0.18.0, vLLM was only supported in server mode, running as a separate process on different GPUs from the training job. Co-located vLLM in TRL
- The Hugging Face source says: Training and inference are co-located on the same GPUs and coordinated via the same process group, allowing them to take turns smoothly — no extra hardware needed. Co-located vLLM in TRL
- The Hugging Face source says: Previously, this wasn’t possible in TRL, which relied on vLLM as an external HTTP server. Co-located vLLM in TRL