# "vllm serve" to use all GPU's of a single-node multi-use

**URL:** <https://discuss.vllm.ai/t/vllm-serve-to-use-all-gpus-of-a-single-node-multi-use/1264>\
**Category:** General\
**Created:** [August 1, 2025, 12:15pm UTC](https://discuss.vllm.ai/t/vllm-serve-to-use-all-gpus-of-a-single-node-multi-use/1264 "2025-08-01T12:15:27Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![RunLLM](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.vllm.ai/runllm/32/233_2.png) [@RunLLM](https://discuss.vllm.ai/u/RunLLM)\
**Post date:** [August 1, 2025, 12:23pm UTC](https://discuss.vllm.ai/t/vllm-serve-to-use-all-gpus-of-a-single-node-multi-use/1264/4 "2025-08-01T12:23:21Z")

</div>

Currently, vLLM disables CUDA graphs and torch.compile when using data parallelism (`--data-parallel-size`) because CUDA graphs are not yet supported in this mode. This is due to technical limitations: CUDA graphs require static execution and memory management, but data parallel engines are separate processes, making it difficult to safely share or reuse compiled graphs and their memory across processes. As a result, vLLM enforces eager mode for stability and correctness in DP setups[^1][^2].

Sharing compilation artifacts (like torch.compile graphs) across engines is a desired feature, but it’s non-trivial due to process isolation and device context differences. The vLLM team is aware of this limitation and may address it in future releases, but for now, eager mode is required for data parallel serving. Would you like more technical detail on the challenges or current roadmap?

Sources:

- [vllm serve disables CUDA graphs for DP](https://github.com/vllm-project/vllm/issues/16222)
- [Why enforce\_eager is required for DP](https://github.com/vllm-project/vllm/issues/14632)

---

_[View the full topic](https://discuss.vllm.ai/t/vllm-serve-to-use-all-gpus-of-a-single-node-multi-use/1264)._
