MM / merge_bench2 /logs /phi_darelinear_9.log
Kurt232's picture
add llama merge benchmark
c734ddb
INFO 07-06 02:21:16 [__init__.py:239] Automatically detected platform cuda.
INFO 07-06 02:21:17 [config.py:209] Replacing legacy 'type' key with 'rope_type'
INFO 07-06 02:21:17 [config.py:2968] Downcasting torch.float32 to torch.float16.
INFO 07-06 02:21:24 [config.py:717] This model supports multiple tasks: {'score', 'classify', 'embed', 'generate', 'reward'}. Defaulting to 'generate'.
INFO 07-06 02:21:24 [config.py:1770] Defaulting to use mp for distributed inference
INFO 07-06 02:21:24 [config.py:2003] Chunked prefill is enabled with max_num_batched_tokens=16384.
INFO 07-06 02:21:26 [core.py:58] Initializing a V1 LLM engine (v0.8.5.post1) with config: model='./merged1/phi_darelinear_9', speculative_config=None, tokenizer='./merged1/phi_darelinear_9', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, override_neuron_config=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.float16, 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=./merged1/phi_darelinear_9, 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 07-06 02:21:26 [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 07-06 02:21:26 [shm_broadcast.py:266] vLLM message queue communication handle: Handle(local_reader_ranks=[0, 1, 2, 3], buffer_handle=(4, 10485760, 10, 'psm_30f1a7b1'), local_subscribe_addr='ipc:///tmp/d1e803f4-0ebf-4e6c-bbfb-9ccad278781a', remote_subscribe_addr=None, remote_addr_ipv6=False)
WARNING 07-06 02:21:26 [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 0x1490caf70ee0>
(VllmWorker rank=0 pid=3927757) INFO 07-06 02:21:26 [shm_broadcast.py:266] vLLM message queue communication handle: Handle(local_reader_ranks=[0], buffer_handle=(1, 10485760, 10, 'psm_1476e0ab'), local_subscribe_addr='ipc:///tmp/53537ea2-5867-4e5e-9093-790836a402f1', remote_subscribe_addr=None, remote_addr_ipv6=False)
WARNING 07-06 02:21:26 [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 0x1490d8a33e80>
WARNING 07-06 02:21:26 [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 0x1490d8a33fa0>
(VllmWorker rank=1 pid=3927758) INFO 07-06 02:21:26 [shm_broadcast.py:266] vLLM message queue communication handle: Handle(local_reader_ranks=[0], buffer_handle=(1, 10485760, 10, 'psm_8e9eab81'), local_subscribe_addr='ipc:///tmp/8dde035c-f6ef-4844-ab48-311f0435aa49', remote_subscribe_addr=None, remote_addr_ipv6=False)
WARNING 07-06 02:21:26 [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 0x1490d8a33c70>
(VllmWorker rank=2 pid=3927760) INFO 07-06 02:21:26 [shm_broadcast.py:266] vLLM message queue communication handle: Handle(local_reader_ranks=[0], buffer_handle=(1, 10485760, 10, 'psm_b13c31a5'), local_subscribe_addr='ipc:///tmp/2cde312f-120f-4e47-9fe3-61229001312c', remote_subscribe_addr=None, remote_addr_ipv6=False)
(VllmWorker rank=3 pid=3927761) INFO 07-06 02:21:26 [shm_broadcast.py:266] vLLM message queue communication handle: Handle(local_reader_ranks=[0], buffer_handle=(1, 10485760, 10, 'psm_d1b62a6a'), local_subscribe_addr='ipc:///tmp/bcc5ee20-6ad0-4b8e-bfc1-22393c762b74', remote_subscribe_addr=None, remote_addr_ipv6=False)
(VllmWorker rank=0 pid=3927757) INFO 07-06 02:21:28 [utils.py:1055] Found nccl from library libnccl.so.2
(VllmWorker rank=1 pid=3927758) INFO 07-06 02:21:28 [utils.py:1055] Found nccl from library libnccl.so.2
(VllmWorker rank=0 pid=3927757) INFO 07-06 02:21:28 [pynccl.py:69] vLLM is using nccl==2.21.5
(VllmWorker rank=1 pid=3927758) INFO 07-06 02:21:28 [pynccl.py:69] vLLM is using nccl==2.21.5
(VllmWorker rank=2 pid=3927760) INFO 07-06 02:21:28 [utils.py:1055] Found nccl from library libnccl.so.2
(VllmWorker rank=2 pid=3927760) INFO 07-06 02:21:28 [pynccl.py:69] vLLM is using nccl==2.21.5
(VllmWorker rank=3 pid=3927761) INFO 07-06 02:21:28 [utils.py:1055] Found nccl from library libnccl.so.2
(VllmWorker rank=3 pid=3927761) INFO 07-06 02:21:28 [pynccl.py:69] vLLM is using nccl==2.21.5
(VllmWorker rank=3 pid=3927761) WARNING 07-06 02:21:29 [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=3927760) WARNING 07-06 02:21:29 [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=3927757) WARNING 07-06 02:21:29 [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=3927758) WARNING 07-06 02:21:29 [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=3927757) INFO 07-06 02:21:29 [shm_broadcast.py:266] vLLM message queue communication handle: Handle(local_reader_ranks=[1, 2, 3], buffer_handle=(3, 4194304, 6, 'psm_09c8b29c'), local_subscribe_addr='ipc:///tmp/ec6382d5-df44-4124-ab06-b0e8d98daf1d', remote_subscribe_addr=None, remote_addr_ipv6=False)
(VllmWorker rank=3 pid=3927761) INFO 07-06 02:21:29 [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=3927760) INFO 07-06 02:21:29 [parallel_state.py:1004] rank 2 in world size 4 is assigned as DP rank 0, PP rank 0, TP rank 2
(VllmWorker rank=1 pid=3927758) INFO 07-06 02:21:29 [parallel_state.py:1004] rank 1 in world size 4 is assigned as DP rank 0, PP rank 0, TP rank 1
(VllmWorker rank=3 pid=3927761) INFO 07-06 02:21:29 [cuda.py:221] Using Flash Attention backend on V1 engine.
(VllmWorker rank=2 pid=3927760) INFO 07-06 02:21:29 [cuda.py:221] Using Flash Attention backend on V1 engine.
(VllmWorker rank=3 pid=3927761) WARNING 07-06 02:21:29 [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=2 pid=3927760) WARNING 07-06 02:21:29 [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=3927758) INFO 07-06 02:21:29 [cuda.py:221] Using Flash Attention backend on V1 engine.
(VllmWorker rank=1 pid=3927758) WARNING 07-06 02:21:29 [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=3927757) INFO 07-06 02:21:29 [parallel_state.py:1004] rank 0 in world size 4 is assigned as DP rank 0, PP rank 0, TP rank 0
(VllmWorker rank=0 pid=3927757) INFO 07-06 02:21:29 [cuda.py:221] Using Flash Attention backend on V1 engine.
(VllmWorker rank=0 pid=3927757) WARNING 07-06 02:21:29 [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=2 pid=3927760) INFO 07-06 02:21:29 [gpu_model_runner.py:1329] Starting to load model ./merged1/phi_darelinear_9...
(VllmWorker rank=3 pid=3927761) INFO 07-06 02:21:29 [gpu_model_runner.py:1329] Starting to load model ./merged1/phi_darelinear_9...
(VllmWorker rank=1 pid=3927758) INFO 07-06 02:21:29 [gpu_model_runner.py:1329] Starting to load model ./merged1/phi_darelinear_9...
(VllmWorker rank=0 pid=3927757) INFO 07-06 02:21:29 [gpu_model_runner.py:1329] Starting to load model ./merged1/phi_darelinear_9...
(VllmWorker rank=0 pid=3927757) INFO 07-06 02:21:31 [loader.py:458] Loading weights took 1.46 seconds
(VllmWorker rank=0 pid=3927757) INFO 07-06 02:21:31 [gpu_model_runner.py:1347] Model loading took 1.8196 GiB and 1.659963 seconds
(VllmWorker rank=2 pid=3927760) INFO 07-06 02:21:31 [loader.py:458] Loading weights took 1.82 seconds
(VllmWorker rank=1 pid=3927758) INFO 07-06 02:21:31 [loader.py:458] Loading weights took 1.81 seconds
(VllmWorker rank=3 pid=3927761) INFO 07-06 02:21:31 [loader.py:458] Loading weights took 1.82 seconds
(VllmWorker rank=2 pid=3927760) INFO 07-06 02:21:31 [gpu_model_runner.py:1347] Model loading took 1.8196 GiB and 2.030502 seconds
(VllmWorker rank=3 pid=3927761) INFO 07-06 02:21:31 [gpu_model_runner.py:1347] Model loading took 1.8196 GiB and 2.037395 seconds
(VllmWorker rank=1 pid=3927758) INFO 07-06 02:21:31 [gpu_model_runner.py:1347] Model loading took 1.8196 GiB and 2.029022 seconds
(VllmWorker rank=2 pid=3927760) INFO 07-06 02:21:37 [backends.py:420] Using cache directory: /home/jiangli/.cache/vllm/torch_compile_cache/966adedabd/rank_2_0 for vLLM's torch.compile
(VllmWorker rank=2 pid=3927760) INFO 07-06 02:21:37 [backends.py:430] Dynamo bytecode transform time: 5.69 s
(VllmWorker rank=1 pid=3927758) INFO 07-06 02:21:37 [backends.py:420] Using cache directory: /home/jiangli/.cache/vllm/torch_compile_cache/966adedabd/rank_1_0 for vLLM's torch.compile
(VllmWorker rank=1 pid=3927758) INFO 07-06 02:21:37 [backends.py:430] Dynamo bytecode transform time: 5.71 s
(VllmWorker rank=0 pid=3927757) INFO 07-06 02:21:37 [backends.py:420] Using cache directory: /home/jiangli/.cache/vllm/torch_compile_cache/966adedabd/rank_0_0 for vLLM's torch.compile
(VllmWorker rank=0 pid=3927757) INFO 07-06 02:21:37 [backends.py:430] Dynamo bytecode transform time: 5.72 s
(VllmWorker rank=3 pid=3927761) INFO 07-06 02:21:37 [backends.py:420] Using cache directory: /home/jiangli/.cache/vllm/torch_compile_cache/966adedabd/rank_3_0 for vLLM's torch.compile
(VllmWorker rank=3 pid=3927761) INFO 07-06 02:21:37 [backends.py:430] Dynamo bytecode transform time: 5.80 s
(VllmWorker rank=1 pid=3927758) INFO 07-06 02:21:41 [backends.py:136] Cache the graph of shape None for later use
(VllmWorker rank=0 pid=3927757) INFO 07-06 02:21:41 [backends.py:136] Cache the graph of shape None for later use
(VllmWorker rank=2 pid=3927760) INFO 07-06 02:21:41 [backends.py:136] Cache the graph of shape None for later use
(VllmWorker rank=3 pid=3927761) INFO 07-06 02:21:42 [backends.py:136] Cache the graph of shape None for later use
(VllmWorker rank=1 pid=3927758) INFO 07-06 02:22:02 [backends.py:148] Compiling a graph for general shape takes 24.80 s
(VllmWorker rank=2 pid=3927760) INFO 07-06 02:22:03 [backends.py:148] Compiling a graph for general shape takes 24.91 s
(VllmWorker rank=0 pid=3927757) INFO 07-06 02:22:03 [backends.py:148] Compiling a graph for general shape takes 24.97 s
(VllmWorker rank=3 pid=3927761) INFO 07-06 02:22:03 [backends.py:148] Compiling a graph for general shape takes 25.22 s
(VllmWorker rank=0 pid=3927757) INFO 07-06 02:22:25 [monitor.py:33] torch.compile takes 30.69 s in total
(VllmWorker rank=3 pid=3927761) INFO 07-06 02:22:25 [monitor.py:33] torch.compile takes 31.02 s in total
(VllmWorker rank=1 pid=3927758) INFO 07-06 02:22:25 [monitor.py:33] torch.compile takes 30.52 s in total
(VllmWorker rank=2 pid=3927760) INFO 07-06 02:22:25 [monitor.py:33] torch.compile takes 30.61 s in total
INFO 07-06 02:22:26 [kv_cache_utils.py:634] GPU KV cache size: 1,999,536 tokens
INFO 07-06 02:22:26 [kv_cache_utils.py:637] Maximum concurrency for 2,048 tokens per request: 976.34x
INFO 07-06 02:22:26 [kv_cache_utils.py:634] GPU KV cache size: 1,999,280 tokens
INFO 07-06 02:22:26 [kv_cache_utils.py:637] Maximum concurrency for 2,048 tokens per request: 976.21x
INFO 07-06 02:22:26 [kv_cache_utils.py:634] GPU KV cache size: 1,999,280 tokens
INFO 07-06 02:22:26 [kv_cache_utils.py:637] Maximum concurrency for 2,048 tokens per request: 976.21x
INFO 07-06 02:22:26 [kv_cache_utils.py:634] GPU KV cache size: 2,000,560 tokens
INFO 07-06 02:22:26 [kv_cache_utils.py:637] Maximum concurrency for 2,048 tokens per request: 976.84x
(VllmWorker rank=0 pid=3927757) INFO 07-06 02:22:56 [gpu_model_runner.py:1686] Graph capturing finished in 30 secs, took 3.00 GiB
(VllmWorker rank=1 pid=3927758) INFO 07-06 02:22:56 [gpu_model_runner.py:1686] Graph capturing finished in 30 secs, took 3.00 GiB
(VllmWorker rank=3 pid=3927761) INFO 07-06 02:22:56 [gpu_model_runner.py:1686] Graph capturing finished in 30 secs, took 3.00 GiB
(VllmWorker rank=2 pid=3927760) INFO 07-06 02:22:56 [gpu_model_runner.py:1686] Graph capturing finished in 30 secs, took 3.00 GiB
INFO 07-06 02:22:56 [core.py:159] init engine (profile, create kv cache, warmup model) took 85.16 seconds
INFO 07-06 02:22:57 [core_client.py:439] Core engine process 0 ready.
INFO 07-06 02:36:36 [importing.py:53] Triton module has been replaced with a placeholder.
INFO 07-06 02:36:36 [__init__.py:239] Automatically detected platform cuda.
| Task |Version| Metric |Value | |Stderr|
|------------------|------:|---------------------|-----:|---|-----:|
|all | |sem |0.0911|± |0.0135|
| | |math_pass@1:1_samples|0.5582|± |0.0514|
|mm\|arc_challenge\|0| 0|sem |0.1470|± |0.0182|
|mm\|arc_easy\|0 | 0|sem |0.1616|± |0.0120|
|mm\|commonsenseqa\|0| 0|sem |0.0312|± |0.0097|
|mm\|gsm8k\|0 | 0|math_pass@1:1_samples|0.5414|± |0.0236|
|mm\|math_500\|0 | 3|math_pass@1:1_samples|0.5750|± |0.0792|
|mm\|truthfulqa\|0 | 0|sem |0.0248|± |0.0142|