在同时启动 2 个 Docker 容器并使用 2 个 GPU 时,驱动程序发生死锁
作者: guenhter创建于 2025年11月19日更新于 2026年10月1日
标签bug
We have a deadlock issue on two servers (it happens not 100% of the time but multiple times a week after daily reboots). When starting up the following compose file (cut down to the essential parts):
services:
vllm-server-gpu0:
image: vllm/vllm-OpenAI:v0.11.0
runtime: nvidia
ipc: host
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ["0"]
capabilities: [gpu]
command: >
--model Qwen/Qwen2.5-VL-3B-Instruct-AWQ
--served-model-name Qwen/Qwen2.5-VL-3B-Instruct
--gpu-memory-utilization 0.90
--max_model_len 1600
--tensor-parallel-size 1
--load-format safetensors
--enable-log-requests
--enable-log-outputs
vllm-server-gpu1:
image: vllm/vllm-OpenAI:v0.11.0
runtime: nvidia
ipc: host
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ["1"]
capabilities: [gpu]
command: >
--model google/gemma-3-1b-it-qat-int4-unquantized
--served-model-name google/gemma-3-1b-it
--gpu-memory-utilization 0.90
--max_model_len 32768
--tensor-parallel-size 1
--load-format safetensors
--enable-log-requests
--enable-log-outputsthen the system completely stalls (not even keyboard input is possible any more).
内容来源: NVIDIA/open-gpu-kernel-modules