MM / merge_bench /logs /phi_linear_6.log
Kurt232's picture
1. Merge benchmark of Llama and Phi4
9f241d6
INFO 06-27 03:37:14 [__init__.py:239] Automatically detected platform cuda.
INFO 06-27 03:37:16 [config.py:209] Replacing legacy 'type' key with 'rope_type'
INFO 06-27 03:37:23 [config.py:717] This model supports multiple tasks: {'score', 'classify', 'generate', 'reward', 'embed'}. Defaulting to 'generate'.
INFO 06-27 03:37:23 [config.py:1770] Defaulting to use mp for distributed inference
INFO 06-27 03:37:23 [config.py:2003] Chunked prefill is enabled with max_num_batched_tokens=16384.
INFO 06-27 03:37:25 [core.py:58] Initializing a V1 LLM engine (v0.8.5.post1) with config: model='./models/R-Phi4', speculative_config=None, tokenizer='./models/R-Phi4', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, override_neuron_config=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=2048, download_dir=None, load_format=auto, tensor_parallel_size=4, pipeline_parallel_size=1, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, kv_cache_dtype=auto, device_config=cuda, decoding_config=DecodingConfig(guided_decoding_backend='auto', reasoning_backend=None), observability_config=ObservabilityConfig(show_hidden_metrics=False, otlp_traces_endpoint=None, collect_model_forward_time=False, collect_model_execute_time=False), seed=None, served_model_name=./models/R-Phi4, num_scheduler_steps=1, multi_step_stream_outputs=True, enable_prefix_caching=True, chunked_prefill_enabled=True, use_async_output_proc=True, disable_mm_preprocessor_cache=False, mm_processor_kwargs=None, pooler_config=None, compilation_config={"level":3,"custom_ops":["none"],"splitting_ops":["vllm.unified_attention","vllm.unified_attention_with_output"],"use_inductor":true,"compile_sizes":[],"use_cudagraph":true,"cudagraph_num_of_warmups":1,"cudagraph_capture_sizes":[512,504,496,488,480,472,464,456,448,440,432,424,416,408,400,392,384,376,368,360,352,344,336,328,320,312,304,296,288,280,272,264,256,248,240,232,224,216,208,200,192,184,176,168,160,152,144,136,128,120,112,104,96,88,80,72,64,56,48,40,32,24,16,8,4,2,1],"max_capture_size":512}
WARNING 06-27 03:37:25 [multiproc_worker_utils.py:306] Reducing Torch parallelism from 128 threads to 1 to avoid unnecessary CPU contention. Set OMP_NUM_THREADS in the external environment to tune this value as needed.
INFO 06-27 03:37:25 [shm_broadcast.py:266] vLLM message queue communication handle: Handle(local_reader_ranks=[0, 1, 2, 3], buffer_handle=(4, 10485760, 10, 'psm_580fe053'), local_subscribe_addr='ipc:///tmp/75627ddd-1278-43f9-9357-73bdfd261eb0', remote_subscribe_addr=None, remote_addr_ipv6=False)
WARNING 06-27 03:37:25 [utils.py:2522] Methods determine_num_available_blocks,device_config,get_cache_block_size_bytes,initialize_cache not implemented in <vllm.v1.worker.gpu_worker.Worker object at 0x14bbc75b3ca0>
(VllmWorker rank=1 pid=3459150) INFO 06-27 03:37:25 [shm_broadcast.py:266] vLLM message queue communication handle: Handle(local_reader_ranks=[0], buffer_handle=(1, 10485760, 10, 'psm_38aa069a'), local_subscribe_addr='ipc:///tmp/27c05aef-fc8a-4305-9b84-771d29610914', remote_subscribe_addr=None, remote_addr_ipv6=False)
WARNING 06-27 03:37:25 [utils.py:2522] Methods determine_num_available_blocks,device_config,get_cache_block_size_bytes,initialize_cache not implemented in <vllm.v1.worker.gpu_worker.Worker object at 0x14bbc5994a00>
(VllmWorker rank=0 pid=3459149) INFO 06-27 03:37:25 [shm_broadcast.py:266] vLLM message queue communication handle: Handle(local_reader_ranks=[0], buffer_handle=(1, 10485760, 10, 'psm_a6e9872f'), local_subscribe_addr='ipc:///tmp/40a3df37-ef3f-4f32-8162-8a898c97b508', remote_subscribe_addr=None, remote_addr_ipv6=False)
WARNING 06-27 03:37:25 [utils.py:2522] Methods determine_num_available_blocks,device_config,get_cache_block_size_bytes,initialize_cache not implemented in <vllm.v1.worker.gpu_worker.Worker object at 0x14bbc75b3be0>
WARNING 06-27 03:37:25 [utils.py:2522] Methods determine_num_available_blocks,device_config,get_cache_block_size_bytes,initialize_cache not implemented in <vllm.v1.worker.gpu_worker.Worker object at 0x14bbc75b3910>
(VllmWorker rank=2 pid=3459152) INFO 06-27 03:37:25 [shm_broadcast.py:266] vLLM message queue communication handle: Handle(local_reader_ranks=[0], buffer_handle=(1, 10485760, 10, 'psm_738e08a9'), local_subscribe_addr='ipc:///tmp/af4d4034-226e-4702-9021-b27ebe87aab7', remote_subscribe_addr=None, remote_addr_ipv6=False)
(VllmWorker rank=3 pid=3459154) INFO 06-27 03:37:25 [shm_broadcast.py:266] vLLM message queue communication handle: Handle(local_reader_ranks=[0], buffer_handle=(1, 10485760, 10, 'psm_21fb3f2e'), local_subscribe_addr='ipc:///tmp/fbbf66d1-93ad-4810-be1a-c28e80ccb952', remote_subscribe_addr=None, remote_addr_ipv6=False)
(VllmWorker rank=0 pid=3459149) INFO 06-27 03:37:27 [utils.py:1055] Found nccl from library libnccl.so.2
(VllmWorker rank=1 pid=3459150) INFO 06-27 03:37:27 [utils.py:1055] Found nccl from library libnccl.so.2
(VllmWorker rank=1 pid=3459150) INFO 06-27 03:37:27 [pynccl.py:69] vLLM is using nccl==2.21.5
(VllmWorker rank=0 pid=3459149) INFO 06-27 03:37:27 [pynccl.py:69] vLLM is using nccl==2.21.5
(VllmWorker rank=3 pid=3459154) INFO 06-27 03:37:27 [utils.py:1055] Found nccl from library libnccl.so.2
(VllmWorker rank=2 pid=3459152) INFO 06-27 03:37:27 [utils.py:1055] Found nccl from library libnccl.so.2
(VllmWorker rank=3 pid=3459154) INFO 06-27 03:37:27 [pynccl.py:69] vLLM is using nccl==2.21.5
(VllmWorker rank=2 pid=3459152) INFO 06-27 03:37:27 [pynccl.py:69] vLLM is using nccl==2.21.5
(VllmWorker rank=3 pid=3459154) WARNING 06-27 03:37:27 [custom_all_reduce.py:136] Custom allreduce is disabled because it's not supported on more than two PCIe-only GPUs. To silence this warning, specify disable_custom_all_reduce=True explicitly.
(VllmWorker rank=2 pid=3459152) WARNING 06-27 03:37:27 [custom_all_reduce.py:136] Custom allreduce is disabled because it's not supported on more than two PCIe-only GPUs. To silence this warning, specify disable_custom_all_reduce=True explicitly.
(VllmWorker rank=1 pid=3459150) WARNING 06-27 03:37:27 [custom_all_reduce.py:136] Custom allreduce is disabled because it's not supported on more than two PCIe-only GPUs. To silence this warning, specify disable_custom_all_reduce=True explicitly.
(VllmWorker rank=0 pid=3459149) WARNING 06-27 03:37:27 [custom_all_reduce.py:136] Custom allreduce is disabled because it's not supported on more than two PCIe-only GPUs. To silence this warning, specify disable_custom_all_reduce=True explicitly.
(VllmWorker rank=0 pid=3459149) INFO 06-27 03:37:27 [shm_broadcast.py:266] vLLM message queue communication handle: Handle(local_reader_ranks=[1, 2, 3], buffer_handle=(3, 4194304, 6, 'psm_ff219e32'), local_subscribe_addr='ipc:///tmp/f13b016b-7c21-4dec-9987-b15d524f465b', remote_subscribe_addr=None, remote_addr_ipv6=False)
(VllmWorker rank=3 pid=3459154) INFO 06-27 03:37:27 [parallel_state.py:1004] rank 3 in world size 4 is assigned as DP rank 0, PP rank 0, TP rank 3
(VllmWorker rank=2 pid=3459152) INFO 06-27 03:37:27 [parallel_state.py:1004] rank 2 in world size 4 is assigned as DP rank 0, PP rank 0, TP rank 2
(VllmWorker rank=0 pid=3459149) INFO 06-27 03:37:27 [parallel_state.py:1004] rank 0 in world size 4 is assigned as DP rank 0, PP rank 0, TP rank 0
(VllmWorker rank=1 pid=3459150) INFO 06-27 03:37:27 [parallel_state.py:1004] rank 1 in world size 4 is assigned as DP rank 0, PP rank 0, TP rank 1
(VllmWorker rank=2 pid=3459152) INFO 06-27 03:37:27 [cuda.py:221] Using Flash Attention backend on V1 engine.
(VllmWorker rank=3 pid=3459154) INFO 06-27 03:37:27 [cuda.py:221] Using Flash Attention backend on V1 engine.
(VllmWorker rank=2 pid=3459152) WARNING 06-27 03:37:27 [topk_topp_sampler.py:69] FlashInfer is not available. Falling back to the PyTorch-native implementation of top-p & top-k sampling. For the best performance, please install FlashInfer.
(VllmWorker rank=3 pid=3459154) WARNING 06-27 03:37:27 [topk_topp_sampler.py:69] FlashInfer is not available. Falling back to the PyTorch-native implementation of top-p & top-k sampling. For the best performance, please install FlashInfer.
(VllmWorker rank=1 pid=3459150) INFO 06-27 03:37:27 [cuda.py:221] Using Flash Attention backend on V1 engine.
(VllmWorker rank=0 pid=3459149) INFO 06-27 03:37:27 [cuda.py:221] Using Flash Attention backend on V1 engine.
(VllmWorker rank=1 pid=3459150) WARNING 06-27 03:37:27 [topk_topp_sampler.py:69] FlashInfer is not available. Falling back to the PyTorch-native implementation of top-p & top-k sampling. For the best performance, please install FlashInfer.
(VllmWorker rank=0 pid=3459149) WARNING 06-27 03:37:27 [topk_topp_sampler.py:69] FlashInfer is not available. Falling back to the PyTorch-native implementation of top-p & top-k sampling. For the best performance, please install FlashInfer.
(VllmWorker rank=3 pid=3459154) INFO 06-27 03:37:27 [gpu_model_runner.py:1329] Starting to load model ./models/R-Phi4...
(VllmWorker rank=2 pid=3459152) INFO 06-27 03:37:27 [gpu_model_runner.py:1329] Starting to load model ./models/R-Phi4...
(VllmWorker rank=1 pid=3459150) INFO 06-27 03:37:27 [gpu_model_runner.py:1329] Starting to load model ./models/R-Phi4...
(VllmWorker rank=0 pid=3459149) INFO 06-27 03:37:27 [gpu_model_runner.py:1329] Starting to load model ./models/R-Phi4...
(VllmWorker rank=2 pid=3459152) INFO 06-27 03:37:28 [loader.py:458] Loading weights took 0.67 seconds
(VllmWorker rank=3 pid=3459154) INFO 06-27 03:37:28 [loader.py:458] Loading weights took 0.68 seconds
(VllmWorker rank=1 pid=3459150) INFO 06-27 03:37:28 [loader.py:458] Loading weights took 0.68 seconds
(VllmWorker rank=0 pid=3459149) INFO 06-27 03:37:28 [loader.py:458] Loading weights took 0.73 seconds
(VllmWorker rank=3 pid=3459154) INFO 06-27 03:37:28 [gpu_model_runner.py:1347] Model loading took 1.8196 GiB and 0.868632 seconds
(VllmWorker rank=2 pid=3459152) INFO 06-27 03:37:29 [gpu_model_runner.py:1347] Model loading took 1.8196 GiB and 0.862858 seconds
(VllmWorker rank=0 pid=3459149) INFO 06-27 03:37:29 [gpu_model_runner.py:1347] Model loading took 1.8196 GiB and 0.945122 seconds
(VllmWorker rank=1 pid=3459150) INFO 06-27 03:37:29 [gpu_model_runner.py:1347] Model loading took 1.8196 GiB and 0.898845 seconds
(VllmWorker rank=3 pid=3459154) INFO 06-27 03:37:34 [backends.py:420] Using cache directory: /home/jiangli/.cache/vllm/torch_compile_cache/bc6735f00d/rank_3_0 for vLLM's torch.compile
(VllmWorker rank=3 pid=3459154) INFO 06-27 03:37:34 [backends.py:430] Dynamo bytecode transform time: 5.62 s
(VllmWorker rank=2 pid=3459152) INFO 06-27 03:37:34 [backends.py:420] Using cache directory: /home/jiangli/.cache/vllm/torch_compile_cache/bc6735f00d/rank_2_0 for vLLM's torch.compile
(VllmWorker rank=2 pid=3459152) INFO 06-27 03:37:34 [backends.py:430] Dynamo bytecode transform time: 5.63 s
(VllmWorker rank=1 pid=3459150) INFO 06-27 03:37:34 [backends.py:420] Using cache directory: /home/jiangli/.cache/vllm/torch_compile_cache/bc6735f00d/rank_1_0 for vLLM's torch.compile
(VllmWorker rank=1 pid=3459150) INFO 06-27 03:37:34 [backends.py:430] Dynamo bytecode transform time: 5.74 s
(VllmWorker rank=0 pid=3459149) INFO 06-27 03:37:35 [backends.py:420] Using cache directory: /home/jiangli/.cache/vllm/torch_compile_cache/bc6735f00d/rank_0_0 for vLLM's torch.compile
(VllmWorker rank=0 pid=3459149) INFO 06-27 03:37:35 [backends.py:430] Dynamo bytecode transform time: 5.90 s
(VllmWorker rank=2 pid=3459152) INFO 06-27 03:37:39 [backends.py:118] Directly load the compiled graph(s) for shape None from the cache, took 4.378 s
(VllmWorker rank=3 pid=3459154) INFO 06-27 03:37:39 [backends.py:118] Directly load the compiled graph(s) for shape None from the cache, took 4.414 s
(VllmWorker rank=1 pid=3459150) INFO 06-27 03:37:40 [backends.py:118] Directly load the compiled graph(s) for shape None from the cache, took 4.504 s
(VllmWorker rank=0 pid=3459149) INFO 06-27 03:37:40 [backends.py:118] Directly load the compiled graph(s) for shape None from the cache, took 4.487 s
(VllmWorker rank=3 pid=3459154) INFO 06-27 03:37:46 [monitor.py:33] torch.compile takes 5.62 s in total
(VllmWorker rank=1 pid=3459150) INFO 06-27 03:37:46 [monitor.py:33] torch.compile takes 5.74 s in total
(VllmWorker rank=2 pid=3459152) INFO 06-27 03:37:46 [monitor.py:33] torch.compile takes 5.63 s in total
(VllmWorker rank=0 pid=3459149) INFO 06-27 03:37:46 [monitor.py:33] torch.compile takes 5.90 s in total
INFO 06-27 03:37:47 [kv_cache_utils.py:634] GPU KV cache size: 2,007,088 tokens
INFO 06-27 03:37:47 [kv_cache_utils.py:637] Maximum concurrency for 2,048 tokens per request: 980.02x
INFO 06-27 03:37:47 [kv_cache_utils.py:634] GPU KV cache size: 2,006,832 tokens
INFO 06-27 03:37:47 [kv_cache_utils.py:637] Maximum concurrency for 2,048 tokens per request: 979.90x
INFO 06-27 03:37:47 [kv_cache_utils.py:634] GPU KV cache size: 2,006,832 tokens
INFO 06-27 03:37:47 [kv_cache_utils.py:637] Maximum concurrency for 2,048 tokens per request: 979.90x
INFO 06-27 03:37:47 [kv_cache_utils.py:634] GPU KV cache size: 2,008,112 tokens
INFO 06-27 03:37:47 [kv_cache_utils.py:637] Maximum concurrency for 2,048 tokens per request: 980.52x
(VllmWorker rank=2 pid=3459152) INFO 06-27 03:38:13 [gpu_model_runner.py:1686] Graph capturing finished in 26 secs, took 2.96 GiB
(VllmWorker rank=0 pid=3459149) INFO 06-27 03:38:13 [gpu_model_runner.py:1686] Graph capturing finished in 26 secs, took 2.96 GiB
(VllmWorker rank=3 pid=3459154) INFO 06-27 03:38:13 [gpu_model_runner.py:1686] Graph capturing finished in 26 secs, took 2.96 GiB
(VllmWorker rank=1 pid=3459150) INFO 06-27 03:38:13 [gpu_model_runner.py:1686] Graph capturing finished in 26 secs, took 2.96 GiB
INFO 06-27 03:38:13 [core.py:159] init engine (profile, create kv cache, warmup model) took 44.52 seconds
INFO 06-27 03:38:14 [core_client.py:439] Core engine process 0 ready.
INFO 06-27 03:50:53 [importing.py:53] Triton module has been replaced with a placeholder.
INFO 06-27 03:50:53 [__init__.py:239] Automatically detected platform cuda.
| Task |Version| Metric |Value | |Stderr|
|------------------|------:|---------------------|-----:|---|-----:|
|all | |sem |0.5278|± |0.0280|
| | |math_pass@1:1_samples|0.7443|± |0.0441|
|mm\|arc_challenge\|0| 0|sem |0.6220|± |0.0249|
|mm\|arc_easy\|0 | 0|sem |0.6325|± |0.0157|
|mm\|commonsenseqa\|0| 0|sem |0.5094|± |0.0280|
|mm\|gsm8k\|0 | 0|math_pass@1:1_samples|0.7136|± |0.0214|
|mm\|math_500\|0 | 3|math_pass@1:1_samples|0.7750|± |0.0669|
|mm\|truthfulqa\|0 | 0|sem |0.3471|± |0.0435|