vllm-project / vllm

A high-throughput and memory-efficient inference and serving engine for LLMs
https://docs.vllm.ai
Apache License 2.0
28.92k stars 4.3k forks source link

[Bug]: Exception in worker VllmWorkerProcess while processing method init_device: NCCL error: unhandled cuda error #9329

Open wangyao123456a opened 1 week ago

wangyao123456a commented 1 week ago

Your current environment

PyTorch version: 2.3.0+cu121 Is debug build: False CUDA used to build PyTorch: 12.1 ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.4 LTS (x86_64) GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang version: Could not collect CMake version: version 3.30.4 Libc version: glibc-2.35

Python version: 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] (64-bit runtime) Python platform: Linux-5.15.0-117-generic-x86_64-with-glibc2.35 Is CUDA available: True CUDA runtime version: 12.4.131 CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA H100 80GB HBM3 GPU 1: NVIDIA H100 80GB HBM3 GPU 2: NVIDIA H100 80GB HBM3 GPU 3: NVIDIA H100 80GB HBM3

Nvidia driver version: 550.90.07 cuDNN version: Probably one of the following: /usr/lib/x86_64-linux-gnu/libcudnn.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_adv.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_cnn.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_engines_precompiled.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_engines_runtime_compiled.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_graph.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_heuristic.so.9.1.0 /usr/lib/x86_64-linux-gnu/libcudnn_ops.so.9.1.0 HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True

CPU: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 46 bits physical, 57 bits virtual Byte Order: Little Endian CPU(s): 192 On-line CPU(s) list: 0-191 Vendor ID: GenuineIntel Model name: Intel(R) Xeon(R) Platinum 8468 CPU family: 6 Model: 143 Thread(s) per core: 2 Core(s) per socket: 48 Socket(s): 2 Stepping: 8 Frequency boost: enabled CPU max MHz: 2101.0000 CPU min MHz: 800.0000 BogoMIPS: 4200.00 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 cdp_l3 invpcid_single intel_ppin cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pconfig arch_lbr amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities Virtualization: VT-x L1d cache: 4.5 MiB (96 instances) L1i cache: 3 MiB (96 instances) L2 cache: 192 MiB (96 instances) L3 cache: 210 MiB (2 instances) NUMA node(s): 2 NUMA node0 CPU(s): 0-47,96-143 NUMA node1 CPU(s): 48-95,144-191 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Reg file data sampling: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected

Versions of relevant libraries: [pip3] numpy==1.26.4 [pip3] nvidia-cublas-cu12==12.1.3.1 [pip3] nvidia-cuda-cupti-cu12==12.1.105 [pip3] nvidia-cuda-nvrtc-cu12==12.1.105 [pip3] nvidia-cuda-runtime-cu12==12.1.105 [pip3] nvidia-cudnn-cu12==8.9.2.26 [pip3] nvidia-cufft-cu12==11.0.2.54 [pip3] nvidia-curand-cu12==10.3.2.106 [pip3] nvidia-cusolver-cu12==11.4.5.107 [pip3] nvidia-cusparse-cu12==12.1.0.106 [pip3] nvidia-ml-py==12.560.30 [pip3] nvidia-nccl-cu12==2.20.5 [pip3] nvidia-nvjitlink-cu12==12.6.77 [pip3] nvidia-nvtx-cu12==12.1.105 [pip3] pyzmq==26.2.0 [pip3] torch==2.3.0 [pip3] torchvision==0.18.0 [pip3] transformers==4.45.2 [pip3] transformers-stream-generator==0.0.4 [pip3] triton==2.3.0 [conda] Could not collect ROCM Version: Could not collect Neuron SDK Version: N/A vLLM Version: 0.5.1 vLLM Build Flags: CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled GPU Topology: GPU0 GPU1 GPU2 GPU3 NIC0 NIC1 NIC2 NIC3 NIC4 NIC5 NIC6 NIC7 CPU Affinity NUMA Affinity GPU NUMA ID GPU0 X NV18 NV18 NV18 SYS SYS SYS SYS PIX NODE NODE NODE 48-95,144-191 1 N/A GPU1 NV18 X NV18 NV18 SYS SYS SYS SYS NODE PIX NODE NODE 48-95,144-191 1 N/A GPU2 NV18 NV18 X NV18 SYS SYS SYS SYS NODE NODE PIX NODE 48-95,144-191 1 N/A GPU3 NV18 NV18 NV18 X SYS SYS SYS SYS NODE NODE NODE PIX 48-95,144-191 1 N/A NIC0 SYS SYS SYS SYS X NODE NODE NODE SYS SYS SYS SYS NIC1 SYS SYS SYS SYS NODE X NODE NODE SYS SYS SYS SYS NIC2 SYS SYS SYS SYS NODE NODE X NODE SYS SYS SYS SYS NIC3 SYS SYS SYS SYS NODE NODE NODE X SYS SYS SYS SYS NIC4 PIX NODE NODE NODE SYS SYS SYS SYS X NODE NODE NODE NIC5 NODE PIX NODE NODE SYS SYS SYS SYS NODE X NODE NODE NIC6 NODE NODE PIX NODE SYS SYS SYS SYS NODE NODE X NODE NIC7 NODE NODE NODE PIX SYS SYS SYS SYS NODE NODE NODE X

Legend:

X = Self SYS = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI) NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node PHB = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU) PXB = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge) PIX = Connection traversing at most a single PCIe bridge NV# = Connection traversing a bonded set of # NVLinks

NIC Legend:

NIC0: mlx5_0 NIC1: mlx5_1 NIC2: mlx5_2 NIC3: mlx5_3 NIC4: mlx5_4 NIC5: mlx5_5 NIC6: mlx5_6 NIC7: mlx5_7

Model Input Dumps

No response

🐛 Describe the bug

vllm H100 2卡启动 qwen2-72b-instruct 模型服务可以成功,但是H100 4卡启动失败。 python -m fastchat.serve.vllm_worker --model-path /checkpoints/Qwen2-72B-Instruct/ --trust-remote-code --tensor-parallel-size 4 --gpu-memory-utilization 0.98 --dtype bfloat16 --port 481001 --worker-address http://localhost:481001 --host 0.0.0.0 --model-names Qwen2-72B --max-model-len 4096 唯一区别是--tensor-parallel-size = 2 时可以成功,--tensor-parallel-size = 4就会报错。

错误信息如下:

INFO 10-14 01:39:43 config.py:698] Defaulting to use mp for distributed inference INFO 10-14 01:39:43 llm_engine.py:169] Initializing an LLM engine (v0.5.1) with config: model='/mnt/data0/assistant/checkpoints/Qwen2-72B-Instruct/', speculative_config=None, tokenizer='/mnt/data0/assistant/checkpoints/Qwen2-72B-Instruct/', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, rope_scaling=None, rope_theta=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=4096, download_dir=None, load_format=LoadFormat.AUTO, tensor_parallel_size=4, pipeline_parallel_size=1, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, kv_cache_dtype=auto, quantization_param_path=None, device_config=cuda, decoding_config=DecodingConfig(guided_decoding_backend='outlines'), observability_config=ObservabilityConfig(otlp_traces_endpoint=None), seed=0, served_model_name=/mnt/data0/assistant/checkpoints/Qwen2-72B-Instruct/, use_v2_block_manager=False, enable_prefix_caching=False) INFO 10-14 01:39:46 multiproc_worker_utils.py:215] Worker ready; awaiting tasks INFO 10-14 01:39:46 multiproc_worker_utils.py:215] Worker ready; awaiting tasks INFO 10-14 01:39:46 multiproc_worker_utils.py:215] Worker ready; awaiting tasks INFO 10-14 01:39:47 utils.py:741] Found nccl from library libnccl.so.2 INFO 10-14 01:39:47 pynccl.py:63] vLLM is using nccl==2.20.5 INFO 10-14 01:39:47 utils.py:741] Found nccl from library libnccl.so.2 INFO 10-14 01:39:47 pynccl.py:63] vLLM is using nccl==2.20.5 INFO 10-14 01:39:47 utils.py:741] Found nccl from library libnccl.so.2 INFO 10-14 01:39:47 utils.py:741] Found nccl from library libnccl.so.2 INFO 10-14 01:39:47 pynccl.py:63] vLLM is using nccl==2.20.5 INFO 10-14 01:39:47 pynccl.py:63] vLLM is using nccl==2.20.5 3837134f4773:4457:4457 [0] NCCL INFO Bootstrap : Using eth0:172.17.0.3<0> 3837134f4773:4457:4457 [0] NCCL INFO NET/Plugin : dlerror=libnccl-net.so: cannot open shared object file: No such file or directory No plugin found (libnccl-net.so), using internal implementation 3837134f4773:4457:4457 [0] NCCL INFO cudaDriverVersion 12040 NCCL version 2.20.5+cuda12.4 3837134f4773:4457:4457 [0] NCCL INFO Failed to open libibverbs.so[.1] 3837134f4773:4457:4457 [0] NCCL INFO NET/Socket : Using [0]eth0:172.17.0.3<0> 3837134f4773:4457:4457 [0] NCCL INFO Using non-device net plugin version 0 3837134f4773:4457:4457 [0] NCCL INFO Using network Socket 3837134f4773:4457:4457 [0] NCCL INFO comm 0x564a3eb14970 rank 0 nranks 4 cudaDev 0 nvmlDev 0 busId 9a000 commId 0xe11ac10356a51147 - Init START 3837134f4773:4457:4457 [0] NCCL INFO MNNVL busId 0x9a000 fabric UUID 0.0 cliqueId 0x0 state 3 healthMask 0x0 3837134f4773:4457:4457 [0] NCCL INFO NCCL_CUMEM_ENABLE set by environment to 0. 3837134f4773:4457:4457 [0] NCCL INFO Setting affinity for GPU 0 to ffffffff,ffff0000,00000000,ffffffff,ffff0000,00000000 3837134f4773:4457:4457 [0] NCCL INFO NVLS multicast support is available on dev 0 3837134f4773:4457:4457 [0] NCCL INFO comm 0x564a3eb14970 rank 0 nRanks 4 nNodes 1 localRanks 4 localRank 0 MNNVL 0 3837134f4773:4457:4457 [0] NCCL INFO Channel 00/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 01/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 02/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 03/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 04/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 05/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 06/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 07/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 08/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 09/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 10/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 11/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 12/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 13/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 14/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 15/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 16/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 17/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 18/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 19/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 20/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 21/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 22/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Channel 23/24 : 0 1 2 3 3837134f4773:4457:4457 [0] NCCL INFO Trees [0] 1/-1/-1->0->-1 [1] 1/-1/-1->0->-1 [2] 1/-1/-1->0->-1 [3] 1/-1/-1->0->-1 [4] 1/-1/-1->0->-1 [5] 1/-1/-1->0->-1 [6] 1/-1/-1->0->-1 [7] 1/-1/-1->0->-1 [8] 1/-1/-1->0->-1 [9] 1/-1/-1->0->-1 [10] 1/-1/-1->0->-1 [11] 1/-1/-1->0->-1 [12] 1/-1/-1->0->-1 [13] 1/-1/-1->0->-1 [14] 1/-1/-1->0->-1 [15] 1/-1/-1->0->-1 [16] 1/-1/-1->0->-1 [17] 1/-1/-1->0->-1 [18] 1/-1/-1->0->-1 [19] 1/-1/-1->0->-1 [20] 1/-1/-1->0->-1 [21] 1/-1/-1->0->-1 [22] 1/-1/-1->0->-1 [23] 1/-1/-1->0->-1 3837134f4773:4457:4457 [0] NCCL INFO P2P Chunksize set to 524288 3837134f4773:4457:4457 [0] NCCL INFO Channel 00/0 : 0[0] -> 1[1] via P2P/IPC 3837134f4773:4457:4457 [0] NCCL INFO Channel 01/0 : 0[0] -> 1[1] via P2P/IPC 3837134f4773:4457:4457 [0] NCCL INFO Channel 02/0 : 0[0] -> 1[1] via P2P/IPC 3837134f4773:4457:4457 [0] NCCL INFO Channel 03/0 : 0[0] -> 1[1] via P2P/IPC 3837134f4773:4457:4457 [0] NCCL INFO Channel 04/0 : 0[0] -> 1[1] via P2P/IPC 3837134f4773:4457:4457 [0] NCCL INFO Channel 05/0 : 0[0] -> 1[1] via P2P/IPC 3837134f4773:4457:4457 [0] NCCL INFO Channel 06/0 : 0[0] -> 1[1] via P2P/IPC 3837134f4773:4457:4457 [0] NCCL INFO Channel 07/0 : 0[0] -> 1[1] via P2P/IPC 3837134f4773:4457:4457 [0] NCCL INFO Channel 08/0 : 0[0] -> 1[1] via P2P/IPC 3837134f4773:4457:4457 [0] NCCL INFO Channel 09/0 : 0[0] -> 1[1] via P2P/IPC 3837134f4773:4457:4457 [0] NCCL INFO Channel 10/0 : 0[0] -> 1[1] via P2P/IPC 3837134f4773:4457:4457 [0] NCCL INFO Channel 11/0 : 0[0] ->3837134f4773:4529:4529 [3] NCCL INFO cudaDriverVersion 12040 3837134f4773:4529:4529 [3] NCCL INFO Bootstrap : Using eth0:172.17.0.3<0> 3837134f4773:4529:4529 [3] NCCL INFO NET/Plugin : dlerror=libnccl-net.so: cannot open shared object file: No such file or directory No plugin found (libnccl-net.so), using internal implementation 3837134f4773:4529:4529 [3] NCCL INFO Failed to open libibverbs.so[.1] 3837134f4773:4529:4529 [3] NCCL INFO NET/Socket : Using [0]eth0:172.17.0.3<0> 3837134f4773:4529:4529 [3] NCCL INFO Using non-device net plugin version 0 3837134f4773:4529:4529 [3] NCCL INFO Using network Socket 3837134f4773:4529:4529 [3] NCCL INFO comm 0x564a3eb13660 rank 3 nranks 4 cudaDev 3 nvmlDev 3 busId db000 commId 0xe11ac10356a51147 - Init START 3837134f4773:4529:4529 [3] NCCL INFO MNNVL busId 0xdb000 fabric UUID 0.0 cliqueId 0x0 state 3 healthMask 0x0 3837134f4773:4529:4529 [3] NCCL INFO NCCL_CUMEM_ENABLE set by environment to 0. 3837134f4773:4529:4529 [3] NCCL INFO Setting affinity for GPU 3 to ffffffff,ffff0000,00000000,ffffffff,ffff0000,00000000 3837134f4773:4529:4529 [3] NCCL INFO NVLS multicast support is available on dev 3 3837134f4773:4529:4529 [3] NCCL INFO comm 0x564a3eb13660 rank 3 nRanks 4 nNodes 1 localRanks 4 localRank 3 MNNVL 0 3837134f4773:4529:4529 [3] NCCL INFO Trees [0] -1/-1/-1->3->2 [1] -1/-1/-1->3->2 [2] -1/-1/-1->3->2 [3] -1/-1/-1->3->2 [4] -1/-1/-1->3->2 [5] -1/-1/-1->3->2 [6] -1/-1/-1->3->2 [7] -1/-1/-1->3->2 [8] -1/-1/-1->3->2 [9] -1/-1/-1->3->2 [10] -1/-1/-1->3->2 [11] -1/-1/-1->3->2 [12] -1/-1/-1->3->2 [13] -1/-1/-1->3->2 [14] -1/-1/-1->3->2 [15] -1/-1/-1->3->2 [16] -1/-1/-1->3->2 [17] -1/-1/-1->3->2 [18] -1/-1/-1->3->2 [19] -1/-1/-1->3->2 [20] -1/-1/-1->3->2 [21] -1/-1/-1->3->2 [22] -1/-1/-1->3->2 [23] -1/-1/-1->3->2 3837134f4773:4529:4529 [3] NCCL INFO P2P Chunksize set to 524288 3837134f4773:4529:4529 [3] NCCL INFO Channel 00/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 01/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 02/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 03/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 04/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 05/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 06/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 07/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 08/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 09/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 10/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 11/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 12/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 13/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 14/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 15/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 16/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 17/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 18/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 19/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 20/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 21/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 22/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 23/0 : 3[3] -> 0[0] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Connected all rings 3837134f4773:4529:4529 [3] NCCL INFO Channel 00/0 : 3[3] -> 2[2] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 01/0 : 3[3] -> 2[2] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 02/0 : 3[3] -> 2[2] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Channel 03/0 : 3[3] -> 2[2] via P2P/IPC 3837134f4773:4529:4529 [3] NCCL INFO Chann3837134f4773:4527:4527 [1] NCCL INFO cudaDriverVersion 12040 3837134f4773:4527:4527 [1] NCCL INFO Bootstrap : Using eth0:172.17.0.3<0> 3837134f4773:4527:4527 [1] NCCL INFO NET/Plugin : dlerror=libnccl-net.so: cannot open shared object file: No such file or directory No plugin found (libnccl-net.so), using internal implementation 3837134f4773:4527:4527 [1] NCCL INFO Failed to open libibverbs.so[.1] 3837134f4773:4527:4527 [1] NCCL INFO NET/Socket : Using [0]eth0:172.17.0.3<0> 3837134f4773:4527:4527 [1] NCCL INFO Using non-device net plugin version 0 3837134f4773:4527:4527 [1] NCCL INFO Using network Socket 3837134f4773:4527:4527 [1] NCCL INFO comm 0x564a3eb123a0 rank 1 nranks 4 cudaDev 1 nvmlDev 1 busId ab000 commId 0xe11ac10356a51147 - Init START 3837134f4773:4527:4527 [1] NCCL INFO MNNVL busId 0xab000 fabric UUID 0.0 cliqueId 0x0 state 3 healthMask 0x0 3837134f4773:4527:4527 [1] NCCL INFO NCCL_CUMEM_ENABLE set by environment to 0. 3837134f4773:4527:4527 [1] NCCL INFO Setting affinity for GPU 1 to ffffffff,ffff0000,00000000,ffffffff,ffff0000,00000000 3837134f4773:4527:4527 [1] NCCL INFO NVLS multicast support is available on dev 1 3837134f4773:4527:4527 [1] NCCL INFO comm 0x564a3eb123a0 rank 1 nRanks 4 nNodes 1 localRanks 4 localRank 1 MNNVL 0 3837134f4773:4527:4527 [1] NCCL INFO Trees [0] 2/-1/-1->1->0 [1] 2/-1/-1->1->0 [2] 2/-1/-1->1->0 [3] 2/-1/-1->1->0 [4] 2/-1/-1->1->0 [5] 2/-1/-1->1->0 [6] 2/-1/-1->1->0 [7] 2/-1/-1->1->0 [8] 2/-1/-1->1->0 [9] 2/-1/-1->1->0 [10] 2/-1/-1->1->0 [11] 2/-1/-1->1->0 [12] 2/-1/-1->1->0 [13] 2/-1/-1->1->0 [14] 2/-1/-1->1->0 [15] 2/-1/-1->1->0 [16] 2/-1/-1->1->0 [17] 2/-1/-1->1->0 [18] 2/-1/-1->1->0 [19] 2/-1/-1->1->0 [20] 2/-1/-1->1->0 [21] 2/-1/-1->1->0 [22] 2/-1/-1->1->0 [23] 2/-1/-1->1->0 3837134f4773:4527:4527 [1] NCCL INFO P2P Chunksize set to 524288 3837134f4773:4527:4527 [1] NCCL INFO Channel 00/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 01/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 02/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 03/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 04/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 05/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 06/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 07/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 08/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 09/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 10/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 11/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 12/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 13/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 14/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 15/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 16/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 17/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 18/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 19/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 20/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 21/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 22/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 23/0 : 1[1] -> 2[2] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Connected all rings 3837134f4773:4527:4527 [1] NCCL INFO Channel 00/0 : 1[1] -> 0[0] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 01/0 : 1[1] -> 0[0] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 02/0 : 1[1] -> 0[0] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 03/0 : 1[1] -> 0[0] via P2P/IPC 3837134f4773:4527:4527 [1] NCCL INFO Channel 04/0 : 1[1] -> 0[0] v3837134f4773:4528:4528 [2] NCCL INFO cudaDriverVersion 12040 3837134f4773:4528:4528 [2] NCCL INFO Bootstrap : Using eth0:172.17.0.3<0> 3837134f4773:4528:4528 [2] NCCL INFO NET/Plugin : dlerror=libnccl-net.so: cannot open shared object file: No such file or directory No plugin found (libnccl-net.so), using internal implementation 3837134f4773:4528:4528 [2] NCCL INFO Failed to open libibverbs.so[.1] 3837134f4773:4528:4528 [2] NCCL INFO NET/Socket : Using [0]eth0:172.17.0.3<0> 3837134f4773:4528:4528 [2] NCCL INFO Using non-device net plugin version 0 3837134f4773:4528:4528 [2] NCCL INFO Using network Socket 3837134f4773:4528:4528 [2] NCCL INFO comm 0x564a3eb12a60 rank 2 nranks 4 cudaDev 2 nvmlDev 2 busId ba000 commId 0xe11ac10356a51147 - Init START 3837134f4773:4528:4528 [2] NCCL INFO MNNVL busId 0xba000 fabric UUID 0.0 cliqueId 0x0 state 3 healthMask 0x0 3837134f4773:4528:4528 [2] NCCL INFO NCCL_CUMEM_ENABLE set by environment to 0. 3837134f4773:4528:4528 [2] NCCL INFO Setting affinity for GPU 2 to ffffffff,ffff0000,00000000,ffffffff,ffff0000,00000000 3837134f4773:4528:4528 [2] NCCL INFO NVLS multicast support is available on dev 2 3837134f4773:4528:4528 [2] NCCL INFO comm 0x564a3eb12a60 rank 2 nRanks 4 nNodes 1 localRanks 4 localRank 2 MNNVL 0 3837134f4773:4528:4528 [2] NCCL INFO Trees [0] 3/-1/-1->2->1 [1] 3/-1/-1->2->1 [2] 3/-1/-1->2->1 [3] 3/-1/-1->2->1 [4] 3/-1/-1->2->1 [5] 3/-1/-1->2->1 [6] 3/-1/-1->2->1 [7] 3/-1/-1->2->1 [8] 3/-1/-1->2->1 [9] 3/-1/-1->2->1 [10] 3/-1/-1->2->1 [11] 3/-1/-1->2->1 [12] 3/-1/-1->2->1 [13] 3/-1/-1->2->1 [14] 3/-1/-1->2->1 [15] 3/-1/-1->2->1 [16] 3/-1/-1->2->1 [17] 3/-1/-1->2->1 [18] 3/-1/-1->2->1 [19] 3/-1/-1->2->1 [20] 3/-1/-1->2->1 [21] 3/-1/-1->2->1 [22] 3/-1/-1->2->1 [23] 3/-1/-1->2->1 3837134f4773:4528:4528 [2] NCCL INFO P2P Chunksize set to 524288 3837134f4773:4528:4528 [2] NCCL INFO Channel 00/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 01/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 02/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 03/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 04/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 05/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 06/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 07/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 08/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 09/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 10/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 11/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 12/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 13/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 14/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 15/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 16/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 17/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 18/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 19/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 20/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 21/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 22/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 23/0 : 2[2] -> 3[3] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Connected all rings 3837134f4773:4528:4528 [2] NCCL INFO Channel 00/0 : 2[2] -> 1[1] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 01/0 : 2[2] -> 1[1] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 02/0 : 2[2] -> 1[1] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 03/0 : 2[2] -> 1[1] via P2P/IPC 3837134f4773:4528:4528 [2] NCCL INFO Channel 04/0 : 2[2] -> 1[1] vERROR 10-14 01:39:49 multiproc_worker_utils.py:226] Exception in worker VllmWorkerProcess while processing method init_device: NCCL error: unhandled cuda error (run with NCCL_DEBUG=INFO for details), Traceback (most recent call last): ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/executor/multiproc_worker_utils.py", line 223, in _run_worker_process ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] output = executor(*args, kwargs) ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker.py", line 126, in init_device ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] init_worker_distributed_environment(self.parallel_config, self.rank, ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker.py", line 327, in init_worker_distributed_environment ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] ensure_model_parallel_initialized(parallel_config.tensor_parallel_size, ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 915, in ensure_model_parallel_initialized ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] initialize_model_parallel(tensor_model_parallel_size, ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 883, in initialize_model_parallel ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] _TP = init_model_parallel_group(group_ranks, ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 729, in init_model_parallel_group ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] return GroupCoordinator( ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 175, in init ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] self.pynccl_comm = PyNcclCommunicator( ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/device_communicators/pynccl.py", line 89, in init ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] self.comm: ncclComm_t = self.nccl.ncclCommInitRank( ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/device_communicators/pynccl_wrapper.py", line 244, in ncclCommInitRank ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] self.NCCL_CHECK(self._funcs["ncclCommInitRank"](ctypes.byref(comm), ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/device_communicators/pynccl_wrapper.py", line 223, in NCCL_CHECK ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] raise RuntimeError(f"NCCL error: {error_str}") ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] RuntimeError: NCCL error: unhandled cuda error (run with NCCL_DEBUG=INFO for details) ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] Exception in worker VllmWorkerProcess while processing method init_device: NCCL error: unhandled cuda error (run with NCCL_DEBUG=INFO for details), Traceback (most recent call last): ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/executor/multiproc_worker_utils.py", line 223, in _run_worker_process ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] output = executor(*args, *kwargs) ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker.py", line 126, in init_device ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] init_worker_distributed_environment(self.parallel_config, self.rank, ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker.py", line 327, in init_worker_distributed_environment ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] ensure_model_parallel_initialized(parallel_config.tensor_parallel_size, ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 915, in ensure_model_parallel_initialized ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] initialize_model_parallel(tensor_model_parallel_size, ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 883, in initialize_model_parallel ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] _TP = init_model_parallel_group(group_ranks, ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 729, in init_model_parallel_group ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] return GroupCoordinator( ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 175, in init ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] self.pynccl_comm = PyNcclCommunicator( ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/device_communicators/pynccl.py", line 89, in init ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] self.comm: ncclComm_t = self.nccl.ncclCommInitRank( ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/device_communicators/pynccl_wrapper.py", line 244, in ncclCommInitRank ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] self.NCCL_CHECK(self._funcs["ncclCommInitRank"](ctypes.byref(comm), ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/device_communicators/pynccl_wrapper.py", line 223, in NCCL_CHECK ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] raise RuntimeError(f"NCCL error: {error_str}") ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] RuntimeError: NCCL error: unhandled cuda error (run with NCCL_DEBUG=INFO for details) ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] Exception in worker VllmWorkerProcess while processing method init_device: NCCL error: unhandled cuda error (run with NCCL_DEBUG=INFO for details), Traceback (most recent call last): ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/executor/multiproc_worker_utils.py", line 223, in _run_worker_process ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] output = executor(args, kwargs) ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker.py", line 126, in init_device ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] init_worker_distributed_environment(self.parallel_config, self.rank, ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker.py", line 327, in init_worker_distributed_environment ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] ensure_model_parallel_initialized(parallel_config.tensor_parallel_size, ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 915, in ensure_model_parallel_initialized ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] initialize_model_parallel(tensor_model_parallel_size, ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 883, in initialize_model_parallel ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] _TP = init_model_parallel_group(group_ranks, ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 729, in init_model_parallel_group ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] return GroupCoordinator( ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 175, in init ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] self.pynccl_comm = PyNcclCommunicator( ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/device_communicators/pynccl.py", line 89, in init ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] self.comm: ncclComm_t = self.nccl.ncclCommInitRank( ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/device_communicators/pynccl_wrapper.py", line 244, in ncclCommInitRank ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] self.NCCL_CHECK(self._funcs["ncclCommInitRank"](ctypes.byref(comm), ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/device_communicators/pynccl_wrapper.py", line 223, in NCCL_CHECK ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] raise RuntimeError(f"NCCL error: {error_str}") ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] RuntimeError: NCCL error: unhandled cuda error (run with NCCL_DEBUG=INFO for details) ERROR 10-14 01:39:49 multiproc_worker_utils.py:226] 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: Traceback (most recent call last): 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: return _run_code(code, main_globals, None, 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/lib/python3.10/runpy.py", line 86, in _run_code 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: exec(code, run_globals) 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/fastchat/serve/vllm_worker.py", line 290, in 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: engine = AsyncLLMEngine.from_engine_args(engine_args) 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/engine/async_llm_engine.py", line 431, in from_engine_args 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: engine = cls( 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/engine/async_llm_engine.py", line 360, in init 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: self.engine = self._init_engine(*args, kwargs) 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/engine/async_llm_engine.py", line 507, in _init_engine 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: return engine_class(*args, *kwargs) 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/engine/llm_engine.py", line 243, in init 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: self.model_executor = executor_class( 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/executor/multiproc_gpu_executor.py", line 153, in init 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: super().init(args, kwargs) 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/executor/distributed_gpu_executor.py", line 25, in init 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: super().init(*args, *kwargs) 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/executor/executor_base.py", line 128, in init 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: super().init(model_config, cache_config, parallel_config, 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/executor/executor_base.py", line 42, in init 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: self._init_executor() 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/executor/multiproc_gpu_executor.py", line 78, in _init_executor 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: self._run_workers("init_device") 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/executor/multiproc_gpu_executor.py", line 130, in _run_workers 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: driver_worker_output = driver_worker_method(args, **kwargs) 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker.py", line 126, in init_device 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: init_worker_distributed_environment(self.parallel_config, self.rank, 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker.py", line 327, in init_worker_distributed_environment 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: ensure_model_parallel_initialized(parallel_config.tensor_parallel_size, 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 915, in ensure_model_parallel_initialized 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: initialize_model_parallel(tensor_model_parallel_size, 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 883, in initialize_model_parallel 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: _TP = init_model_parallel_group(group_ranks, 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 729, in init_model_parallel_group 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: return GroupCoordinator( 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/parallel_state.py", line 175, in init 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: self.pynccl_comm = PyNcclCommunicator( 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/device_communicators/pynccl.py", line 89, in init 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: self.comm: ncclComm_t = self.nccl.ncclCommInitRank( 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/device_communicators/pynccl_wrapper.py", line 244, in ncclCommInitRank 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: self.NCCL_CHECK(self._funcs["ncclCommInitRank"](ctypes.byref(comm), 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/device_communicators/pynccl_wrapper.py", line 223, in NCCL_CHECK 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: raise RuntimeError(f"NCCL error: {error_str}") 2024-10-14 01:39:49 | ERROR | stderr | [rank0]: RuntimeError: NCCL error: unhandled cuda error (run with NCCL_DEBUG=INFO for details) ERROR 10-14 01:39:49 multiproc_worker_utils.py:120] Worker VllmWorkerProcess pid 4529 died, exit code: -15 INFO 10-14 01:39:49 multiproc_worker_utils.py:123] Killing local vLLM worker processes /usr/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '

Before submitting a new issue...

wangyao123456a commented 1 week ago

补充:我把docker镜像运行在A800卡上,-tensor-parallel-size = 2 或-tensor-parallel-size = 4时,vllm 都不会报错。

HEIcby commented 1 week ago

https://github.com/vllm-project/vllm/issues/8998#issuecomment-2413388800