vllm-cpu-amxbf16 0.11.2.post2__cp310-cp310-manylinux_2_17_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vllm/_C.abi3.so +0 -0
- vllm/__init__.py +225 -0
- vllm/_aiter_ops.py +983 -0
- vllm/_bc_linter.py +54 -0
- vllm/_custom_ops.py +2863 -0
- vllm/_ipex_ops.py +457 -0
- vllm/_version.py +34 -0
- vllm/assets/__init__.py +0 -0
- vllm/assets/audio.py +43 -0
- vllm/assets/base.py +40 -0
- vllm/assets/image.py +59 -0
- vllm/assets/video.py +149 -0
- vllm/attention/__init__.py +18 -0
- vllm/attention/backends/__init__.py +0 -0
- vllm/attention/backends/abstract.py +391 -0
- vllm/attention/backends/registry.py +195 -0
- vllm/attention/backends/utils.py +33 -0
- vllm/attention/layer.py +1052 -0
- vllm/attention/layers/__init__.py +0 -0
- vllm/attention/layers/chunked_local_attention.py +121 -0
- vllm/attention/layers/cross_attention.py +178 -0
- vllm/attention/layers/encoder_only_attention.py +103 -0
- vllm/attention/ops/__init__.py +0 -0
- vllm/attention/ops/chunked_prefill_paged_decode.py +401 -0
- vllm/attention/ops/common.py +414 -0
- vllm/attention/ops/flashmla.py +251 -0
- vllm/attention/ops/merge_attn_states.py +47 -0
- vllm/attention/ops/paged_attn.py +262 -0
- vllm/attention/ops/pallas_kv_cache_update.py +130 -0
- vllm/attention/ops/prefix_prefill.py +814 -0
- vllm/attention/ops/rocm_aiter_paged_attn.py +123 -0
- vllm/attention/ops/triton_decode_attention.py +712 -0
- vllm/attention/ops/triton_merge_attn_states.py +105 -0
- vllm/attention/ops/triton_reshape_and_cache_flash.py +184 -0
- vllm/attention/ops/triton_unified_attention.py +941 -0
- vllm/attention/ops/vit_attn_wrappers.py +178 -0
- vllm/attention/selector.py +231 -0
- vllm/attention/utils/__init__.py +0 -0
- vllm/attention/utils/fa_utils.py +109 -0
- vllm/attention/utils/kv_sharing_utils.py +33 -0
- vllm/attention/utils/kv_transfer_utils.py +60 -0
- vllm/beam_search.py +88 -0
- vllm/benchmarks/__init__.py +0 -0
- vllm/benchmarks/datasets.py +3222 -0
- vllm/benchmarks/latency.py +172 -0
- vllm/benchmarks/lib/__init__.py +3 -0
- vllm/benchmarks/lib/endpoint_request_func.py +777 -0
- vllm/benchmarks/lib/ready_checker.py +72 -0
- vllm/benchmarks/lib/utils.py +79 -0
- vllm/benchmarks/serve.py +1531 -0
- vllm/benchmarks/sweep/__init__.py +0 -0
- vllm/benchmarks/sweep/cli.py +38 -0
- vllm/benchmarks/sweep/param_sweep.py +91 -0
- vllm/benchmarks/sweep/plot.py +580 -0
- vllm/benchmarks/sweep/serve.py +416 -0
- vllm/benchmarks/sweep/serve_sla.py +492 -0
- vllm/benchmarks/sweep/server.py +114 -0
- vllm/benchmarks/sweep/sla_sweep.py +132 -0
- vllm/benchmarks/sweep/utils.py +4 -0
- vllm/benchmarks/throughput.py +799 -0
- vllm/collect_env.py +857 -0
- vllm/compilation/__init__.py +0 -0
- vllm/compilation/activation_quant_fusion.py +209 -0
- vllm/compilation/backends.py +759 -0
- vllm/compilation/base_static_graph.py +57 -0
- vllm/compilation/caching.py +178 -0
- vllm/compilation/collective_fusion.py +1234 -0
- vllm/compilation/compiler_interface.py +639 -0
- vllm/compilation/counter.py +48 -0
- vllm/compilation/cuda_graph.py +208 -0
- vllm/compilation/decorators.py +571 -0
- vllm/compilation/fix_functionalization.py +253 -0
- vllm/compilation/fusion.py +374 -0
- vllm/compilation/fusion_attn.py +359 -0
- vllm/compilation/fx_utils.py +91 -0
- vllm/compilation/inductor_pass.py +133 -0
- vllm/compilation/matcher_utils.py +317 -0
- vllm/compilation/monitor.py +62 -0
- vllm/compilation/noop_elimination.py +134 -0
- vllm/compilation/partition_rules.py +72 -0
- vllm/compilation/pass_manager.py +135 -0
- vllm/compilation/piecewise_backend.py +121 -0
- vllm/compilation/post_cleanup.py +21 -0
- vllm/compilation/qk_norm_rope_fusion.py +238 -0
- vllm/compilation/sequence_parallelism.py +363 -0
- vllm/compilation/torch25_custom_graph_pass.py +44 -0
- vllm/compilation/vllm_inductor_pass.py +173 -0
- vllm/compilation/wrapper.py +238 -0
- vllm/config/__init__.py +102 -0
- vllm/config/cache.py +207 -0
- vllm/config/compilation.py +975 -0
- vllm/config/device.py +75 -0
- vllm/config/ec_transfer.py +110 -0
- vllm/config/kv_events.py +56 -0
- vllm/config/kv_transfer.py +114 -0
- vllm/config/load.py +124 -0
- vllm/config/lora.py +112 -0
- vllm/config/model.py +2162 -0
- vllm/config/multimodal.py +248 -0
- vllm/config/observability.py +123 -0
- vllm/config/parallel.py +655 -0
- vllm/config/pooler.py +122 -0
- vllm/config/scheduler.py +298 -0
- vllm/config/speculative.py +654 -0
- vllm/config/speech_to_text.py +38 -0
- vllm/config/structured_outputs.py +92 -0
- vllm/config/utils.py +178 -0
- vllm/config/vllm.py +1166 -0
- vllm/connections.py +189 -0
- vllm/device_allocator/__init__.py +0 -0
- vllm/device_allocator/cumem.py +327 -0
- vllm/distributed/__init__.py +6 -0
- vllm/distributed/communication_op.py +43 -0
- vllm/distributed/device_communicators/__init__.py +0 -0
- vllm/distributed/device_communicators/all2all.py +490 -0
- vllm/distributed/device_communicators/all_reduce_utils.py +344 -0
- vllm/distributed/device_communicators/base_device_communicator.py +297 -0
- vllm/distributed/device_communicators/cpu_communicator.py +209 -0
- vllm/distributed/device_communicators/cuda_communicator.py +340 -0
- vllm/distributed/device_communicators/cuda_wrapper.py +216 -0
- vllm/distributed/device_communicators/custom_all_reduce.py +326 -0
- vllm/distributed/device_communicators/mnnvl_compat.py +27 -0
- vllm/distributed/device_communicators/pynccl.py +386 -0
- vllm/distributed/device_communicators/pynccl_allocator.py +191 -0
- vllm/distributed/device_communicators/pynccl_wrapper.py +564 -0
- vllm/distributed/device_communicators/quick_all_reduce.py +290 -0
- vllm/distributed/device_communicators/ray_communicator.py +259 -0
- vllm/distributed/device_communicators/shm_broadcast.py +733 -0
- vllm/distributed/device_communicators/shm_object_storage.py +660 -0
- vllm/distributed/device_communicators/symm_mem.py +156 -0
- vllm/distributed/device_communicators/tpu_communicator.py +107 -0
- vllm/distributed/device_communicators/xpu_communicator.py +95 -0
- vllm/distributed/ec_transfer/__init__.py +14 -0
- vllm/distributed/ec_transfer/ec_connector/__init__.py +0 -0
- vllm/distributed/ec_transfer/ec_connector/base.py +247 -0
- vllm/distributed/ec_transfer/ec_connector/factory.py +88 -0
- vllm/distributed/ec_transfer/ec_connector/shared_storage_connector.py +201 -0
- vllm/distributed/ec_transfer/ec_transfer_state.py +42 -0
- vllm/distributed/eplb/__init__.py +8 -0
- vllm/distributed/eplb/eplb_state.py +837 -0
- vllm/distributed/eplb/rebalance_algo.py +260 -0
- vllm/distributed/eplb/rebalance_execute.py +431 -0
- vllm/distributed/kv_events.py +371 -0
- vllm/distributed/kv_transfer/README.md +29 -0
- vllm/distributed/kv_transfer/__init__.py +20 -0
- vllm/distributed/kv_transfer/disagg_prefill_workflow.jpg +0 -0
- vllm/distributed/kv_transfer/kv_connector/__init__.py +0 -0
- vllm/distributed/kv_transfer/kv_connector/base.py +10 -0
- vllm/distributed/kv_transfer/kv_connector/factory.py +192 -0
- vllm/distributed/kv_transfer/kv_connector/utils.py +268 -0
- vllm/distributed/kv_transfer/kv_connector/v1/__init__.py +19 -0
- vllm/distributed/kv_transfer/kv_connector/v1/base.py +546 -0
- vllm/distributed/kv_transfer/kv_connector/v1/decode_bench_connector.py +419 -0
- vllm/distributed/kv_transfer/kv_connector/v1/lmcache_connector.py +216 -0
- vllm/distributed/kv_transfer/kv_connector/v1/lmcache_integration/__init__.py +18 -0
- vllm/distributed/kv_transfer/kv_connector/v1/lmcache_integration/multi_process_adapter.py +379 -0
- vllm/distributed/kv_transfer/kv_connector/v1/lmcache_integration/utils.py +221 -0
- vllm/distributed/kv_transfer/kv_connector/v1/lmcache_integration/vllm_v1_adapter.py +1411 -0
- vllm/distributed/kv_transfer/kv_connector/v1/lmcache_mp_connector.py +867 -0
- vllm/distributed/kv_transfer/kv_connector/v1/metrics.py +189 -0
- vllm/distributed/kv_transfer/kv_connector/v1/multi_connector.py +454 -0
- vllm/distributed/kv_transfer/kv_connector/v1/nixl_connector.py +2440 -0
- vllm/distributed/kv_transfer/kv_connector/v1/offloading_connector.py +504 -0
- vllm/distributed/kv_transfer/kv_connector/v1/p2p/__init__.py +0 -0
- vllm/distributed/kv_transfer/kv_connector/v1/p2p/p2p_nccl_connector.py +531 -0
- vllm/distributed/kv_transfer/kv_connector/v1/p2p/p2p_nccl_engine.py +632 -0
- vllm/distributed/kv_transfer/kv_connector/v1/p2p/tensor_memory_pool.py +273 -0
- vllm/distributed/kv_transfer/kv_connector/v1/shared_storage_connector.py +450 -0
- vllm/distributed/kv_transfer/kv_lookup_buffer/__init__.py +0 -0
- vllm/distributed/kv_transfer/kv_lookup_buffer/base.py +179 -0
- vllm/distributed/kv_transfer/kv_lookup_buffer/mooncake_store.py +164 -0
- vllm/distributed/kv_transfer/kv_lookup_buffer/simple_buffer.py +242 -0
- vllm/distributed/kv_transfer/kv_pipe/__init__.py +0 -0
- vllm/distributed/kv_transfer/kv_pipe/base.py +66 -0
- vllm/distributed/kv_transfer/kv_pipe/mooncake_pipe.py +295 -0
- vllm/distributed/kv_transfer/kv_pipe/pynccl_pipe.py +285 -0
- vllm/distributed/kv_transfer/kv_transfer_state.py +78 -0
- vllm/distributed/parallel_state.py +1759 -0
- vllm/distributed/tpu_distributed_utils.py +188 -0
- vllm/distributed/utils.py +543 -0
- vllm/engine/__init__.py +0 -0
- vllm/engine/arg_utils.py +2144 -0
- vllm/engine/async_llm_engine.py +6 -0
- vllm/engine/llm_engine.py +6 -0
- vllm/engine/protocol.py +170 -0
- vllm/entrypoints/__init__.py +0 -0
- vllm/entrypoints/anthropic/__init__.py +0 -0
- vllm/entrypoints/anthropic/protocol.py +162 -0
- vllm/entrypoints/anthropic/serving_messages.py +460 -0
- vllm/entrypoints/api_server.py +184 -0
- vllm/entrypoints/chat_utils.py +1690 -0
- vllm/entrypoints/cli/__init__.py +13 -0
- vllm/entrypoints/cli/benchmark/__init__.py +0 -0
- vllm/entrypoints/cli/benchmark/base.py +25 -0
- vllm/entrypoints/cli/benchmark/latency.py +21 -0
- vllm/entrypoints/cli/benchmark/main.py +56 -0
- vllm/entrypoints/cli/benchmark/serve.py +21 -0
- vllm/entrypoints/cli/benchmark/sweep.py +21 -0
- vllm/entrypoints/cli/benchmark/throughput.py +21 -0
- vllm/entrypoints/cli/collect_env.py +38 -0
- vllm/entrypoints/cli/main.py +79 -0
- vllm/entrypoints/cli/openai.py +256 -0
- vllm/entrypoints/cli/run_batch.py +68 -0
- vllm/entrypoints/cli/serve.py +249 -0
- vllm/entrypoints/cli/types.py +29 -0
- vllm/entrypoints/constants.py +10 -0
- vllm/entrypoints/context.py +572 -0
- vllm/entrypoints/dynamic_lora.py +57 -0
- vllm/entrypoints/harmony_utils.py +535 -0
- vllm/entrypoints/launcher.py +175 -0
- vllm/entrypoints/llm.py +1768 -0
- vllm/entrypoints/logger.py +84 -0
- vllm/entrypoints/openai/__init__.py +0 -0
- vllm/entrypoints/openai/api_server.py +2096 -0
- vllm/entrypoints/openai/cli_args.py +302 -0
- vllm/entrypoints/openai/orca_metrics.py +120 -0
- vllm/entrypoints/openai/protocol.py +3299 -0
- vllm/entrypoints/openai/run_batch.py +547 -0
- vllm/entrypoints/openai/serving_chat.py +1772 -0
- vllm/entrypoints/openai/serving_classification.py +235 -0
- vllm/entrypoints/openai/serving_completion.py +715 -0
- vllm/entrypoints/openai/serving_embedding.py +695 -0
- vllm/entrypoints/openai/serving_engine.py +1433 -0
- vllm/entrypoints/openai/serving_models.py +304 -0
- vllm/entrypoints/openai/serving_pooling.py +346 -0
- vllm/entrypoints/openai/serving_responses.py +2021 -0
- vllm/entrypoints/openai/serving_score.py +503 -0
- vllm/entrypoints/openai/serving_tokenization.py +203 -0
- vllm/entrypoints/openai/serving_tokens.py +269 -0
- vllm/entrypoints/openai/serving_transcription.py +148 -0
- vllm/entrypoints/openai/speech_to_text.py +405 -0
- vllm/entrypoints/openai/tool_parsers/__init__.py +142 -0
- vllm/entrypoints/openai/tool_parsers/abstract_tool_parser.py +273 -0
- vllm/entrypoints/openai/tool_parsers/deepseekv31_tool_parser.py +390 -0
- vllm/entrypoints/openai/tool_parsers/deepseekv3_tool_parser.py +390 -0
- vllm/entrypoints/openai/tool_parsers/ernie45_tool_parser.py +210 -0
- vllm/entrypoints/openai/tool_parsers/glm4_moe_tool_parser.py +200 -0
- vllm/entrypoints/openai/tool_parsers/granite_20b_fc_tool_parser.py +273 -0
- vllm/entrypoints/openai/tool_parsers/granite_tool_parser.py +253 -0
- vllm/entrypoints/openai/tool_parsers/hermes_tool_parser.py +494 -0
- vllm/entrypoints/openai/tool_parsers/hunyuan_a13b_tool_parser.py +420 -0
- vllm/entrypoints/openai/tool_parsers/internlm2_tool_parser.py +227 -0
- vllm/entrypoints/openai/tool_parsers/jamba_tool_parser.py +323 -0
- vllm/entrypoints/openai/tool_parsers/kimi_k2_tool_parser.py +590 -0
- vllm/entrypoints/openai/tool_parsers/llama4_pythonic_tool_parser.py +341 -0
- vllm/entrypoints/openai/tool_parsers/llama_tool_parser.py +290 -0
- vllm/entrypoints/openai/tool_parsers/longcat_tool_parser.py +37 -0
- vllm/entrypoints/openai/tool_parsers/minimax_m2_tool_parser.py +643 -0
- vllm/entrypoints/openai/tool_parsers/minimax_tool_parser.py +849 -0
- vllm/entrypoints/openai/tool_parsers/mistral_tool_parser.py +390 -0
- vllm/entrypoints/openai/tool_parsers/olmo3_tool_parser.py +366 -0
- vllm/entrypoints/openai/tool_parsers/openai_tool_parser.py +97 -0
- vllm/entrypoints/openai/tool_parsers/phi4mini_tool_parser.py +120 -0
- vllm/entrypoints/openai/tool_parsers/pythonic_tool_parser.py +332 -0
- vllm/entrypoints/openai/tool_parsers/qwen3coder_tool_parser.py +781 -0
- vllm/entrypoints/openai/tool_parsers/qwen3xml_tool_parser.py +1316 -0
- vllm/entrypoints/openai/tool_parsers/seed_oss_tool_parser.py +744 -0
- vllm/entrypoints/openai/tool_parsers/step3_tool_parser.py +303 -0
- vllm/entrypoints/openai/tool_parsers/utils.py +229 -0
- vllm/entrypoints/openai/tool_parsers/xlam_tool_parser.py +556 -0
- vllm/entrypoints/renderer.py +409 -0
- vllm/entrypoints/responses_utils.py +77 -0
- vllm/entrypoints/sagemaker/__init__.py +4 -0
- vllm/entrypoints/sagemaker/routes.py +72 -0
- vllm/entrypoints/score_utils.py +242 -0
- vllm/entrypoints/ssl.py +78 -0
- vllm/entrypoints/tool.py +143 -0
- vllm/entrypoints/tool_server.py +209 -0
- vllm/entrypoints/utils.py +319 -0
- vllm/env_override.py +378 -0
- vllm/envs.py +1659 -0
- vllm/forward_context.py +356 -0
- vllm/inputs/__init__.py +44 -0
- vllm/inputs/data.py +359 -0
- vllm/inputs/parse.py +137 -0
- vllm/inputs/preprocess.py +727 -0
- vllm/logger.py +267 -0
- vllm/logging_utils/__init__.py +10 -0
- vllm/logging_utils/dump_input.py +83 -0
- vllm/logging_utils/formatter.py +77 -0
- vllm/logging_utils/log_time.py +34 -0
- vllm/logits_process.py +121 -0
- vllm/logprobs.py +208 -0
- vllm/lora/__init__.py +0 -0
- vllm/lora/layers/__init__.py +41 -0
- vllm/lora/layers/base.py +67 -0
- vllm/lora/layers/base_linear.py +164 -0
- vllm/lora/layers/column_parallel_linear.py +578 -0
- vllm/lora/layers/fused_moe.py +472 -0
- vllm/lora/layers/logits_processor.py +252 -0
- vllm/lora/layers/replicated_linear.py +70 -0
- vllm/lora/layers/row_parallel_linear.py +181 -0
- vllm/lora/layers/utils.py +65 -0
- vllm/lora/layers/vocal_parallel_embedding.py +166 -0
- vllm/lora/lora_weights.py +198 -0
- vllm/lora/models.py +890 -0
- vllm/lora/ops/__init__.py +0 -0
- vllm/lora/ops/ipex_ops/__init__.py +6 -0
- vllm/lora/ops/ipex_ops/lora_ops.py +57 -0
- vllm/lora/ops/torch_ops/__init__.py +20 -0
- vllm/lora/ops/torch_ops/lora_ops.py +128 -0
- vllm/lora/ops/triton_ops/README_TUNING.md +60 -0
- vllm/lora/ops/triton_ops/__init__.py +21 -0
- vllm/lora/ops/triton_ops/fused_moe_lora_op.py +641 -0
- vllm/lora/ops/triton_ops/kernel_utils.py +340 -0
- vllm/lora/ops/triton_ops/lora_expand_op.py +310 -0
- vllm/lora/ops/triton_ops/lora_kernel_metadata.py +154 -0
- vllm/lora/ops/triton_ops/lora_shrink_op.py +287 -0
- vllm/lora/ops/triton_ops/utils.py +295 -0
- vllm/lora/ops/xla_ops/__init__.py +6 -0
- vllm/lora/ops/xla_ops/lora_ops.py +141 -0
- vllm/lora/peft_helper.py +128 -0
- vllm/lora/punica_wrapper/__init__.py +10 -0
- vllm/lora/punica_wrapper/punica_base.py +492 -0
- vllm/lora/punica_wrapper/punica_cpu.py +351 -0
- vllm/lora/punica_wrapper/punica_gpu.py +411 -0
- vllm/lora/punica_wrapper/punica_selector.py +21 -0
- vllm/lora/punica_wrapper/punica_tpu.py +359 -0
- vllm/lora/punica_wrapper/punica_xpu.py +279 -0
- vllm/lora/punica_wrapper/utils.py +150 -0
- vllm/lora/request.py +100 -0
- vllm/lora/resolver.py +88 -0
- vllm/lora/utils.py +293 -0
- vllm/lora/worker_manager.py +279 -0
- vllm/model_executor/__init__.py +11 -0
- vllm/model_executor/custom_op.py +194 -0
- vllm/model_executor/layers/__init__.py +0 -0
- vllm/model_executor/layers/activation.py +569 -0
- vllm/model_executor/layers/attention_layer_base.py +35 -0
- vllm/model_executor/layers/batch_invariant.py +854 -0
- vllm/model_executor/layers/conv.py +236 -0
- vllm/model_executor/layers/fla/__init__.py +8 -0
- vllm/model_executor/layers/fla/ops/__init__.py +17 -0
- vllm/model_executor/layers/fla/ops/chunk.py +240 -0
- vllm/model_executor/layers/fla/ops/chunk_delta_h.py +344 -0
- vllm/model_executor/layers/fla/ops/chunk_o.py +183 -0
- vllm/model_executor/layers/fla/ops/chunk_scaled_dot_kkt.py +154 -0
- vllm/model_executor/layers/fla/ops/cumsum.py +280 -0
- vllm/model_executor/layers/fla/ops/fused_recurrent.py +390 -0
- vllm/model_executor/layers/fla/ops/index.py +41 -0
- vllm/model_executor/layers/fla/ops/kda.py +1351 -0
- vllm/model_executor/layers/fla/ops/l2norm.py +146 -0
- vllm/model_executor/layers/fla/ops/layernorm_guard.py +396 -0
- vllm/model_executor/layers/fla/ops/op.py +60 -0
- vllm/model_executor/layers/fla/ops/solve_tril.py +556 -0
- vllm/model_executor/layers/fla/ops/utils.py +194 -0
- vllm/model_executor/layers/fla/ops/wy_fast.py +158 -0
- vllm/model_executor/layers/fused_moe/__init__.py +106 -0
- vllm/model_executor/layers/fused_moe/all2all_utils.py +160 -0
- vllm/model_executor/layers/fused_moe/batched_deep_gemm_moe.py +406 -0
- vllm/model_executor/layers/fused_moe/batched_triton_or_deep_gemm_moe.py +180 -0
- vllm/model_executor/layers/fused_moe/config.py +916 -0
- vllm/model_executor/layers/fused_moe/configs/E=1,N=14336,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=1,N=14336,device_name=NVIDIA_A100-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=1,N=1792,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a16.json +218 -0
- vllm/model_executor/layers/fused_moe/configs/E=1,N=1792,device_name=NVIDIA_A100-SXM4-80GB.json +218 -0
- vllm/model_executor/layers/fused_moe/configs/E=1,N=1792,device_name=NVIDIA_H100_80GB_HBM3,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=1,N=3072,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a16.json +218 -0
- vllm/model_executor/layers/fused_moe/configs/E=1,N=3072,device_name=NVIDIA_H100_80GB_HBM3,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=1,N=3072,device_name=NVIDIA_H100_80GB_HBM3.json +218 -0
- vllm/model_executor/layers/fused_moe/configs/E=1,N=3072,device_name=NVIDIA_H200,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=1,N=3584,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a16.json +218 -0
- vllm/model_executor/layers/fused_moe/configs/E=1,N=3584,device_name=NVIDIA_A100-SXM4-80GB.json +218 -0
- vllm/model_executor/layers/fused_moe/configs/E=1,N=3584,device_name=NVIDIA_H100_80GB_HBM3,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=1,N=7168,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a16.json +218 -0
- vllm/model_executor/layers/fused_moe/configs/E=1,N=7168,device_name=NVIDIA_A100-SXM4-80GB.json +218 -0
- vllm/model_executor/layers/fused_moe/configs/E=1,N=7168,device_name=NVIDIA_H100_80GB_HBM3,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=1024,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=1024,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=1024,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=1024,device_name=NVIDIA_H100,dtype=fp8_w8a8.json +123 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=1024,device_name=NVIDIA_H200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=1024,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=1856,device_name=NVIDIA_H100_80GB_HBM3.json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=1856,device_name=NVIDIA_L40S.json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=192,device_name=NVIDIA_A100-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=192,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=192,device_name=NVIDIA_H20-3e.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=192,device_name=NVIDIA_H20.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=192,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=352,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +122 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=384,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=384,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=384,device_name=NVIDIA_GB200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=384,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=384,device_name=NVIDIA_H20-3e,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=384,device_name=NVIDIA_H20-3e.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=384,device_name=NVIDIA_H20.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=384,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=384,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=512,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=704,device_name=NVIDIA_B200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=704,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +114 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=768,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=768,device_name=AMD_Instinct_MI308X.json +213 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=768,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=768,device_name=NVIDIA_GB200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=768,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=768,device_name=NVIDIA_H20-3e,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=768,device_name=NVIDIA_H20.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=768,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=768,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=8960,device_name=NVIDIA_H100_80GB_HBM3,dtype=bf16.json +82 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=8960,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +82 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=928,device_name=NVIDIA_H100_80GB_HBM3.json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=928,device_name=NVIDIA_L40S.json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=128,N=96,device_name=NVIDIA_H20.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=1024,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=1024,device_name=NVIDIA_B200,dtype=fp8_w8a8.json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=1024,device_name=NVIDIA_B200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=1024,device_name=NVIDIA_H100.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=1024,device_name=NVIDIA_H200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=1024,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=1344,device_name=NVIDIA_A100-SXM4-40GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=1344,device_name=NVIDIA_A100-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=1344,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=14336,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=14336,device_name=NVIDIA_A100-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=14336,device_name=NVIDIA_H100_80GB_HBM3,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=1792,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a16.json +218 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=1792,device_name=NVIDIA_A100-SXM4-80GB.json +218 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=1792,device_name=NVIDIA_H100_80GB_HBM3,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=1792,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=2048,device_name=NVIDIA_H200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=2048,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=2688,device_name=NVIDIA_A100-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=2688,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=3072,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=3072,device_name=NVIDIA_H100_80GB_HBM3,dtype=float8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=3072,device_name=NVIDIA_H100_80GB_HBM3,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=3072,device_name=NVIDIA_H200,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=3200,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +130 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=3584,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=3584,device_name=NVIDIA_A100-SXM4-80GB.json +218 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=3584,device_name=NVIDIA_H100_80GB_HBM3,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=6400,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +130 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=7168,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=7168,device_name=NVIDIA_A100-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=7168,device_name=NVIDIA_H100_80GB_HBM3,dtype=float8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=7168,device_name=NVIDIA_H100_80GB_HBM3,dtype=int8_w8a16.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=16,N=800,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +130 -0
- vllm/model_executor/layers/fused_moe/configs/E=160,N=192,device_name=AMD_Instinct_MI300X.json +201 -0
- vllm/model_executor/layers/fused_moe/configs/E=160,N=192,device_name=AMD_Instinct_MI350_OAM,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=160,N=192,device_name=NVIDIA_A800-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=160,N=192,device_name=NVIDIA_H20-3e.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=160,N=320,device_name=NVIDIA_H20-3e.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=160,N=384,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=160,N=384,device_name=AMD_Instinct_MI350_OAM,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=160,N=384,device_name=AMD_Instinct_MI355_OAM,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=160,N=640,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=160,N=640,device_name=NVIDIA_GB200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=160,N=640,device_name=NVIDIA_H100,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=20,N=2560,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=20,N=2560,device_name=NVIDIA_GB200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=20,N=2560,device_name=NVIDIA_H100,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=20,N=2560,device_name=NVIDIA_H20-3e,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=1024,device_name=AMD_Instinct_MI325X,block_shape=[128,128].json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=1024,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=128,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=128,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=128,device_name=NVIDIA_A800-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=128,device_name=NVIDIA_A800-SXM4-80GB,dtype=int8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=128,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=128,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=128,device_name=NVIDIA_L20Y,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=256,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=256,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=256,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=256,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=256,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=256,device_name=NVIDIA_H20,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=256,device_name=NVIDIA_H20-3e,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=256,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=256,device_name=NVIDIA_L20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=384,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=512,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=512,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=256,N=64,device_name=NVIDIA_A800-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=32,N=1408,device_name=NVIDIA_B200.json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=32,N=2048,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=32,N=2048,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=384,N=128,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=384,N=128,device_name=NVIDIA_GB200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=384,N=128,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=384,N=256,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=384,N=256,device_name=NVIDIA_GB200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=40,N=1536,device_name=NVIDIA_B200,dtype=fp8_w8a8.json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=40,N=2560,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=40,N=2560,device_name=NVIDIA_GB200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=40,N=2560,device_name=NVIDIA_H100,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=128,device_name=NVIDIA_A100-SXM4-80GB.json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=128,device_name=NVIDIA_B200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=128,device_name=NVIDIA_GB200,dtype=fp8_w8a8.json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=128,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=128,device_name=NVIDIA_H20-3e.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=128,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=256,device_name=NVIDIA_B200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=256,device_name=NVIDIA_GB200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=256,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=256,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=256,device_name=NVIDIA_H20-3e.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=256,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=512,device_name=NVIDIA_B200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=512,device_name=NVIDIA_GB200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=512,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=512,device_name=NVIDIA_H20-3e.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=512,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=64,device_name=NVIDIA_A100-SXM4-80GB.json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=64,device_name=NVIDIA_B200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=64,device_name=NVIDIA_H20-3e.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=512,N=64,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=60,N=1408,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=60,N=176,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=60,N=352,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=60,N=704,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=62,N=128,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=62,N=256,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=62,N=256,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=62,N=512,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=62,N=512,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=1280,device_name=NVIDIA_A100-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=1280,device_name=NVIDIA_A800-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=1280,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=1280,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=1280,device_name=NVIDIA_H200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=1280,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=1408,device_name=NVIDIA_B200.json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=1536,device_name=NVIDIA_H20,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=2560,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=2560,device_name=NVIDIA_H200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=2560,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=3072,device_name=NVIDIA_H20,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=3072,device_name=NVIDIA_H20.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=320,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=320,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=320,device_name=NVIDIA_H200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=320,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=384,device_name=NVIDIA_H20,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=384,device_name=NVIDIA_H20.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=640,device_name=NVIDIA_A100-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=640,device_name=NVIDIA_A800-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=640,device_name=NVIDIA_GeForce_RTX_4090,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=640,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=640,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=640,device_name=NVIDIA_H200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=640,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=768,device_name=NVIDIA_H100_PCIe,dtype=fp8_w8a8,block_shape=[128,128].json +147 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=768,device_name=NVIDIA_H20,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=768,device_name=NVIDIA_H20.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=896,device_name=NVIDIA_H20.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=8960,device_name=NVIDIA_H100_80GB_HBM3,dtype=bf16.json +82 -0
- vllm/model_executor/layers/fused_moe/configs/E=64,N=8960,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +82 -0
- vllm/model_executor/layers/fused_moe/configs/E=72,N=192,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=72,N=384,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=72,N=384,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=72,N=768,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=72,N=768,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=14336,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=14336,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=14336,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=14336,device_name=AMD_Instinct_MI325X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=14336,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +138 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=14336,device_name=NVIDIA_H200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=14336,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=16384,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=16384,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=16384,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=16384,device_name=AMD_Instinct_MI325X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=1792,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=1792,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=1792,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=1792,device_name=AMD_Instinct_MI325X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=1792,device_name=NVIDIA_A100-SXM4-40GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=1792,device_name=NVIDIA_A100-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=1792,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=1792,device_name=NVIDIA_H200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=1792,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=2048,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=2048,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=2048,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=2048,device_name=AMD_Instinct_MI325X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=2048,device_name=NVIDIA_A100-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=2048,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=2048,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=2048,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +154 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=2048,device_name=NVIDIA_H200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=2048,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=3584,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=3584,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=3584,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=3584,device_name=AMD_Instinct_MI325X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=3584,device_name=NVIDIA_A100-SXM4-40GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=3584,device_name=NVIDIA_A100-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=3584,device_name=NVIDIA_GeForce_RTX_4090,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=3584,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=3584,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=3584,device_name=NVIDIA_H200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=3584,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=3584,device_name=NVIDIA_L40S.json +173 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=4096,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=4096,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=4096,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=4096,device_name=AMD_Instinct_MI325X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=4096,device_name=NVIDIA_A100-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=4096,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=4096,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=4096,device_name=NVIDIA_H200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=4096,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=7168,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=7168,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=7168,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=7168,device_name=AMD_Instinct_MI325X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=7168,device_name=NVIDIA_A100-SXM4-80GB.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=7168,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=7168,device_name=NVIDIA_H100_80GB_HBM3.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=7168,device_name=NVIDIA_H200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=7168,device_name=NVIDIA_H200.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=8192,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=8192,device_name=AMD_Instinct_MI300X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=8192,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8.json +164 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=8192,device_name=AMD_Instinct_MI325X.json +200 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=8192,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/E=8,N=8192,device_name=NVIDIA_H200,dtype=fp8_w8a8.json +146 -0
- vllm/model_executor/layers/fused_moe/configs/README +12 -0
- vllm/model_executor/layers/fused_moe/cpu_fused_moe.py +354 -0
- vllm/model_executor/layers/fused_moe/cutlass_moe.py +1052 -0
- vllm/model_executor/layers/fused_moe/deep_gemm_moe.py +387 -0
- vllm/model_executor/layers/fused_moe/deep_gemm_utils.py +416 -0
- vllm/model_executor/layers/fused_moe/deepep_ht_prepare_finalize.py +420 -0
- vllm/model_executor/layers/fused_moe/deepep_ll_prepare_finalize.py +367 -0
- vllm/model_executor/layers/fused_moe/flashinfer_cutlass_moe.py +307 -0
- vllm/model_executor/layers/fused_moe/flashinfer_cutlass_prepare_finalize.py +362 -0
- vllm/model_executor/layers/fused_moe/flashinfer_trtllm_moe.py +192 -0
- vllm/model_executor/layers/fused_moe/fused_batched_moe.py +1012 -0
- vllm/model_executor/layers/fused_moe/fused_marlin_moe.py +792 -0
- vllm/model_executor/layers/fused_moe/fused_moe.py +2175 -0
- vllm/model_executor/layers/fused_moe/fused_moe_method_base.py +112 -0
- vllm/model_executor/layers/fused_moe/fused_moe_modular_method.py +164 -0
- vllm/model_executor/layers/fused_moe/gpt_oss_triton_kernels_moe.py +316 -0
- vllm/model_executor/layers/fused_moe/layer.py +1944 -0
- vllm/model_executor/layers/fused_moe/modular_kernel.py +1222 -0
- vllm/model_executor/layers/fused_moe/moe_align_block_size.py +174 -0
- vllm/model_executor/layers/fused_moe/moe_pallas.py +83 -0
- vllm/model_executor/layers/fused_moe/moe_permute_unpermute.py +229 -0
- vllm/model_executor/layers/fused_moe/moe_torch_iterative.py +60 -0
- vllm/model_executor/layers/fused_moe/pplx_prepare_finalize.py +362 -0
- vllm/model_executor/layers/fused_moe/prepare_finalize.py +77 -0
- vllm/model_executor/layers/fused_moe/rocm_aiter_fused_moe.py +265 -0
- vllm/model_executor/layers/fused_moe/routing_simulator.py +310 -0
- vllm/model_executor/layers/fused_moe/shared_fused_moe.py +97 -0
- vllm/model_executor/layers/fused_moe/topk_weight_and_reduce.py +171 -0
- vllm/model_executor/layers/fused_moe/triton_deep_gemm_moe.py +163 -0
- vllm/model_executor/layers/fused_moe/trtllm_moe.py +143 -0
- vllm/model_executor/layers/fused_moe/unquantized_fused_moe_method.py +578 -0
- vllm/model_executor/layers/fused_moe/utils.py +332 -0
- vllm/model_executor/layers/kda.py +448 -0
- vllm/model_executor/layers/layernorm.py +442 -0
- vllm/model_executor/layers/lightning_attn.py +729 -0
- vllm/model_executor/layers/linear.py +1424 -0
- vllm/model_executor/layers/logits_processor.py +106 -0
- vllm/model_executor/layers/mamba/__init__.py +0 -0
- vllm/model_executor/layers/mamba/abstract.py +71 -0
- vllm/model_executor/layers/mamba/linear_attn.py +402 -0
- vllm/model_executor/layers/mamba/mamba_mixer.py +535 -0
- vllm/model_executor/layers/mamba/mamba_mixer2.py +928 -0
- vllm/model_executor/layers/mamba/mamba_utils.py +225 -0
- vllm/model_executor/layers/mamba/ops/__init__.py +0 -0
- vllm/model_executor/layers/mamba/ops/causal_conv1d.py +1240 -0
- vllm/model_executor/layers/mamba/ops/layernorm_gated.py +172 -0
- vllm/model_executor/layers/mamba/ops/mamba_ssm.py +478 -0
- vllm/model_executor/layers/mamba/ops/ssd_bmm.py +211 -0
- vllm/model_executor/layers/mamba/ops/ssd_chunk_scan.py +456 -0
- vllm/model_executor/layers/mamba/ops/ssd_chunk_state.py +700 -0
- vllm/model_executor/layers/mamba/ops/ssd_combined.py +230 -0
- vllm/model_executor/layers/mamba/ops/ssd_state_passing.py +157 -0
- vllm/model_executor/layers/mamba/short_conv.py +264 -0
- vllm/model_executor/layers/mla.py +168 -0
- vllm/model_executor/layers/pooler.py +817 -0
- vllm/model_executor/layers/quantization/__init__.py +174 -0
- vllm/model_executor/layers/quantization/auto_round.py +454 -0
- vllm/model_executor/layers/quantization/awq.py +277 -0
- vllm/model_executor/layers/quantization/awq_marlin.py +659 -0
- vllm/model_executor/layers/quantization/awq_triton.py +337 -0
- vllm/model_executor/layers/quantization/base_config.py +170 -0
- vllm/model_executor/layers/quantization/bitblas.py +502 -0
- vllm/model_executor/layers/quantization/bitsandbytes.py +658 -0
- vllm/model_executor/layers/quantization/compressed_tensors/__init__.py +3 -0
- vllm/model_executor/layers/quantization/compressed_tensors/compressed_tensors.py +914 -0
- vllm/model_executor/layers/quantization/compressed_tensors/compressed_tensors_moe.py +2284 -0
- vllm/model_executor/layers/quantization/compressed_tensors/schemes/__init__.py +35 -0
- vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_24.py +392 -0
- vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_scheme.py +55 -0
- vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_w4a16_24.py +176 -0
- vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_w4a16_nvfp4.py +124 -0
- vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_w4a4_nvfp4.py +218 -0
- vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_w4a8_fp8.py +183 -0
- vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_w4a8_int.py +153 -0
- vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_w8a16_fp8.py +138 -0
- vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_w8a8_fp8.py +200 -0
- vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_w8a8_int8.py +125 -0
- vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_wNa16.py +219 -0
- vllm/model_executor/layers/quantization/compressed_tensors/transform/__init__.py +0 -0
- vllm/model_executor/layers/quantization/compressed_tensors/transform/linear.py +260 -0
- vllm/model_executor/layers/quantization/compressed_tensors/transform/module.py +173 -0
- vllm/model_executor/layers/quantization/compressed_tensors/transform/schemes/__init__.py +0 -0
- vllm/model_executor/layers/quantization/compressed_tensors/transform/schemes/linear_qutlass_nvfp4.py +64 -0
- vllm/model_executor/layers/quantization/compressed_tensors/transform/utils.py +13 -0
- vllm/model_executor/layers/quantization/compressed_tensors/triton_scaled_mm.py +224 -0
- vllm/model_executor/layers/quantization/compressed_tensors/utils.py +216 -0
- vllm/model_executor/layers/quantization/deepspeedfp.py +218 -0
- vllm/model_executor/layers/quantization/experts_int8.py +240 -0
- vllm/model_executor/layers/quantization/fbgemm_fp8.py +195 -0
- vllm/model_executor/layers/quantization/fp8.py +1333 -0
- vllm/model_executor/layers/quantization/fp_quant.py +420 -0
- vllm/model_executor/layers/quantization/gguf.py +643 -0
- vllm/model_executor/layers/quantization/gptq.py +393 -0
- vllm/model_executor/layers/quantization/gptq_bitblas.py +482 -0
- vllm/model_executor/layers/quantization/gptq_marlin.py +789 -0
- vllm/model_executor/layers/quantization/gptq_marlin_24.py +320 -0
- vllm/model_executor/layers/quantization/hqq_marlin.py +371 -0
- vllm/model_executor/layers/quantization/inc.py +65 -0
- vllm/model_executor/layers/quantization/input_quant_fp8.py +171 -0
- vllm/model_executor/layers/quantization/ipex_quant.py +467 -0
- vllm/model_executor/layers/quantization/kernels/__init__.py +0 -0
- vllm/model_executor/layers/quantization/kernels/mixed_precision/MPLinearKernel.py +94 -0
- vllm/model_executor/layers/quantization/kernels/mixed_precision/__init__.py +105 -0
- vllm/model_executor/layers/quantization/kernels/mixed_precision/allspark.py +115 -0
- vllm/model_executor/layers/quantization/kernels/mixed_precision/bitblas.py +323 -0
- vllm/model_executor/layers/quantization/kernels/mixed_precision/conch.py +98 -0
- vllm/model_executor/layers/quantization/kernels/mixed_precision/cutlass.py +119 -0
- vllm/model_executor/layers/quantization/kernels/mixed_precision/dynamic_4bit.py +111 -0
- vllm/model_executor/layers/quantization/kernels/mixed_precision/exllama.py +161 -0
- vllm/model_executor/layers/quantization/kernels/mixed_precision/machete.py +159 -0
- vllm/model_executor/layers/quantization/kernels/mixed_precision/marlin.py +166 -0
- vllm/model_executor/layers/quantization/kernels/scaled_mm/ScaledMMLinearKernel.py +73 -0
- vllm/model_executor/layers/quantization/kernels/scaled_mm/__init__.py +97 -0
- vllm/model_executor/layers/quantization/kernels/scaled_mm/aiter.py +120 -0
- vllm/model_executor/layers/quantization/kernels/scaled_mm/cpu.py +219 -0
- vllm/model_executor/layers/quantization/kernels/scaled_mm/cutlass.py +140 -0
- vllm/model_executor/layers/quantization/kernels/scaled_mm/triton.py +42 -0
- vllm/model_executor/layers/quantization/kernels/scaled_mm/xla.py +105 -0
- vllm/model_executor/layers/quantization/kv_cache.py +146 -0
- vllm/model_executor/layers/quantization/modelopt.py +1788 -0
- vllm/model_executor/layers/quantization/moe_wna16.py +541 -0
- vllm/model_executor/layers/quantization/mxfp4.py +1162 -0
- vllm/model_executor/layers/quantization/petit.py +320 -0
- vllm/model_executor/layers/quantization/ptpc_fp8.py +137 -0
- vllm/model_executor/layers/quantization/quark/__init__.py +0 -0
- vllm/model_executor/layers/quantization/quark/quark.py +528 -0
- vllm/model_executor/layers/quantization/quark/quark_moe.py +683 -0
- vllm/model_executor/layers/quantization/quark/schemes/__init__.py +9 -0
- vllm/model_executor/layers/quantization/quark/schemes/quark_ocp_mx.py +306 -0
- vllm/model_executor/layers/quantization/quark/schemes/quark_scheme.py +55 -0
- vllm/model_executor/layers/quantization/quark/schemes/quark_w8a8_fp8.py +179 -0
- vllm/model_executor/layers/quantization/quark/schemes/quark_w8a8_int8.py +139 -0
- vllm/model_executor/layers/quantization/quark/utils.py +105 -0
- vllm/model_executor/layers/quantization/qutlass_utils.py +185 -0
- vllm/model_executor/layers/quantization/rtn.py +652 -0
- vllm/model_executor/layers/quantization/schema.py +90 -0
- vllm/model_executor/layers/quantization/torchao.py +380 -0
- vllm/model_executor/layers/quantization/tpu_int8.py +139 -0
- vllm/model_executor/layers/quantization/utils/__init__.py +6 -0
- vllm/model_executor/layers/quantization/utils/allspark_utils.py +67 -0
- vllm/model_executor/layers/quantization/utils/bitblas_utils.py +229 -0
- vllm/model_executor/layers/quantization/utils/configs/N=12288,K=7168,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=12288,K=7168,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=1536,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=1536,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=1536,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=1536,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=1536,device_name=NVIDIA_A800-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=1536,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=1536,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=1536,device_name=NVIDIA_L20Y,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=7168,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=7168,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=7168,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=7168,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=7168,device_name=NVIDIA_A800-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=7168,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=7168,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=7168,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=7168,device_name=NVIDIA_L20,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=1536,K=7168,device_name=NVIDIA_L20Y,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2048,K=512,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2048,K=512,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2048,K=512,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2048,K=512,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2048,K=512,device_name=NVIDIA_A800-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2048,K=512,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2048,K=512,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2048,K=512,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2048,K=512,device_name=NVIDIA_L20Y,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2112,K=7168,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2112,K=7168,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2304,K=7168,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2304,K=7168,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2304,K=7168,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2304,K=7168,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2304,K=7168,device_name=NVIDIA_A800-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2304,K=7168,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2304,K=7168,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2304,K=7168,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=2304,K=7168,device_name=NVIDIA_L20Y,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=24576,K=1536,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=24576,K=1536,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=24576,K=7168,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=24576,K=7168,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=24576,K=7168,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=24576,K=7168,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=24576,K=7168,device_name=NVIDIA_A800-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=24576,K=7168,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=24576,K=7168,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=24576,K=7168,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=24576,K=7168,device_name=NVIDIA_H20,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=24576,K=7168,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=24576,K=7168,device_name=NVIDIA_L20,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=24576,K=7168,device_name=NVIDIA_L20Y,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=256,K=7168,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=256,K=7168,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=256,K=7168,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=256,K=7168,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=256,K=7168,device_name=NVIDIA_A800-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=256,K=7168,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=256,K=7168,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=256,K=7168,device_name=NVIDIA_L20Y,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=3072,K=1536,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=3072,K=1536,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=3072,K=1536,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=3072,K=1536,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=3072,K=1536,device_name=NVIDIA_H20,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=3072,K=1536,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=3072,K=1536,device_name=NVIDIA_L20,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=3072,K=7168,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=3072,K=7168,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=3072,K=7168,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=3072,K=7168,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=3072,K=7168,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=3072,K=7168,device_name=NVIDIA_H20,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=3072,K=7168,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=3072,K=7168,device_name=NVIDIA_L20,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=32768,K=512,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=32768,K=512,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=32768,K=512,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=32768,K=512,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=32768,K=512,device_name=NVIDIA_A800-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=32768,K=512,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=32768,K=512,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=32768,K=512,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=32768,K=512,device_name=NVIDIA_H20,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=32768,K=512,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=32768,K=512,device_name=NVIDIA_L20,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=32768,K=512,device_name=NVIDIA_L20Y,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=36864,K=7168,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=36864,K=7168,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=36864,K=7168,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=36864,K=7168,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=36864,K=7168,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4096,K=512,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4096,K=512,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4096,K=512,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4096,K=512,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4096,K=512,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4096,K=512,device_name=NVIDIA_H20,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4096,K=512,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4096,K=512,device_name=NVIDIA_L20,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4096,K=7168,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4096,K=7168,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4608,K=7168,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4608,K=7168,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4608,K=7168,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4608,K=7168,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4608,K=7168,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4608,K=7168,device_name=NVIDIA_H20,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4608,K=7168,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=4608,K=7168,device_name=NVIDIA_L20,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=512,K=7168,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=512,K=7168,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=512,K=7168,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=512,K=7168,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=512,K=7168,device_name=NVIDIA_H20,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=512,K=7168,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=512,K=7168,device_name=NVIDIA_L20,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=576,K=7168,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=576,K=7168,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=576,K=7168,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=576,K=7168,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=576,K=7168,device_name=NVIDIA_A800-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=576,K=7168,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=576,K=7168,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=576,K=7168,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=576,K=7168,device_name=NVIDIA_H20,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=576,K=7168,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=576,K=7168,device_name=NVIDIA_L20,dtype=fp8_w8a8,block_shape=[128,128].json +18 -0
- vllm/model_executor/layers/quantization/utils/configs/N=576,K=7168,device_name=NVIDIA_L20Y,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1024,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1024,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1024,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1024,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1024,device_name=NVIDIA_A800-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1024,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1024,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1024,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1024,device_name=NVIDIA_L20Y,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1152,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1152,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1152,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1152,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1152,device_name=NVIDIA_A800-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1152,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1152,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1152,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=1152,device_name=NVIDIA_L20Y,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=128,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=128,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=128,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=128,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=128,device_name=NVIDIA_A800-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=128,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=128,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=128,device_name=NVIDIA_L20Y,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=16384,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=16384,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=16384,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=16384,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=16384,device_name=NVIDIA_A800-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=16384,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=16384,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=16384,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=16384,device_name=NVIDIA_H20,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=16384,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=16384,device_name=NVIDIA_L20,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=16384,device_name=NVIDIA_L20Y,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=18432,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=18432,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=18432,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=18432,device_name=NVIDIA_A100-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=18432,device_name=NVIDIA_A800-SXM4-80GB,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=18432,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=18432,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=18432,device_name=NVIDIA_H20,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=18432,device_name=NVIDIA_H20,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=18432,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=18432,device_name=NVIDIA_L20,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=18432,device_name=NVIDIA_L20Y,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2048,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2048,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2048,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2048,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2048,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2048,device_name=NVIDIA_H20,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2048,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2048,device_name=NVIDIA_L20,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2304,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2304,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2304,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2304,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2304,device_name=NVIDIA_H100_80GB_HBM3,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2304,device_name=NVIDIA_H20,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2304,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=2304,device_name=NVIDIA_L20,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=256,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=256,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=256,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=256,device_name=NVIDIA_B200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=256,device_name=NVIDIA_H20,dtype=int8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=256,device_name=NVIDIA_H200,dtype=fp8_w8a8,block_shape=[128,128].json +146 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=256,device_name=NVIDIA_L20,dtype=fp8_w8a8,block_shape=[128,128].json +26 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=8192,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=8192,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=7168,K=8192,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=8192,K=1536,device_name=AMD_Instinct_MI300X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=8192,K=1536,device_name=AMD_Instinct_MI325X,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/N=8192,K=1536,device_name=AMD_Instinct_MI325_OAM,dtype=fp8_w8a8,block_shape=[128,128].json +164 -0
- vllm/model_executor/layers/quantization/utils/configs/README.md +3 -0
- vllm/model_executor/layers/quantization/utils/flashinfer_fp4_moe.py +89 -0
- vllm/model_executor/layers/quantization/utils/flashinfer_utils.py +298 -0
- vllm/model_executor/layers/quantization/utils/fp8_utils.py +1203 -0
- vllm/model_executor/layers/quantization/utils/gptq_utils.py +158 -0
- vllm/model_executor/layers/quantization/utils/int8_utils.py +489 -0
- vllm/model_executor/layers/quantization/utils/layer_utils.py +41 -0
- vllm/model_executor/layers/quantization/utils/machete_utils.py +56 -0
- vllm/model_executor/layers/quantization/utils/marlin_utils.py +575 -0
- vllm/model_executor/layers/quantization/utils/marlin_utils_fp4.py +397 -0
- vllm/model_executor/layers/quantization/utils/marlin_utils_fp8.py +351 -0
- vllm/model_executor/layers/quantization/utils/marlin_utils_test.py +161 -0
- vllm/model_executor/layers/quantization/utils/marlin_utils_test_24.py +467 -0
- vllm/model_executor/layers/quantization/utils/mxfp4_utils.py +181 -0
- vllm/model_executor/layers/quantization/utils/mxfp6_utils.py +142 -0
- vllm/model_executor/layers/quantization/utils/mxfp8_utils.py +24 -0
- vllm/model_executor/layers/quantization/utils/nvfp4_emulation_utils.py +142 -0
- vllm/model_executor/layers/quantization/utils/nvfp4_moe_support.py +63 -0
- vllm/model_executor/layers/quantization/utils/ocp_mx_utils.py +51 -0
- vllm/model_executor/layers/quantization/utils/petit_utils.py +124 -0
- vllm/model_executor/layers/quantization/utils/quant_utils.py +687 -0
- vllm/model_executor/layers/quantization/utils/w8a8_utils.py +516 -0
- vllm/model_executor/layers/resampler.py +283 -0
- vllm/model_executor/layers/rotary_embedding/__init__.py +278 -0
- vllm/model_executor/layers/rotary_embedding/base.py +235 -0
- vllm/model_executor/layers/rotary_embedding/common.py +188 -0
- vllm/model_executor/layers/rotary_embedding/deepseek_scaling_rope.py +165 -0
- vllm/model_executor/layers/rotary_embedding/dual_chunk_rope.py +215 -0
- vllm/model_executor/layers/rotary_embedding/dynamic_ntk_alpha_rope.py +43 -0
- vllm/model_executor/layers/rotary_embedding/dynamic_ntk_scaling_rope.py +68 -0
- vllm/model_executor/layers/rotary_embedding/ernie45_vl_rope.py +75 -0
- vllm/model_executor/layers/rotary_embedding/linear_scaling_rope.py +115 -0
- vllm/model_executor/layers/rotary_embedding/llama3_rope.py +54 -0
- vllm/model_executor/layers/rotary_embedding/llama4_vision_rope.py +80 -0
- vllm/model_executor/layers/rotary_embedding/mrope.py +397 -0
- vllm/model_executor/layers/rotary_embedding/ntk_scaling_rope.py +47 -0
- vllm/model_executor/layers/rotary_embedding/phi3_long_rope_scaled_rope.py +159 -0
- vllm/model_executor/layers/rotary_embedding/yarn_scaling_rope.py +81 -0
- vllm/model_executor/layers/utils.py +251 -0
- vllm/model_executor/layers/vocab_parallel_embedding.py +558 -0
- vllm/model_executor/model_loader/__init__.py +148 -0
- vllm/model_executor/model_loader/base_loader.py +57 -0
- vllm/model_executor/model_loader/bitsandbytes_loader.py +822 -0
- vllm/model_executor/model_loader/default_loader.py +327 -0
- vllm/model_executor/model_loader/dummy_loader.py +28 -0
- vllm/model_executor/model_loader/gguf_loader.py +176 -0
- vllm/model_executor/model_loader/online_quantization.py +224 -0
- vllm/model_executor/model_loader/runai_streamer_loader.py +116 -0
- vllm/model_executor/model_loader/sharded_state_loader.py +206 -0
- vllm/model_executor/model_loader/tensorizer.py +790 -0
- vllm/model_executor/model_loader/tensorizer_loader.py +151 -0
- vllm/model_executor/model_loader/tpu.py +118 -0
- vllm/model_executor/model_loader/utils.py +288 -0
- vllm/model_executor/model_loader/weight_utils.py +1084 -0
- vllm/model_executor/models/__init__.py +44 -0
- vllm/model_executor/models/adapters.py +543 -0
- vllm/model_executor/models/afmoe.py +711 -0
- vllm/model_executor/models/aimv2.py +247 -0
- vllm/model_executor/models/apertus.py +587 -0
- vllm/model_executor/models/arcee.py +439 -0
- vllm/model_executor/models/arctic.py +635 -0
- vllm/model_executor/models/aria.py +655 -0
- vllm/model_executor/models/aya_vision.py +450 -0
- vllm/model_executor/models/baichuan.py +496 -0
- vllm/model_executor/models/bailing_moe.py +646 -0
- vllm/model_executor/models/bamba.py +522 -0
- vllm/model_executor/models/bee.py +157 -0
- vllm/model_executor/models/bert.py +925 -0
- vllm/model_executor/models/bert_with_rope.py +732 -0
- vllm/model_executor/models/blip.py +349 -0
- vllm/model_executor/models/blip2.py +695 -0
- vllm/model_executor/models/bloom.py +390 -0
- vllm/model_executor/models/chameleon.py +1120 -0
- vllm/model_executor/models/chatglm.py +498 -0
- vllm/model_executor/models/clip.py +965 -0
- vllm/model_executor/models/cohere2_vision.py +472 -0
- vllm/model_executor/models/commandr.py +473 -0
- vllm/model_executor/models/config.py +503 -0
- vllm/model_executor/models/dbrx.py +482 -0
- vllm/model_executor/models/deepencoder.py +673 -0
- vllm/model_executor/models/deepseek_eagle.py +260 -0
- vllm/model_executor/models/deepseek_mtp.py +360 -0
- vllm/model_executor/models/deepseek_ocr.py +593 -0
- vllm/model_executor/models/deepseek_v2.py +1649 -0
- vllm/model_executor/models/deepseek_vl2.py +655 -0
- vllm/model_executor/models/dots1.py +574 -0
- vllm/model_executor/models/dots_ocr.py +900 -0
- vllm/model_executor/models/ernie45.py +53 -0
- vllm/model_executor/models/ernie45_moe.py +759 -0
- vllm/model_executor/models/ernie45_vl.py +1742 -0
- vllm/model_executor/models/ernie45_vl_moe.py +803 -0
- vllm/model_executor/models/ernie_mtp.py +279 -0
- vllm/model_executor/models/exaone.py +545 -0
- vllm/model_executor/models/exaone4.py +531 -0
- vllm/model_executor/models/fairseq2_llama.py +154 -0
- vllm/model_executor/models/falcon.py +545 -0
- vllm/model_executor/models/falcon_h1.py +685 -0
- vllm/model_executor/models/flex_olmo.py +155 -0
- vllm/model_executor/models/fuyu.py +373 -0
- vllm/model_executor/models/gemma.py +426 -0
- vllm/model_executor/models/gemma2.py +439 -0
- vllm/model_executor/models/gemma3.py +571 -0
- vllm/model_executor/models/gemma3_mm.py +741 -0
- vllm/model_executor/models/gemma3n.py +1165 -0
- vllm/model_executor/models/gemma3n_mm.py +811 -0
- vllm/model_executor/models/glm.py +23 -0
- vllm/model_executor/models/glm4.py +305 -0
- vllm/model_executor/models/glm4_1v.py +1821 -0
- vllm/model_executor/models/glm4_moe.py +747 -0
- vllm/model_executor/models/glm4_moe_mtp.py +359 -0
- vllm/model_executor/models/glm4v.py +784 -0
- vllm/model_executor/models/gpt2.py +397 -0
- vllm/model_executor/models/gpt_bigcode.py +339 -0
- vllm/model_executor/models/gpt_j.py +346 -0
- vllm/model_executor/models/gpt_neox.py +344 -0
- vllm/model_executor/models/gpt_oss.py +738 -0
- vllm/model_executor/models/granite.py +516 -0
- vllm/model_executor/models/granite_speech.py +913 -0
- vllm/model_executor/models/granitemoe.py +569 -0
- vllm/model_executor/models/granitemoehybrid.py +709 -0
- vllm/model_executor/models/granitemoeshared.py +333 -0
- vllm/model_executor/models/gritlm.py +245 -0
- vllm/model_executor/models/grok1.py +558 -0
- vllm/model_executor/models/h2ovl.py +554 -0
- vllm/model_executor/models/hunyuan_v1.py +1053 -0
- vllm/model_executor/models/hyperclovax_vision.py +1166 -0
- vllm/model_executor/models/idefics2_vision_model.py +426 -0
- vllm/model_executor/models/idefics3.py +717 -0
- vllm/model_executor/models/interfaces.py +1092 -0
- vllm/model_executor/models/interfaces_base.py +214 -0
- vllm/model_executor/models/intern_vit.py +453 -0
- vllm/model_executor/models/internlm2.py +460 -0
- vllm/model_executor/models/internlm2_ve.py +142 -0
- vllm/model_executor/models/interns1.py +830 -0
- vllm/model_executor/models/interns1_vit.py +432 -0
- vllm/model_executor/models/internvl.py +1452 -0
- vllm/model_executor/models/jais.py +397 -0
- vllm/model_executor/models/jamba.py +610 -0
- vllm/model_executor/models/jina_vl.py +147 -0
- vllm/model_executor/models/keye.py +1761 -0
- vllm/model_executor/models/keye_vl1_5.py +726 -0
- vllm/model_executor/models/kimi_linear.py +663 -0
- vllm/model_executor/models/kimi_vl.py +578 -0
- vllm/model_executor/models/lfm2.py +532 -0
- vllm/model_executor/models/lfm2_moe.py +762 -0
- vllm/model_executor/models/lightonocr.py +195 -0
- vllm/model_executor/models/llama.py +732 -0
- vllm/model_executor/models/llama4.py +859 -0
- vllm/model_executor/models/llama4_eagle.py +223 -0
- vllm/model_executor/models/llama_eagle.py +218 -0
- vllm/model_executor/models/llama_eagle3.py +367 -0
- vllm/model_executor/models/llava.py +842 -0
- vllm/model_executor/models/llava_next.py +583 -0
- vllm/model_executor/models/llava_next_video.py +467 -0
- vllm/model_executor/models/llava_onevision.py +923 -0
- vllm/model_executor/models/longcat_flash.py +749 -0
- vllm/model_executor/models/longcat_flash_mtp.py +349 -0
- vllm/model_executor/models/mamba.py +276 -0
- vllm/model_executor/models/mamba2.py +289 -0
- vllm/model_executor/models/medusa.py +179 -0
- vllm/model_executor/models/midashenglm.py +827 -0
- vllm/model_executor/models/mimo.py +188 -0
- vllm/model_executor/models/mimo_mtp.py +294 -0
- vllm/model_executor/models/minicpm.py +664 -0
- vllm/model_executor/models/minicpm3.py +242 -0
- vllm/model_executor/models/minicpm_eagle.py +389 -0
- vllm/model_executor/models/minicpmo.py +768 -0
- vllm/model_executor/models/minicpmv.py +1745 -0
- vllm/model_executor/models/minimax_m2.py +552 -0
- vllm/model_executor/models/minimax_text_01.py +1012 -0
- vllm/model_executor/models/minimax_vl_01.py +396 -0
- vllm/model_executor/models/mistral3.py +637 -0
- vllm/model_executor/models/mixtral.py +621 -0
- vllm/model_executor/models/mllama4.py +1147 -0
- vllm/model_executor/models/mlp_speculator.py +235 -0
- vllm/model_executor/models/modernbert.py +450 -0
- vllm/model_executor/models/module_mapping.py +74 -0
- vllm/model_executor/models/molmo.py +1555 -0
- vllm/model_executor/models/moonvit.py +677 -0
- vllm/model_executor/models/mpt.py +335 -0
- vllm/model_executor/models/nano_nemotron_vl.py +1740 -0
- vllm/model_executor/models/nemotron.py +518 -0
- vllm/model_executor/models/nemotron_h.py +852 -0
- vllm/model_executor/models/nemotron_nas.py +491 -0
- vllm/model_executor/models/nemotron_vl.py +653 -0
- vllm/model_executor/models/nvlm_d.py +216 -0
- vllm/model_executor/models/olmo.py +414 -0
- vllm/model_executor/models/olmo2.py +454 -0
- vllm/model_executor/models/olmoe.py +498 -0
- vllm/model_executor/models/openpangu.py +1062 -0
- vllm/model_executor/models/openpangu_mtp.py +265 -0
- vllm/model_executor/models/opt.py +426 -0
- vllm/model_executor/models/orion.py +372 -0
- vllm/model_executor/models/ouro.py +516 -0
- vllm/model_executor/models/ovis.py +559 -0
- vllm/model_executor/models/ovis2_5.py +673 -0
- vllm/model_executor/models/paddleocr_vl.py +1407 -0
- vllm/model_executor/models/paligemma.py +412 -0
- vllm/model_executor/models/persimmon.py +377 -0
- vllm/model_executor/models/phi.py +374 -0
- vllm/model_executor/models/phi3.py +18 -0
- vllm/model_executor/models/phi3v.py +737 -0
- vllm/model_executor/models/phi4_multimodal.py +1447 -0
- vllm/model_executor/models/phi4mm.py +1253 -0
- vllm/model_executor/models/phi4mm_audio.py +1296 -0
- vllm/model_executor/models/phi4mm_utils.py +1907 -0
- vllm/model_executor/models/phimoe.py +675 -0
- vllm/model_executor/models/pixtral.py +1352 -0
- vllm/model_executor/models/plamo2.py +981 -0
- vllm/model_executor/models/qwen.py +368 -0
- vllm/model_executor/models/qwen2.py +541 -0
- vllm/model_executor/models/qwen2_5_omni_thinker.py +1246 -0
- vllm/model_executor/models/qwen2_5_vl.py +1613 -0
- vllm/model_executor/models/qwen2_audio.py +473 -0
- vllm/model_executor/models/qwen2_moe.py +596 -0
- vllm/model_executor/models/qwen2_rm.py +123 -0
- vllm/model_executor/models/qwen2_vl.py +1670 -0
- vllm/model_executor/models/qwen3.py +336 -0
- vllm/model_executor/models/qwen3_moe.py +744 -0
- vllm/model_executor/models/qwen3_next.py +1395 -0
- vllm/model_executor/models/qwen3_next_mtp.py +296 -0
- vllm/model_executor/models/qwen3_omni_moe_thinker.py +1721 -0
- vllm/model_executor/models/qwen3_vl.py +1673 -0
- vllm/model_executor/models/qwen3_vl_moe.py +415 -0
- vllm/model_executor/models/qwen_vl.py +802 -0
- vllm/model_executor/models/radio.py +555 -0
- vllm/model_executor/models/registry.py +1155 -0
- vllm/model_executor/models/roberta.py +259 -0
- vllm/model_executor/models/rvl.py +107 -0
- vllm/model_executor/models/seed_oss.py +497 -0
- vllm/model_executor/models/siglip.py +1174 -0
- vllm/model_executor/models/siglip2navit.py +724 -0
- vllm/model_executor/models/skyworkr1v.py +953 -0
- vllm/model_executor/models/smolvlm.py +38 -0
- vllm/model_executor/models/solar.py +502 -0
- vllm/model_executor/models/stablelm.py +359 -0
- vllm/model_executor/models/starcoder2.py +367 -0
- vllm/model_executor/models/step3_text.py +559 -0
- vllm/model_executor/models/step3_vl.py +1148 -0
- vllm/model_executor/models/swin.py +514 -0
- vllm/model_executor/models/tarsier.py +619 -0
- vllm/model_executor/models/telechat2.py +153 -0
- vllm/model_executor/models/teleflm.py +78 -0
- vllm/model_executor/models/terratorch.py +319 -0
- vllm/model_executor/models/transformers/__init__.py +127 -0
- vllm/model_executor/models/transformers/base.py +464 -0
- vllm/model_executor/models/transformers/causal.py +65 -0
- vllm/model_executor/models/transformers/legacy.py +90 -0
- vllm/model_executor/models/transformers/moe.py +318 -0
- vllm/model_executor/models/transformers/multimodal.py +411 -0
- vllm/model_executor/models/transformers/pooling.py +119 -0
- vllm/model_executor/models/transformers/utils.py +207 -0
- vllm/model_executor/models/ultravox.py +681 -0
- vllm/model_executor/models/utils.py +877 -0
- vllm/model_executor/models/vision.py +552 -0
- vllm/model_executor/models/voxtral.py +845 -0
- vllm/model_executor/models/whisper.py +959 -0
- vllm/model_executor/models/zamba2.py +986 -0
- vllm/model_executor/parameter.py +642 -0
- vllm/model_executor/utils.py +94 -0
- vllm/model_executor/warmup/__init__.py +0 -0
- vllm/model_executor/warmup/deep_gemm_warmup.py +314 -0
- vllm/model_executor/warmup/kernel_warmup.py +98 -0
- vllm/multimodal/__init__.py +40 -0
- vllm/multimodal/audio.py +118 -0
- vllm/multimodal/base.py +26 -0
- vllm/multimodal/cache.py +755 -0
- vllm/multimodal/evs.py +294 -0
- vllm/multimodal/hasher.py +106 -0
- vllm/multimodal/image.py +130 -0
- vllm/multimodal/inputs.py +1036 -0
- vllm/multimodal/parse.py +544 -0
- vllm/multimodal/processing.py +2186 -0
- vllm/multimodal/profiling.py +369 -0
- vllm/multimodal/registry.py +360 -0
- vllm/multimodal/utils.py +512 -0
- vllm/multimodal/video.py +306 -0
- vllm/outputs.py +345 -0
- vllm/platforms/__init__.py +277 -0
- vllm/platforms/cpu.py +414 -0
- vllm/platforms/cuda.py +657 -0
- vllm/platforms/interface.py +639 -0
- vllm/platforms/rocm.py +466 -0
- vllm/platforms/tpu.py +276 -0
- vllm/platforms/xpu.py +274 -0
- vllm/plugins/__init__.py +78 -0
- vllm/plugins/io_processors/__init__.py +68 -0
- vllm/plugins/io_processors/interface.py +77 -0
- vllm/plugins/lora_resolvers/__init__.py +0 -0
- vllm/plugins/lora_resolvers/filesystem_resolver.py +52 -0
- vllm/pooling_params.py +228 -0
- vllm/profiler/__init__.py +0 -0
- vllm/profiler/gpu_profiler.py +37 -0
- vllm/profiler/layerwise_profile.py +392 -0
- vllm/profiler/utils.py +151 -0
- vllm/py.typed +2 -0
- vllm/ray/__init__.py +0 -0
- vllm/ray/lazy_utils.py +26 -0
- vllm/ray/ray_env.py +79 -0
- vllm/reasoning/__init__.py +92 -0
- vllm/reasoning/abs_reasoning_parsers.py +290 -0
- vllm/reasoning/basic_parsers.py +162 -0
- vllm/reasoning/deepseek_r1_reasoning_parser.py +67 -0
- vllm/reasoning/deepseek_v3_reasoning_parser.py +62 -0
- vllm/reasoning/ernie45_reasoning_parser.py +165 -0
- vllm/reasoning/glm4_moe_reasoning_parser.py +171 -0
- vllm/reasoning/gptoss_reasoning_parser.py +173 -0
- vllm/reasoning/granite_reasoning_parser.py +363 -0
- vllm/reasoning/hunyuan_a13b_reasoning_parser.py +237 -0
- vllm/reasoning/identity_reasoning_parser.py +58 -0
- vllm/reasoning/minimax_m2_reasoning_parser.py +67 -0
- vllm/reasoning/mistral_reasoning_parser.py +55 -0
- vllm/reasoning/olmo3_reasoning_parser.py +302 -0
- vllm/reasoning/qwen3_reasoning_parser.py +67 -0
- vllm/reasoning/seedoss_reasoning_parser.py +27 -0
- vllm/reasoning/step3_reasoning_parser.py +107 -0
- vllm/sampling_params.py +669 -0
- vllm/scalar_type.py +355 -0
- vllm/scripts.py +17 -0
- vllm/sequence.py +98 -0
- vllm/tasks.py +13 -0
- vllm/third_party/__init__.py +0 -0
- vllm/third_party/pynvml.py +6140 -0
- vllm/tracing.py +135 -0
- vllm/transformers_utils/__init__.py +26 -0
- vllm/transformers_utils/chat_templates/__init__.py +5 -0
- vllm/transformers_utils/chat_templates/registry.py +73 -0
- vllm/transformers_utils/chat_templates/template_basic.jinja +3 -0
- vllm/transformers_utils/chat_templates/template_blip2.jinja +11 -0
- vllm/transformers_utils/chat_templates/template_chatml.jinja +10 -0
- vllm/transformers_utils/chat_templates/template_deepseek_ocr.jinja +14 -0
- vllm/transformers_utils/chat_templates/template_deepseek_vl2.jinja +23 -0
- vllm/transformers_utils/chat_templates/template_fuyu.jinja +3 -0
- vllm/transformers_utils/chat_templates/template_minicpmv45.jinja +93 -0
- vllm/transformers_utils/config.py +1203 -0
- vllm/transformers_utils/config_parser_base.py +20 -0
- vllm/transformers_utils/configs/__init__.py +70 -0
- vllm/transformers_utils/configs/afmoe.py +84 -0
- vllm/transformers_utils/configs/arctic.py +206 -0
- vllm/transformers_utils/configs/chatglm.py +75 -0
- vllm/transformers_utils/configs/deepseek_vl2.py +126 -0
- vllm/transformers_utils/configs/dotsocr.py +71 -0
- vllm/transformers_utils/configs/eagle.py +84 -0
- vllm/transformers_utils/configs/falcon.py +89 -0
- vllm/transformers_utils/configs/flex_olmo.py +77 -0
- vllm/transformers_utils/configs/jais.py +243 -0
- vllm/transformers_utils/configs/kimi_linear.py +144 -0
- vllm/transformers_utils/configs/kimi_vl.py +38 -0
- vllm/transformers_utils/configs/lfm2_moe.py +159 -0
- vllm/transformers_utils/configs/medusa.py +65 -0
- vllm/transformers_utils/configs/midashenglm.py +103 -0
- vllm/transformers_utils/configs/mistral.py +174 -0
- vllm/transformers_utils/configs/mlp_speculator.py +69 -0
- vllm/transformers_utils/configs/moonvit.py +33 -0
- vllm/transformers_utils/configs/nemotron.py +212 -0
- vllm/transformers_utils/configs/nemotron_h.py +282 -0
- vllm/transformers_utils/configs/olmo3.py +79 -0
- vllm/transformers_utils/configs/ovis.py +182 -0
- vllm/transformers_utils/configs/qwen3_next.py +274 -0
- vllm/transformers_utils/configs/radio.py +89 -0
- vllm/transformers_utils/configs/speculators/__init__.py +2 -0
- vllm/transformers_utils/configs/speculators/algos.py +38 -0
- vllm/transformers_utils/configs/speculators/base.py +114 -0
- vllm/transformers_utils/configs/step3_vl.py +174 -0
- vllm/transformers_utils/configs/ultravox.py +118 -0
- vllm/transformers_utils/detokenizer_utils.py +198 -0
- vllm/transformers_utils/dynamic_module.py +59 -0
- vllm/transformers_utils/processor.py +402 -0
- vllm/transformers_utils/processors/__init__.py +15 -0
- vllm/transformers_utils/processors/deepseek_ocr.py +438 -0
- vllm/transformers_utils/processors/deepseek_vl2.py +406 -0
- vllm/transformers_utils/processors/ovis.py +453 -0
- vllm/transformers_utils/processors/ovis2_5.py +468 -0
- vllm/transformers_utils/runai_utils.py +104 -0
- vllm/transformers_utils/s3_utils.py +95 -0
- vllm/transformers_utils/tokenizer.py +293 -0
- vllm/transformers_utils/tokenizer_base.py +155 -0
- vllm/transformers_utils/tokenizers/__init__.py +16 -0
- vllm/transformers_utils/tokenizers/mistral.py +502 -0
- vllm/transformers_utils/utils.py +130 -0
- vllm/triton_utils/__init__.py +19 -0
- vllm/triton_utils/importing.py +103 -0
- vllm/usage/__init__.py +0 -0
- vllm/usage/usage_lib.py +294 -0
- vllm/utils/__init__.py +82 -0
- vllm/utils/argparse_utils.py +487 -0
- vllm/utils/async_utils.py +303 -0
- vllm/utils/cache.py +214 -0
- vllm/utils/collection_utils.py +139 -0
- vllm/utils/counter.py +45 -0
- vllm/utils/deep_gemm.py +391 -0
- vllm/utils/flashinfer.py +490 -0
- vllm/utils/func_utils.py +236 -0
- vllm/utils/gc_utils.py +147 -0
- vllm/utils/hashing.py +63 -0
- vllm/utils/import_utils.py +411 -0
- vllm/utils/jsontree.py +165 -0
- vllm/utils/math_utils.py +32 -0
- vllm/utils/mem_constants.py +13 -0
- vllm/utils/mem_utils.py +232 -0
- vllm/utils/nccl.py +64 -0
- vllm/utils/network_utils.py +331 -0
- vllm/utils/platform_utils.py +59 -0
- vllm/utils/profiling.py +56 -0
- vllm/utils/registry.py +49 -0
- vllm/utils/serial_utils.py +169 -0
- vllm/utils/system_utils.py +229 -0
- vllm/utils/tensor_schema.py +255 -0
- vllm/utils/torch_utils.py +657 -0
- vllm/v1/__init__.py +0 -0
- vllm/v1/attention/__init__.py +0 -0
- vllm/v1/attention/backends/__init__.py +0 -0
- vllm/v1/attention/backends/cpu_attn.py +496 -0
- vllm/v1/attention/backends/flash_attn.py +1028 -0
- vllm/v1/attention/backends/flashinfer.py +1572 -0
- vllm/v1/attention/backends/flex_attention.py +926 -0
- vllm/v1/attention/backends/gdn_attn.py +387 -0
- vllm/v1/attention/backends/linear_attn.py +74 -0
- vllm/v1/attention/backends/mamba1_attn.py +165 -0
- vllm/v1/attention/backends/mamba2_attn.py +354 -0
- vllm/v1/attention/backends/mamba_attn.py +115 -0
- vllm/v1/attention/backends/mla/__init__.py +0 -0
- vllm/v1/attention/backends/mla/common.py +2031 -0
- vllm/v1/attention/backends/mla/cutlass_mla.py +275 -0
- vllm/v1/attention/backends/mla/flashattn_mla.py +337 -0
- vllm/v1/attention/backends/mla/flashinfer_mla.py +171 -0
- vllm/v1/attention/backends/mla/flashmla.py +314 -0
- vllm/v1/attention/backends/mla/flashmla_sparse.py +548 -0
- vllm/v1/attention/backends/mla/indexer.py +362 -0
- vllm/v1/attention/backends/mla/rocm_aiter_mla.py +294 -0
- vllm/v1/attention/backends/mla/triton_mla.py +171 -0
- vllm/v1/attention/backends/pallas.py +436 -0
- vllm/v1/attention/backends/rocm_aiter_fa.py +816 -0
- vllm/v1/attention/backends/rocm_aiter_unified_attn.py +196 -0
- vllm/v1/attention/backends/rocm_attn.py +362 -0
- vllm/v1/attention/backends/short_conv_attn.py +105 -0
- vllm/v1/attention/backends/tree_attn.py +425 -0
- vllm/v1/attention/backends/triton_attn.py +373 -0
- vllm/v1/attention/backends/utils.py +1116 -0
- vllm/v1/attention/backends/xformers.py +417 -0
- vllm/v1/core/__init__.py +0 -0
- vllm/v1/core/block_pool.py +428 -0
- vllm/v1/core/encoder_cache_manager.py +343 -0
- vllm/v1/core/kv_cache_coordinator.py +480 -0
- vllm/v1/core/kv_cache_manager.py +420 -0
- vllm/v1/core/kv_cache_utils.py +1340 -0
- vllm/v1/core/sched/__init__.py +0 -0
- vllm/v1/core/sched/async_scheduler.py +62 -0
- vllm/v1/core/sched/interface.py +181 -0
- vllm/v1/core/sched/output.py +202 -0
- vllm/v1/core/sched/request_queue.py +221 -0
- vllm/v1/core/sched/scheduler.py +1617 -0
- vllm/v1/core/sched/utils.py +72 -0
- vllm/v1/core/single_type_kv_cache_manager.py +736 -0
- vllm/v1/cudagraph_dispatcher.py +148 -0
- vllm/v1/engine/__init__.py +206 -0
- vllm/v1/engine/async_llm.py +797 -0
- vllm/v1/engine/coordinator.py +377 -0
- vllm/v1/engine/core.py +1420 -0
- vllm/v1/engine/core_client.py +1400 -0
- vllm/v1/engine/detokenizer.py +351 -0
- vllm/v1/engine/exceptions.py +18 -0
- vllm/v1/engine/llm_engine.py +408 -0
- vllm/v1/engine/logprobs.py +182 -0
- vllm/v1/engine/output_processor.py +642 -0
- vllm/v1/engine/parallel_sampling.py +145 -0
- vllm/v1/engine/processor.py +621 -0
- vllm/v1/engine/utils.py +1072 -0
- vllm/v1/executor/__init__.py +6 -0
- vllm/v1/executor/abstract.py +352 -0
- vllm/v1/executor/multiproc_executor.py +877 -0
- vllm/v1/executor/ray_distributed_executor.py +8 -0
- vllm/v1/executor/ray_executor.py +626 -0
- vllm/v1/executor/ray_utils.py +465 -0
- vllm/v1/executor/uniproc_executor.py +183 -0
- vllm/v1/kv_cache_interface.py +403 -0
- vllm/v1/kv_offload/__init__.py +0 -0
- vllm/v1/kv_offload/abstract.py +161 -0
- vllm/v1/kv_offload/arc_manager.py +237 -0
- vllm/v1/kv_offload/backend.py +97 -0
- vllm/v1/kv_offload/backends/__init__.py +0 -0
- vllm/v1/kv_offload/backends/cpu.py +62 -0
- vllm/v1/kv_offload/cpu.py +93 -0
- vllm/v1/kv_offload/factory.py +56 -0
- vllm/v1/kv_offload/lru_manager.py +139 -0
- vllm/v1/kv_offload/mediums.py +39 -0
- vllm/v1/kv_offload/spec.py +62 -0
- vllm/v1/kv_offload/worker/__init__.py +0 -0
- vllm/v1/kv_offload/worker/cpu_gpu.py +185 -0
- vllm/v1/kv_offload/worker/worker.py +144 -0
- vllm/v1/metrics/__init__.py +0 -0
- vllm/v1/metrics/loggers.py +1238 -0
- vllm/v1/metrics/prometheus.py +82 -0
- vllm/v1/metrics/ray_wrappers.py +169 -0
- vllm/v1/metrics/reader.py +257 -0
- vllm/v1/metrics/stats.py +420 -0
- vllm/v1/outputs.py +249 -0
- vllm/v1/pool/__init__.py +0 -0
- vllm/v1/pool/metadata.py +82 -0
- vllm/v1/request.py +259 -0
- vllm/v1/sample/__init__.py +0 -0
- vllm/v1/sample/logits_processor/__init__.py +352 -0
- vllm/v1/sample/logits_processor/builtin.py +274 -0
- vllm/v1/sample/logits_processor/interface.py +106 -0
- vllm/v1/sample/logits_processor/state.py +165 -0
- vllm/v1/sample/metadata.py +44 -0
- vllm/v1/sample/ops/__init__.py +0 -0
- vllm/v1/sample/ops/bad_words.py +52 -0
- vllm/v1/sample/ops/logprobs.py +25 -0
- vllm/v1/sample/ops/penalties.py +57 -0
- vllm/v1/sample/ops/topk_topp_sampler.py +290 -0
- vllm/v1/sample/rejection_sampler.py +793 -0
- vllm/v1/sample/sampler.py +316 -0
- vllm/v1/sample/tpu/__init__.py +0 -0
- vllm/v1/sample/tpu/metadata.py +120 -0
- vllm/v1/sample/tpu/sampler.py +215 -0
- vllm/v1/serial_utils.py +532 -0
- vllm/v1/spec_decode/__init__.py +0 -0
- vllm/v1/spec_decode/eagle.py +1225 -0
- vllm/v1/spec_decode/medusa.py +73 -0
- vllm/v1/spec_decode/metadata.py +66 -0
- vllm/v1/spec_decode/metrics.py +224 -0
- vllm/v1/spec_decode/ngram_proposer.py +291 -0
- vllm/v1/spec_decode/suffix_decoding.py +103 -0
- vllm/v1/spec_decode/utils.py +16 -0
- vllm/v1/structured_output/__init__.py +338 -0
- vllm/v1/structured_output/backend_guidance.py +265 -0
- vllm/v1/structured_output/backend_lm_format_enforcer.py +177 -0
- vllm/v1/structured_output/backend_outlines.py +324 -0
- vllm/v1/structured_output/backend_types.py +136 -0
- vllm/v1/structured_output/backend_xgrammar.py +362 -0
- vllm/v1/structured_output/request.py +94 -0
- vllm/v1/structured_output/utils.py +469 -0
- vllm/v1/utils.py +414 -0
- vllm/v1/worker/__init__.py +0 -0
- vllm/v1/worker/block_table.py +327 -0
- vllm/v1/worker/cpu_model_runner.py +122 -0
- vllm/v1/worker/cpu_worker.py +206 -0
- vllm/v1/worker/dp_utils.py +230 -0
- vllm/v1/worker/ec_connector_model_runner_mixin.py +87 -0
- vllm/v1/worker/gpu_input_batch.py +975 -0
- vllm/v1/worker/gpu_model_runner.py +5102 -0
- vllm/v1/worker/gpu_ubatch_wrapper.py +466 -0
- vllm/v1/worker/gpu_worker.py +894 -0
- vllm/v1/worker/kv_connector_model_runner_mixin.py +144 -0
- vllm/v1/worker/lora_model_runner_mixin.py +213 -0
- vllm/v1/worker/tpu_input_batch.py +593 -0
- vllm/v1/worker/tpu_model_runner.py +2173 -0
- vllm/v1/worker/tpu_worker.py +355 -0
- vllm/v1/worker/ubatch_utils.py +73 -0
- vllm/v1/worker/ubatching.py +231 -0
- vllm/v1/worker/utils.py +366 -0
- vllm/v1/worker/worker_base.py +375 -0
- vllm/v1/worker/xpu_model_runner.py +55 -0
- vllm/v1/worker/xpu_worker.py +189 -0
- vllm/version.py +39 -0
- vllm/vllm_flash_attn/.gitkeep +0 -0
- vllm_cpu_amxbf16-0.11.2.post2.dist-info/METADATA +345 -0
- vllm_cpu_amxbf16-0.11.2.post2.dist-info/RECORD +1536 -0
- vllm_cpu_amxbf16-0.11.2.post2.dist-info/WHEEL +5 -0
- vllm_cpu_amxbf16-0.11.2.post2.dist-info/entry_points.txt +5 -0
- vllm_cpu_amxbf16-0.11.2.post2.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1238 @@
|
|
|
1
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
|
3
|
+
|
|
4
|
+
import logging
|
|
5
|
+
import time
|
|
6
|
+
from abc import ABC, abstractmethod
|
|
7
|
+
from collections.abc import Callable
|
|
8
|
+
from typing import TypeAlias
|
|
9
|
+
|
|
10
|
+
from prometheus_client import Counter, Gauge, Histogram
|
|
11
|
+
|
|
12
|
+
import vllm.envs as envs
|
|
13
|
+
from vllm.config import SupportsMetricsInfo, VllmConfig
|
|
14
|
+
from vllm.distributed.kv_transfer.kv_connector.v1.metrics import (
|
|
15
|
+
KVConnectorLogging,
|
|
16
|
+
KVConnectorPrometheus,
|
|
17
|
+
)
|
|
18
|
+
from vllm.logger import init_logger
|
|
19
|
+
from vllm.plugins import load_plugins_by_group
|
|
20
|
+
from vllm.v1.engine import FinishReason
|
|
21
|
+
from vllm.v1.metrics.prometheus import unregister_vllm_metrics
|
|
22
|
+
from vllm.v1.metrics.stats import (
|
|
23
|
+
CachingMetrics,
|
|
24
|
+
IterationStats,
|
|
25
|
+
MultiModalCacheStats,
|
|
26
|
+
SchedulerStats,
|
|
27
|
+
)
|
|
28
|
+
from vllm.v1.spec_decode.metrics import SpecDecodingLogging, SpecDecodingProm
|
|
29
|
+
|
|
30
|
+
logger = init_logger(__name__)
|
|
31
|
+
|
|
32
|
+
PerEngineStatLoggerFactory = Callable[[VllmConfig, int], "StatLoggerBase"]
|
|
33
|
+
AggregateStatLoggerFactory = type["AggregateStatLoggerBase"]
|
|
34
|
+
StatLoggerFactory = AggregateStatLoggerFactory | PerEngineStatLoggerFactory
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class StatLoggerBase(ABC):
|
|
38
|
+
"""Interface for logging metrics.
|
|
39
|
+
|
|
40
|
+
API users may define custom loggers that implement this interface.
|
|
41
|
+
However, note that the `SchedulerStats` and `IterationStats` classes
|
|
42
|
+
are not considered stable interfaces and may change in future versions.
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
@abstractmethod
|
|
46
|
+
def __init__(self, vllm_config: VllmConfig, engine_index: int = 0): ...
|
|
47
|
+
|
|
48
|
+
@abstractmethod
|
|
49
|
+
def record(
|
|
50
|
+
self,
|
|
51
|
+
scheduler_stats: SchedulerStats | None,
|
|
52
|
+
iteration_stats: IterationStats | None,
|
|
53
|
+
mm_cache_stats: MultiModalCacheStats | None = None,
|
|
54
|
+
engine_idx: int = 0,
|
|
55
|
+
): ...
|
|
56
|
+
|
|
57
|
+
@abstractmethod
|
|
58
|
+
def log_engine_initialized(self): ...
|
|
59
|
+
|
|
60
|
+
def log(self): # noqa
|
|
61
|
+
pass
|
|
62
|
+
|
|
63
|
+
def record_sleep_state(self, is_awake: int, level: int): # noqa
|
|
64
|
+
pass
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def load_stat_logger_plugin_factories() -> list[StatLoggerFactory]:
|
|
68
|
+
factories: list[StatLoggerFactory] = []
|
|
69
|
+
|
|
70
|
+
for name, plugin_class in load_plugins_by_group("vllm.stat_logger_plugins").items():
|
|
71
|
+
if not isinstance(plugin_class, type) or not issubclass(
|
|
72
|
+
plugin_class, StatLoggerBase
|
|
73
|
+
):
|
|
74
|
+
raise TypeError(
|
|
75
|
+
f"Stat logger plugin {name!r} must be a subclass of "
|
|
76
|
+
f"StatLoggerBase (got {plugin_class!r})."
|
|
77
|
+
)
|
|
78
|
+
|
|
79
|
+
factories.append(plugin_class)
|
|
80
|
+
|
|
81
|
+
return factories
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
class AggregateStatLoggerBase(StatLoggerBase):
|
|
85
|
+
"""Abstract base class for loggers that
|
|
86
|
+
aggregate across multiple DP engines."""
|
|
87
|
+
|
|
88
|
+
@abstractmethod
|
|
89
|
+
def __init__(self, vllm_config: VllmConfig, engine_indexes: list[int]): ...
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
class LoggingStatLogger(StatLoggerBase):
|
|
93
|
+
def __init__(self, vllm_config: VllmConfig, engine_index: int = 0):
|
|
94
|
+
self.engine_index = engine_index
|
|
95
|
+
self.vllm_config = vllm_config
|
|
96
|
+
self._reset(time.monotonic())
|
|
97
|
+
|
|
98
|
+
self.last_scheduler_stats = SchedulerStats()
|
|
99
|
+
|
|
100
|
+
# Caching metrics. This cannot be reset.
|
|
101
|
+
# TODO: Make the interval configurable.
|
|
102
|
+
self.prefix_caching_metrics = CachingMetrics()
|
|
103
|
+
self.connector_prefix_caching_metrics = CachingMetrics()
|
|
104
|
+
self.mm_caching_metrics = CachingMetrics()
|
|
105
|
+
|
|
106
|
+
self.spec_decoding_logging = SpecDecodingLogging()
|
|
107
|
+
kv_tranfer_config = self.vllm_config.kv_transfer_config
|
|
108
|
+
self.kv_connector_logging = KVConnectorLogging(kv_tranfer_config)
|
|
109
|
+
self.last_prompt_throughput: float = 0.0
|
|
110
|
+
self.last_generation_throughput: float = 0.0
|
|
111
|
+
self.engine_is_idle = False
|
|
112
|
+
self.aggregated = False
|
|
113
|
+
|
|
114
|
+
def _reset(self, now):
|
|
115
|
+
self.last_log_time = now
|
|
116
|
+
|
|
117
|
+
# Tracked stats over current local logging interval.
|
|
118
|
+
self.num_prompt_tokens: int = 0
|
|
119
|
+
self.num_generation_tokens: int = 0
|
|
120
|
+
self.num_corrupted_reqs: int = 0
|
|
121
|
+
self.num_preemptions: int = 0
|
|
122
|
+
|
|
123
|
+
def _track_iteration_stats(self, iteration_stats: IterationStats):
|
|
124
|
+
# Save tracked stats for token counters.
|
|
125
|
+
self.num_prompt_tokens += iteration_stats.num_prompt_tokens
|
|
126
|
+
self.num_generation_tokens += iteration_stats.num_generation_tokens
|
|
127
|
+
self.num_corrupted_reqs += iteration_stats.num_corrupted_reqs
|
|
128
|
+
self.num_preemptions += iteration_stats.num_preempted_reqs
|
|
129
|
+
|
|
130
|
+
def _get_throughput(self, tracked_stats: int, now: float) -> float:
|
|
131
|
+
# Compute summary metrics for tracked stats
|
|
132
|
+
delta_time = now - self.last_log_time
|
|
133
|
+
if delta_time <= 0.0:
|
|
134
|
+
return 0.0
|
|
135
|
+
return float(tracked_stats / delta_time)
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
def log_prefix(self):
|
|
139
|
+
return "Engine {:03d}: ".format(self.engine_index)
|
|
140
|
+
|
|
141
|
+
def record(
|
|
142
|
+
self,
|
|
143
|
+
scheduler_stats: SchedulerStats | None,
|
|
144
|
+
iteration_stats: IterationStats | None,
|
|
145
|
+
mm_cache_stats: MultiModalCacheStats | None = None,
|
|
146
|
+
engine_idx: int = 0,
|
|
147
|
+
):
|
|
148
|
+
"""Log Stats to standard output."""
|
|
149
|
+
if iteration_stats:
|
|
150
|
+
self._track_iteration_stats(iteration_stats)
|
|
151
|
+
|
|
152
|
+
if scheduler_stats is not None:
|
|
153
|
+
self.prefix_caching_metrics.observe(scheduler_stats.prefix_cache_stats)
|
|
154
|
+
|
|
155
|
+
if scheduler_stats.connector_prefix_cache_stats is not None:
|
|
156
|
+
self.connector_prefix_caching_metrics.observe(
|
|
157
|
+
scheduler_stats.connector_prefix_cache_stats
|
|
158
|
+
)
|
|
159
|
+
|
|
160
|
+
if scheduler_stats.spec_decoding_stats is not None:
|
|
161
|
+
self.spec_decoding_logging.observe(scheduler_stats.spec_decoding_stats)
|
|
162
|
+
if kv_connector_stats := scheduler_stats.kv_connector_stats:
|
|
163
|
+
self.kv_connector_logging.observe(kv_connector_stats)
|
|
164
|
+
if not self.aggregated:
|
|
165
|
+
self.last_scheduler_stats = scheduler_stats
|
|
166
|
+
if mm_cache_stats:
|
|
167
|
+
self.mm_caching_metrics.observe(mm_cache_stats)
|
|
168
|
+
|
|
169
|
+
def _update_stats(self):
|
|
170
|
+
now = time.monotonic()
|
|
171
|
+
prompt_throughput = self._get_throughput(self.num_prompt_tokens, now)
|
|
172
|
+
generation_throughput = self._get_throughput(self.num_generation_tokens, now)
|
|
173
|
+
|
|
174
|
+
self._reset(now)
|
|
175
|
+
self.engine_is_idle = not any(
|
|
176
|
+
(
|
|
177
|
+
prompt_throughput,
|
|
178
|
+
generation_throughput,
|
|
179
|
+
self.last_prompt_throughput,
|
|
180
|
+
self.last_generation_throughput,
|
|
181
|
+
)
|
|
182
|
+
)
|
|
183
|
+
self.last_generation_throughput = generation_throughput
|
|
184
|
+
self.last_prompt_throughput = prompt_throughput
|
|
185
|
+
|
|
186
|
+
def aggregate_scheduler_stats(self):
|
|
187
|
+
# noop for per engine loggers
|
|
188
|
+
return
|
|
189
|
+
|
|
190
|
+
def log(self):
|
|
191
|
+
self._update_stats()
|
|
192
|
+
self.aggregate_scheduler_stats()
|
|
193
|
+
# Avoid log noise on an idle production system
|
|
194
|
+
log_fn = logger.debug if self.engine_is_idle else logger.info
|
|
195
|
+
# Format and print output.
|
|
196
|
+
log_parts = [
|
|
197
|
+
"Avg prompt throughput: %.1f tokens/s",
|
|
198
|
+
"Avg generation throughput: %.1f tokens/s",
|
|
199
|
+
"Running: %d reqs",
|
|
200
|
+
"Waiting: %d reqs",
|
|
201
|
+
]
|
|
202
|
+
log_args = [
|
|
203
|
+
self.last_prompt_throughput,
|
|
204
|
+
self.last_generation_throughput,
|
|
205
|
+
self.last_scheduler_stats.num_running_reqs,
|
|
206
|
+
self.last_scheduler_stats.num_waiting_reqs,
|
|
207
|
+
]
|
|
208
|
+
|
|
209
|
+
if self.num_preemptions > 0:
|
|
210
|
+
log_parts.append("Preemptions: %d")
|
|
211
|
+
log_args.append(self.num_preemptions)
|
|
212
|
+
|
|
213
|
+
log_parts.extend(
|
|
214
|
+
[
|
|
215
|
+
"GPU KV cache usage: %.1f%%",
|
|
216
|
+
"Prefix cache hit rate: %.1f%%",
|
|
217
|
+
]
|
|
218
|
+
)
|
|
219
|
+
log_args.extend(
|
|
220
|
+
[
|
|
221
|
+
self.last_scheduler_stats.kv_cache_usage * 100,
|
|
222
|
+
self.prefix_caching_metrics.hit_rate * 100,
|
|
223
|
+
]
|
|
224
|
+
)
|
|
225
|
+
|
|
226
|
+
if envs.VLLM_COMPUTE_NANS_IN_LOGITS:
|
|
227
|
+
log_parts.append("Corrupted: %d reqs")
|
|
228
|
+
log_args.append(self.num_corrupted_reqs)
|
|
229
|
+
if not self.connector_prefix_caching_metrics.empty:
|
|
230
|
+
log_parts.append("External prefix cache hit rate: %.1f%%")
|
|
231
|
+
log_args.append(self.connector_prefix_caching_metrics.hit_rate * 100)
|
|
232
|
+
if not self.mm_caching_metrics.empty:
|
|
233
|
+
log_parts.append("MM cache hit rate: %.1f%%")
|
|
234
|
+
log_args.append(self.mm_caching_metrics.hit_rate * 100)
|
|
235
|
+
|
|
236
|
+
log_fn(
|
|
237
|
+
self.log_prefix + ", ".join(log_parts),
|
|
238
|
+
*log_args,
|
|
239
|
+
)
|
|
240
|
+
|
|
241
|
+
self.spec_decoding_logging.log(log_fn=log_fn)
|
|
242
|
+
self.kv_connector_logging.log(log_fn=log_fn)
|
|
243
|
+
|
|
244
|
+
def log_engine_initialized(self):
|
|
245
|
+
if self.vllm_config.cache_config.num_gpu_blocks:
|
|
246
|
+
logger.debug(
|
|
247
|
+
"Engine %03d: vllm cache_config_info with initialization "
|
|
248
|
+
"after num_gpu_blocks is: %d",
|
|
249
|
+
self.engine_index,
|
|
250
|
+
self.vllm_config.cache_config.num_gpu_blocks,
|
|
251
|
+
)
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
class AggregatedLoggingStatLogger(LoggingStatLogger, AggregateStatLoggerBase):
|
|
255
|
+
def __init__(
|
|
256
|
+
self,
|
|
257
|
+
vllm_config: VllmConfig,
|
|
258
|
+
engine_indexes: list[int],
|
|
259
|
+
):
|
|
260
|
+
self.engine_indexes = engine_indexes
|
|
261
|
+
self.last_scheduler_stats_dict: dict[int, SchedulerStats] = {
|
|
262
|
+
idx: SchedulerStats() for idx in self.engine_indexes
|
|
263
|
+
}
|
|
264
|
+
LoggingStatLogger.__init__(self, vllm_config, engine_index=-1)
|
|
265
|
+
self.aggregated = True
|
|
266
|
+
|
|
267
|
+
@property
|
|
268
|
+
def log_prefix(self):
|
|
269
|
+
return "{} Engines Aggregated: ".format(len(self.engine_indexes))
|
|
270
|
+
|
|
271
|
+
def record(
|
|
272
|
+
self,
|
|
273
|
+
scheduler_stats: SchedulerStats | None,
|
|
274
|
+
iteration_stats: IterationStats | None,
|
|
275
|
+
mm_cache_stats: MultiModalCacheStats | None = None,
|
|
276
|
+
engine_idx: int = 0,
|
|
277
|
+
):
|
|
278
|
+
if engine_idx not in self.engine_indexes:
|
|
279
|
+
logger.warning("Unexpected engine_idx: %d", engine_idx)
|
|
280
|
+
return
|
|
281
|
+
LoggingStatLogger.record(
|
|
282
|
+
self,
|
|
283
|
+
scheduler_stats,
|
|
284
|
+
iteration_stats,
|
|
285
|
+
mm_cache_stats=mm_cache_stats,
|
|
286
|
+
engine_idx=engine_idx,
|
|
287
|
+
)
|
|
288
|
+
if scheduler_stats is not None:
|
|
289
|
+
self.last_scheduler_stats_dict[engine_idx] = scheduler_stats
|
|
290
|
+
|
|
291
|
+
def aggregate_scheduler_stats(self):
|
|
292
|
+
self.last_scheduler_stats = SchedulerStats()
|
|
293
|
+
for last_scheduler_stats in self.last_scheduler_stats_dict.values():
|
|
294
|
+
self.last_scheduler_stats.num_waiting_reqs += (
|
|
295
|
+
last_scheduler_stats.num_waiting_reqs
|
|
296
|
+
)
|
|
297
|
+
self.last_scheduler_stats.num_running_reqs += (
|
|
298
|
+
last_scheduler_stats.num_running_reqs
|
|
299
|
+
)
|
|
300
|
+
self.last_scheduler_stats.kv_cache_usage += (
|
|
301
|
+
last_scheduler_stats.kv_cache_usage
|
|
302
|
+
)
|
|
303
|
+
self.last_scheduler_stats.kv_cache_usage /= len(self.last_scheduler_stats_dict)
|
|
304
|
+
|
|
305
|
+
def log(self):
|
|
306
|
+
LoggingStatLogger.log(self)
|
|
307
|
+
|
|
308
|
+
def log_engine_initialized(self):
|
|
309
|
+
if self.vllm_config.cache_config.num_gpu_blocks:
|
|
310
|
+
logger.info(
|
|
311
|
+
"%d Engines: vllm cache_config_info with initialization "
|
|
312
|
+
"after num_gpu_blocks is: %d",
|
|
313
|
+
len(self.engine_indexes),
|
|
314
|
+
self.vllm_config.cache_config.num_gpu_blocks,
|
|
315
|
+
)
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
class PerEngineStatLoggerAdapter(AggregateStatLoggerBase):
|
|
319
|
+
def __init__(
|
|
320
|
+
self,
|
|
321
|
+
vllm_config: VllmConfig,
|
|
322
|
+
engine_indexes: list[int],
|
|
323
|
+
per_engine_stat_logger_factory: PerEngineStatLoggerFactory,
|
|
324
|
+
) -> None:
|
|
325
|
+
self.per_engine_stat_loggers = {}
|
|
326
|
+
self.engine_indexes = engine_indexes
|
|
327
|
+
for engine_index in engine_indexes:
|
|
328
|
+
self.per_engine_stat_loggers[engine_index] = per_engine_stat_logger_factory(
|
|
329
|
+
vllm_config, engine_index
|
|
330
|
+
)
|
|
331
|
+
|
|
332
|
+
def record(
|
|
333
|
+
self,
|
|
334
|
+
scheduler_stats: SchedulerStats | None,
|
|
335
|
+
iteration_stats: IterationStats | None,
|
|
336
|
+
mm_cache_stats: MultiModalCacheStats | None = None,
|
|
337
|
+
engine_idx: int = 0,
|
|
338
|
+
):
|
|
339
|
+
if engine_idx not in self.per_engine_stat_loggers:
|
|
340
|
+
logger.warning("Unexpected engine_idx: %d", engine_idx)
|
|
341
|
+
return
|
|
342
|
+
self.per_engine_stat_loggers[engine_idx].record(
|
|
343
|
+
scheduler_stats,
|
|
344
|
+
iteration_stats,
|
|
345
|
+
mm_cache_stats=mm_cache_stats,
|
|
346
|
+
engine_idx=engine_idx,
|
|
347
|
+
)
|
|
348
|
+
|
|
349
|
+
def log(self):
|
|
350
|
+
for per_engine_stat_logger in self.per_engine_stat_loggers.values():
|
|
351
|
+
per_engine_stat_logger.log()
|
|
352
|
+
|
|
353
|
+
def log_engine_initialized(self):
|
|
354
|
+
for per_engine_stat_logger in self.per_engine_stat_loggers.values():
|
|
355
|
+
per_engine_stat_logger.log_engine_initialized()
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
class PrometheusStatLogger(AggregateStatLoggerBase):
|
|
359
|
+
_gauge_cls = Gauge
|
|
360
|
+
_counter_cls = Counter
|
|
361
|
+
_histogram_cls = Histogram
|
|
362
|
+
_spec_decoding_cls = SpecDecodingProm
|
|
363
|
+
_kv_connector_cls = KVConnectorPrometheus
|
|
364
|
+
|
|
365
|
+
def __init__(
|
|
366
|
+
self, vllm_config: VllmConfig, engine_indexes: list[int] | None = None
|
|
367
|
+
):
|
|
368
|
+
if engine_indexes is None:
|
|
369
|
+
engine_indexes = [0]
|
|
370
|
+
|
|
371
|
+
self.engine_indexes = engine_indexes
|
|
372
|
+
|
|
373
|
+
unregister_vllm_metrics()
|
|
374
|
+
self.vllm_config = vllm_config
|
|
375
|
+
# Use this flag to hide metrics that were deprecated in
|
|
376
|
+
# a previous release and which will be removed future
|
|
377
|
+
self.show_hidden_metrics = vllm_config.observability_config.show_hidden_metrics
|
|
378
|
+
|
|
379
|
+
labelnames = ["model_name", "engine"]
|
|
380
|
+
model_name = vllm_config.model_config.served_model_name
|
|
381
|
+
max_model_len = vllm_config.model_config.max_model_len
|
|
382
|
+
|
|
383
|
+
per_engine_labelvalues: dict[int, list[str]] = {
|
|
384
|
+
idx: [model_name, str(idx)] for idx in engine_indexes
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
self.spec_decoding_prom = self._spec_decoding_cls(
|
|
388
|
+
vllm_config.speculative_config, labelnames, per_engine_labelvalues
|
|
389
|
+
)
|
|
390
|
+
self.kv_connector_prom = self._kv_connector_cls(
|
|
391
|
+
vllm_config, labelnames, per_engine_labelvalues
|
|
392
|
+
)
|
|
393
|
+
|
|
394
|
+
#
|
|
395
|
+
# Scheduler state
|
|
396
|
+
#
|
|
397
|
+
gauge_scheduler_running = self._gauge_cls(
|
|
398
|
+
name="vllm:num_requests_running",
|
|
399
|
+
documentation="Number of requests in model execution batches.",
|
|
400
|
+
multiprocess_mode="mostrecent",
|
|
401
|
+
labelnames=labelnames,
|
|
402
|
+
)
|
|
403
|
+
self.gauge_scheduler_running = make_per_engine(
|
|
404
|
+
gauge_scheduler_running, engine_indexes, model_name
|
|
405
|
+
)
|
|
406
|
+
|
|
407
|
+
gauge_scheduler_waiting = self._gauge_cls(
|
|
408
|
+
name="vllm:num_requests_waiting",
|
|
409
|
+
documentation="Number of requests waiting to be processed.",
|
|
410
|
+
multiprocess_mode="mostrecent",
|
|
411
|
+
labelnames=labelnames,
|
|
412
|
+
)
|
|
413
|
+
self.gauge_scheduler_waiting = make_per_engine(
|
|
414
|
+
gauge_scheduler_waiting, engine_indexes, model_name
|
|
415
|
+
)
|
|
416
|
+
|
|
417
|
+
gauge_engine_sleep_state = self._gauge_cls(
|
|
418
|
+
name="vllm:engine_sleep_state",
|
|
419
|
+
documentation=(
|
|
420
|
+
"Engine sleep state; awake = 0 means engine is sleeping; "
|
|
421
|
+
"awake = 1 means engine is awake; "
|
|
422
|
+
"weights_offloaded = 1 means sleep level 1; "
|
|
423
|
+
"discard_all = 1 means sleep level 2."
|
|
424
|
+
),
|
|
425
|
+
labelnames=labelnames + ["sleep_state"],
|
|
426
|
+
multiprocess_mode="mostrecent",
|
|
427
|
+
)
|
|
428
|
+
|
|
429
|
+
self.gauge_engine_sleep_state = {}
|
|
430
|
+
sleep_state = ["awake", "weights_offloaded", "discard_all"]
|
|
431
|
+
|
|
432
|
+
for s in sleep_state:
|
|
433
|
+
self.gauge_engine_sleep_state[s] = {
|
|
434
|
+
idx: gauge_engine_sleep_state.labels(
|
|
435
|
+
engine=idx, model_name=model_name, sleep_state=s
|
|
436
|
+
)
|
|
437
|
+
for idx in engine_indexes
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
# Setting default values
|
|
441
|
+
self.record_sleep_state()
|
|
442
|
+
|
|
443
|
+
# GPU cache
|
|
444
|
+
#
|
|
445
|
+
# Deprecated in 0.9.2 - Renamed as vllm:kv_cache_usage_perc
|
|
446
|
+
# With 0.11.x you can enable with --show-hidden-metrics-for-version=0.10
|
|
447
|
+
# TODO: remove in 0.12.0
|
|
448
|
+
if self.show_hidden_metrics:
|
|
449
|
+
gauge_gpu_cache_usage = self._gauge_cls(
|
|
450
|
+
name="vllm:gpu_cache_usage_perc",
|
|
451
|
+
documentation=(
|
|
452
|
+
"GPU KV-cache usage. 1 means 100 percent usage."
|
|
453
|
+
"DEPRECATED: Use vllm:kv_cache_usage_perc instead."
|
|
454
|
+
),
|
|
455
|
+
multiprocess_mode="mostrecent",
|
|
456
|
+
labelnames=labelnames,
|
|
457
|
+
)
|
|
458
|
+
self.gauge_gpu_cache_usage = make_per_engine(
|
|
459
|
+
gauge_gpu_cache_usage, engine_indexes, model_name
|
|
460
|
+
)
|
|
461
|
+
|
|
462
|
+
# Deprecated in 0.9.2 - Renamed as vllm:prefix_cache_queries
|
|
463
|
+
# With 0.11.x you can enable with --show-hidden-metrics-for-version=0.10
|
|
464
|
+
# TODO: remove in 0.12.0
|
|
465
|
+
if self.show_hidden_metrics:
|
|
466
|
+
counter_gpu_prefix_cache_queries = self._counter_cls(
|
|
467
|
+
name="vllm:gpu_prefix_cache_queries",
|
|
468
|
+
documentation=(
|
|
469
|
+
"GPU prefix cache queries, in terms of number of queried"
|
|
470
|
+
"tokens. DEPRECATED: Use vllm:prefix_cache_queries instead."
|
|
471
|
+
),
|
|
472
|
+
labelnames=labelnames,
|
|
473
|
+
)
|
|
474
|
+
self.counter_gpu_prefix_cache_queries = make_per_engine(
|
|
475
|
+
counter_gpu_prefix_cache_queries, engine_indexes, model_name
|
|
476
|
+
)
|
|
477
|
+
|
|
478
|
+
# Deprecated in 0.9.2 - Renamed as vllm:prefix_cache_hits
|
|
479
|
+
# With 0.11.x you can enable with --show-hidden-metrics-for-version=0.10
|
|
480
|
+
# TODO: remove in 0.12.0
|
|
481
|
+
if self.show_hidden_metrics:
|
|
482
|
+
counter_gpu_prefix_cache_hits = self._counter_cls(
|
|
483
|
+
name="vllm:gpu_prefix_cache_hits",
|
|
484
|
+
documentation=(
|
|
485
|
+
"GPU prefix cache hits, in terms of number of cached "
|
|
486
|
+
"tokens. DEPRECATED: Use vllm:prefix_cache_hits instead."
|
|
487
|
+
),
|
|
488
|
+
labelnames=labelnames,
|
|
489
|
+
)
|
|
490
|
+
self.counter_gpu_prefix_cache_hits = make_per_engine(
|
|
491
|
+
counter_gpu_prefix_cache_hits, engine_indexes, model_name
|
|
492
|
+
)
|
|
493
|
+
|
|
494
|
+
gauge_kv_cache_usage = self._gauge_cls(
|
|
495
|
+
name="vllm:kv_cache_usage_perc",
|
|
496
|
+
documentation="KV-cache usage. 1 means 100 percent usage.",
|
|
497
|
+
multiprocess_mode="mostrecent",
|
|
498
|
+
labelnames=labelnames,
|
|
499
|
+
)
|
|
500
|
+
self.gauge_kv_cache_usage = make_per_engine(
|
|
501
|
+
gauge_kv_cache_usage, engine_indexes, model_name
|
|
502
|
+
)
|
|
503
|
+
|
|
504
|
+
if envs.VLLM_COMPUTE_NANS_IN_LOGITS:
|
|
505
|
+
counter_corrupted_requests = self._counter_cls(
|
|
506
|
+
name="vllm:corrupted_requests",
|
|
507
|
+
documentation=(
|
|
508
|
+
"Corrupted requests, in terms of total number of requests "
|
|
509
|
+
"with NaNs in logits."
|
|
510
|
+
),
|
|
511
|
+
labelnames=labelnames,
|
|
512
|
+
)
|
|
513
|
+
self.counter_corrupted_requests = make_per_engine(
|
|
514
|
+
counter_corrupted_requests, engine_indexes, model_name
|
|
515
|
+
)
|
|
516
|
+
|
|
517
|
+
counter_prefix_cache_queries = self._counter_cls(
|
|
518
|
+
name="vllm:prefix_cache_queries",
|
|
519
|
+
documentation=(
|
|
520
|
+
"Prefix cache queries, in terms of number of queried tokens."
|
|
521
|
+
),
|
|
522
|
+
labelnames=labelnames,
|
|
523
|
+
)
|
|
524
|
+
self.counter_prefix_cache_queries = make_per_engine(
|
|
525
|
+
counter_prefix_cache_queries, engine_indexes, model_name
|
|
526
|
+
)
|
|
527
|
+
|
|
528
|
+
counter_prefix_cache_hits = self._counter_cls(
|
|
529
|
+
name="vllm:prefix_cache_hits",
|
|
530
|
+
documentation=("Prefix cache hits, in terms of number of cached tokens."),
|
|
531
|
+
labelnames=labelnames,
|
|
532
|
+
)
|
|
533
|
+
self.counter_prefix_cache_hits = make_per_engine(
|
|
534
|
+
counter_prefix_cache_hits, engine_indexes, model_name
|
|
535
|
+
)
|
|
536
|
+
|
|
537
|
+
#
|
|
538
|
+
# External - KV connector prefix cache
|
|
539
|
+
#
|
|
540
|
+
|
|
541
|
+
counter_connector_prefix_cache_queries = self._counter_cls(
|
|
542
|
+
name="vllm:external_prefix_cache_queries",
|
|
543
|
+
documentation=(
|
|
544
|
+
"External prefix cache queries from KV connector "
|
|
545
|
+
"cross-instance cache sharing, in terms of number of queried tokens."
|
|
546
|
+
),
|
|
547
|
+
labelnames=labelnames,
|
|
548
|
+
)
|
|
549
|
+
self.counter_connector_prefix_cache_queries = make_per_engine(
|
|
550
|
+
counter_connector_prefix_cache_queries, engine_indexes, model_name
|
|
551
|
+
)
|
|
552
|
+
|
|
553
|
+
counter_connector_prefix_cache_hits = self._counter_cls(
|
|
554
|
+
name="vllm:external_prefix_cache_hits",
|
|
555
|
+
documentation=(
|
|
556
|
+
"External prefix cache hits from KV connector "
|
|
557
|
+
"cross-instance cache sharing, in terms of number of cached tokens."
|
|
558
|
+
),
|
|
559
|
+
labelnames=labelnames,
|
|
560
|
+
)
|
|
561
|
+
self.counter_connector_prefix_cache_hits = make_per_engine(
|
|
562
|
+
counter_connector_prefix_cache_hits, engine_indexes, model_name
|
|
563
|
+
)
|
|
564
|
+
|
|
565
|
+
#
|
|
566
|
+
# Multi-modal cache
|
|
567
|
+
#
|
|
568
|
+
|
|
569
|
+
counter_mm_cache_queries = self._counter_cls(
|
|
570
|
+
name="vllm:mm_cache_queries",
|
|
571
|
+
documentation=(
|
|
572
|
+
"Multi-modal cache queries, in terms of number of queried items."
|
|
573
|
+
),
|
|
574
|
+
labelnames=labelnames,
|
|
575
|
+
)
|
|
576
|
+
self.counter_mm_cache_queries = make_per_engine(
|
|
577
|
+
counter_mm_cache_queries, engine_indexes, model_name
|
|
578
|
+
)
|
|
579
|
+
|
|
580
|
+
counter_mm_cache_hits = self._counter_cls(
|
|
581
|
+
name="vllm:mm_cache_hits",
|
|
582
|
+
documentation=(
|
|
583
|
+
"Multi-modal cache hits, in terms of number of cached items."
|
|
584
|
+
),
|
|
585
|
+
labelnames=labelnames,
|
|
586
|
+
)
|
|
587
|
+
self.counter_mm_cache_hits = make_per_engine(
|
|
588
|
+
counter_mm_cache_hits, engine_indexes, model_name
|
|
589
|
+
)
|
|
590
|
+
|
|
591
|
+
#
|
|
592
|
+
# Counters
|
|
593
|
+
#
|
|
594
|
+
counter_num_preempted_reqs = self._counter_cls(
|
|
595
|
+
name="vllm:num_preemptions",
|
|
596
|
+
documentation="Cumulative number of preemption from the engine.",
|
|
597
|
+
labelnames=labelnames,
|
|
598
|
+
)
|
|
599
|
+
self.counter_num_preempted_reqs = make_per_engine(
|
|
600
|
+
counter_num_preempted_reqs, engine_indexes, model_name
|
|
601
|
+
)
|
|
602
|
+
|
|
603
|
+
counter_prompt_tokens = self._counter_cls(
|
|
604
|
+
name="vllm:prompt_tokens",
|
|
605
|
+
documentation="Number of prefill tokens processed.",
|
|
606
|
+
labelnames=labelnames,
|
|
607
|
+
)
|
|
608
|
+
self.counter_prompt_tokens = make_per_engine(
|
|
609
|
+
counter_prompt_tokens, engine_indexes, model_name
|
|
610
|
+
)
|
|
611
|
+
|
|
612
|
+
counter_generation_tokens = self._counter_cls(
|
|
613
|
+
name="vllm:generation_tokens",
|
|
614
|
+
documentation="Number of generation tokens processed.",
|
|
615
|
+
labelnames=labelnames,
|
|
616
|
+
)
|
|
617
|
+
self.counter_generation_tokens = make_per_engine(
|
|
618
|
+
counter_generation_tokens, engine_indexes, model_name
|
|
619
|
+
)
|
|
620
|
+
|
|
621
|
+
self.counter_request_success: dict[FinishReason, dict[int, Counter]] = {}
|
|
622
|
+
counter_request_success_base = self._counter_cls(
|
|
623
|
+
name="vllm:request_success",
|
|
624
|
+
documentation="Count of successfully processed requests.",
|
|
625
|
+
labelnames=labelnames + ["finished_reason"],
|
|
626
|
+
)
|
|
627
|
+
for reason in FinishReason:
|
|
628
|
+
self.counter_request_success[reason] = {
|
|
629
|
+
idx: counter_request_success_base.labels(
|
|
630
|
+
model_name, str(idx), str(reason)
|
|
631
|
+
)
|
|
632
|
+
for idx in engine_indexes
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
#
|
|
636
|
+
# Histograms of counts
|
|
637
|
+
#
|
|
638
|
+
histogram_num_prompt_tokens_request = self._histogram_cls(
|
|
639
|
+
name="vllm:request_prompt_tokens",
|
|
640
|
+
documentation="Number of prefill tokens processed.",
|
|
641
|
+
buckets=build_1_2_5_buckets(max_model_len),
|
|
642
|
+
labelnames=labelnames,
|
|
643
|
+
)
|
|
644
|
+
self.histogram_num_prompt_tokens_request = make_per_engine(
|
|
645
|
+
histogram_num_prompt_tokens_request, engine_indexes, model_name
|
|
646
|
+
)
|
|
647
|
+
|
|
648
|
+
histogram_num_generation_tokens_request = self._histogram_cls(
|
|
649
|
+
name="vllm:request_generation_tokens",
|
|
650
|
+
documentation="Number of generation tokens processed.",
|
|
651
|
+
buckets=build_1_2_5_buckets(max_model_len),
|
|
652
|
+
labelnames=labelnames,
|
|
653
|
+
)
|
|
654
|
+
self.histogram_num_generation_tokens_request = make_per_engine(
|
|
655
|
+
histogram_num_generation_tokens_request, engine_indexes, model_name
|
|
656
|
+
)
|
|
657
|
+
|
|
658
|
+
# TODO: This metric might be incorrect in case of using multiple
|
|
659
|
+
# api_server counts which uses prometheus mp.
|
|
660
|
+
# See: https://github.com/vllm-project/vllm/pull/18053
|
|
661
|
+
histogram_iteration_tokens = self._histogram_cls(
|
|
662
|
+
name="vllm:iteration_tokens_total",
|
|
663
|
+
documentation="Histogram of number of tokens per engine_step.",
|
|
664
|
+
buckets=[1, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384],
|
|
665
|
+
labelnames=labelnames,
|
|
666
|
+
)
|
|
667
|
+
self.histogram_iteration_tokens = make_per_engine(
|
|
668
|
+
histogram_iteration_tokens, engine_indexes, model_name
|
|
669
|
+
)
|
|
670
|
+
|
|
671
|
+
histogram_max_num_generation_tokens_request = self._histogram_cls(
|
|
672
|
+
name="vllm:request_max_num_generation_tokens",
|
|
673
|
+
documentation="Histogram of maximum number of requested generation tokens.",
|
|
674
|
+
buckets=build_1_2_5_buckets(max_model_len),
|
|
675
|
+
labelnames=labelnames,
|
|
676
|
+
)
|
|
677
|
+
self.histogram_max_num_generation_tokens_request = make_per_engine(
|
|
678
|
+
histogram_max_num_generation_tokens_request, engine_indexes, model_name
|
|
679
|
+
)
|
|
680
|
+
|
|
681
|
+
histogram_n_request = self._histogram_cls(
|
|
682
|
+
name="vllm:request_params_n",
|
|
683
|
+
documentation="Histogram of the n request parameter.",
|
|
684
|
+
buckets=[1, 2, 5, 10, 20],
|
|
685
|
+
labelnames=labelnames,
|
|
686
|
+
)
|
|
687
|
+
self.histogram_n_request = make_per_engine(
|
|
688
|
+
histogram_n_request, engine_indexes, model_name
|
|
689
|
+
)
|
|
690
|
+
|
|
691
|
+
histogram_max_tokens_request = self._histogram_cls(
|
|
692
|
+
name="vllm:request_params_max_tokens",
|
|
693
|
+
documentation="Histogram of the max_tokens request parameter.",
|
|
694
|
+
buckets=build_1_2_5_buckets(max_model_len),
|
|
695
|
+
labelnames=labelnames,
|
|
696
|
+
)
|
|
697
|
+
self.histogram_max_tokens_request = make_per_engine(
|
|
698
|
+
histogram_max_tokens_request, engine_indexes, model_name
|
|
699
|
+
)
|
|
700
|
+
|
|
701
|
+
#
|
|
702
|
+
# Histogram of timing intervals
|
|
703
|
+
#
|
|
704
|
+
histogram_time_to_first_token = self._histogram_cls(
|
|
705
|
+
name="vllm:time_to_first_token_seconds",
|
|
706
|
+
documentation="Histogram of time to first token in seconds.",
|
|
707
|
+
buckets=[
|
|
708
|
+
0.001,
|
|
709
|
+
0.005,
|
|
710
|
+
0.01,
|
|
711
|
+
0.02,
|
|
712
|
+
0.04,
|
|
713
|
+
0.06,
|
|
714
|
+
0.08,
|
|
715
|
+
0.1,
|
|
716
|
+
0.25,
|
|
717
|
+
0.5,
|
|
718
|
+
0.75,
|
|
719
|
+
1.0,
|
|
720
|
+
2.5,
|
|
721
|
+
5.0,
|
|
722
|
+
7.5,
|
|
723
|
+
10.0,
|
|
724
|
+
20.0,
|
|
725
|
+
40.0,
|
|
726
|
+
80.0,
|
|
727
|
+
160.0,
|
|
728
|
+
640.0,
|
|
729
|
+
2560.0,
|
|
730
|
+
],
|
|
731
|
+
labelnames=labelnames,
|
|
732
|
+
)
|
|
733
|
+
self.histogram_time_to_first_token = make_per_engine(
|
|
734
|
+
histogram_time_to_first_token, engine_indexes, model_name
|
|
735
|
+
)
|
|
736
|
+
|
|
737
|
+
# Deprecated in 0.11 - Renamed as vllm:inter_token_latency_seconds
|
|
738
|
+
# TODO: in 0.12, only enable if show_hidden_metrics=True
|
|
739
|
+
histogram_time_per_output_token = self._histogram_cls(
|
|
740
|
+
name="vllm:time_per_output_token_seconds",
|
|
741
|
+
documentation=(
|
|
742
|
+
"Histogram of time per output token in seconds."
|
|
743
|
+
"DEPRECATED: Use vllm:inter_token_latency_seconds instead."
|
|
744
|
+
),
|
|
745
|
+
buckets=[
|
|
746
|
+
0.01,
|
|
747
|
+
0.025,
|
|
748
|
+
0.05,
|
|
749
|
+
0.075,
|
|
750
|
+
0.1,
|
|
751
|
+
0.15,
|
|
752
|
+
0.2,
|
|
753
|
+
0.3,
|
|
754
|
+
0.4,
|
|
755
|
+
0.5,
|
|
756
|
+
0.75,
|
|
757
|
+
1.0,
|
|
758
|
+
2.5,
|
|
759
|
+
5.0,
|
|
760
|
+
7.5,
|
|
761
|
+
10.0,
|
|
762
|
+
20.0,
|
|
763
|
+
40.0,
|
|
764
|
+
80.0,
|
|
765
|
+
],
|
|
766
|
+
labelnames=labelnames,
|
|
767
|
+
)
|
|
768
|
+
self.histogram_time_per_output_token = make_per_engine(
|
|
769
|
+
histogram_time_per_output_token, engine_indexes, model_name
|
|
770
|
+
)
|
|
771
|
+
|
|
772
|
+
histogram_inter_token_latency = self._histogram_cls(
|
|
773
|
+
name="vllm:inter_token_latency_seconds",
|
|
774
|
+
documentation="Histogram of inter-token latency in seconds.",
|
|
775
|
+
buckets=[
|
|
776
|
+
0.01,
|
|
777
|
+
0.025,
|
|
778
|
+
0.05,
|
|
779
|
+
0.075,
|
|
780
|
+
0.1,
|
|
781
|
+
0.15,
|
|
782
|
+
0.2,
|
|
783
|
+
0.3,
|
|
784
|
+
0.4,
|
|
785
|
+
0.5,
|
|
786
|
+
0.75,
|
|
787
|
+
1.0,
|
|
788
|
+
2.5,
|
|
789
|
+
5.0,
|
|
790
|
+
7.5,
|
|
791
|
+
10.0,
|
|
792
|
+
20.0,
|
|
793
|
+
40.0,
|
|
794
|
+
80.0,
|
|
795
|
+
],
|
|
796
|
+
labelnames=labelnames,
|
|
797
|
+
)
|
|
798
|
+
self.histogram_inter_token_latency = make_per_engine(
|
|
799
|
+
histogram_inter_token_latency, engine_indexes, model_name
|
|
800
|
+
)
|
|
801
|
+
|
|
802
|
+
histogram_request_time_per_output_token = self._histogram_cls(
|
|
803
|
+
name="vllm:request_time_per_output_token_seconds",
|
|
804
|
+
documentation="Histogram of time_per_output_token_seconds per request.",
|
|
805
|
+
buckets=[
|
|
806
|
+
0.01,
|
|
807
|
+
0.025,
|
|
808
|
+
0.05,
|
|
809
|
+
0.075,
|
|
810
|
+
0.1,
|
|
811
|
+
0.15,
|
|
812
|
+
0.2,
|
|
813
|
+
0.3,
|
|
814
|
+
0.4,
|
|
815
|
+
0.5,
|
|
816
|
+
0.75,
|
|
817
|
+
1.0,
|
|
818
|
+
2.5,
|
|
819
|
+
5.0,
|
|
820
|
+
7.5,
|
|
821
|
+
10.0,
|
|
822
|
+
20.0,
|
|
823
|
+
40.0,
|
|
824
|
+
80.0,
|
|
825
|
+
],
|
|
826
|
+
labelnames=labelnames,
|
|
827
|
+
)
|
|
828
|
+
self.histogram_request_time_per_output_token = make_per_engine(
|
|
829
|
+
histogram_request_time_per_output_token, engine_indexes, model_name
|
|
830
|
+
)
|
|
831
|
+
|
|
832
|
+
request_latency_buckets = [
|
|
833
|
+
0.3,
|
|
834
|
+
0.5,
|
|
835
|
+
0.8,
|
|
836
|
+
1.0,
|
|
837
|
+
1.5,
|
|
838
|
+
2.0,
|
|
839
|
+
2.5,
|
|
840
|
+
5.0,
|
|
841
|
+
10.0,
|
|
842
|
+
15.0,
|
|
843
|
+
20.0,
|
|
844
|
+
30.0,
|
|
845
|
+
40.0,
|
|
846
|
+
50.0,
|
|
847
|
+
60.0,
|
|
848
|
+
120.0,
|
|
849
|
+
240.0,
|
|
850
|
+
480.0,
|
|
851
|
+
960.0,
|
|
852
|
+
1920.0,
|
|
853
|
+
7680.0,
|
|
854
|
+
]
|
|
855
|
+
histogram_e2e_time_request = self._histogram_cls(
|
|
856
|
+
name="vllm:e2e_request_latency_seconds",
|
|
857
|
+
documentation="Histogram of e2e request latency in seconds.",
|
|
858
|
+
buckets=request_latency_buckets,
|
|
859
|
+
labelnames=labelnames,
|
|
860
|
+
)
|
|
861
|
+
self.histogram_e2e_time_request = make_per_engine(
|
|
862
|
+
histogram_e2e_time_request, engine_indexes, model_name
|
|
863
|
+
)
|
|
864
|
+
|
|
865
|
+
histogram_queue_time_request = self._histogram_cls(
|
|
866
|
+
name="vllm:request_queue_time_seconds",
|
|
867
|
+
documentation="Histogram of time spent in WAITING phase for request.",
|
|
868
|
+
buckets=request_latency_buckets,
|
|
869
|
+
labelnames=labelnames,
|
|
870
|
+
)
|
|
871
|
+
self.histogram_queue_time_request = make_per_engine(
|
|
872
|
+
histogram_queue_time_request, engine_indexes, model_name
|
|
873
|
+
)
|
|
874
|
+
|
|
875
|
+
histogram_inference_time_request = self._histogram_cls(
|
|
876
|
+
name="vllm:request_inference_time_seconds",
|
|
877
|
+
documentation="Histogram of time spent in RUNNING phase for request.",
|
|
878
|
+
buckets=request_latency_buckets,
|
|
879
|
+
labelnames=labelnames,
|
|
880
|
+
)
|
|
881
|
+
self.histogram_inference_time_request = make_per_engine(
|
|
882
|
+
histogram_inference_time_request, engine_indexes, model_name
|
|
883
|
+
)
|
|
884
|
+
|
|
885
|
+
histogram_prefill_time_request = self._histogram_cls(
|
|
886
|
+
name="vllm:request_prefill_time_seconds",
|
|
887
|
+
documentation="Histogram of time spent in PREFILL phase for request.",
|
|
888
|
+
buckets=request_latency_buckets,
|
|
889
|
+
labelnames=labelnames,
|
|
890
|
+
)
|
|
891
|
+
self.histogram_prefill_time_request = make_per_engine(
|
|
892
|
+
histogram_prefill_time_request, engine_indexes, model_name
|
|
893
|
+
)
|
|
894
|
+
|
|
895
|
+
histogram_decode_time_request = self._histogram_cls(
|
|
896
|
+
name="vllm:request_decode_time_seconds",
|
|
897
|
+
documentation="Histogram of time spent in DECODE phase for request.",
|
|
898
|
+
buckets=request_latency_buckets,
|
|
899
|
+
labelnames=labelnames,
|
|
900
|
+
)
|
|
901
|
+
self.histogram_decode_time_request = make_per_engine(
|
|
902
|
+
histogram_decode_time_request, engine_indexes, model_name
|
|
903
|
+
)
|
|
904
|
+
|
|
905
|
+
#
|
|
906
|
+
# LoRA metrics
|
|
907
|
+
#
|
|
908
|
+
|
|
909
|
+
# TODO: This metric might be incorrect in case of using multiple
|
|
910
|
+
# api_server counts which uses prometheus mp.
|
|
911
|
+
self.gauge_lora_info: Gauge | None = None
|
|
912
|
+
if vllm_config.lora_config is not None:
|
|
913
|
+
if len(self.engine_indexes) > 1:
|
|
914
|
+
raise NotImplementedError("LoRA in DP mode is not supported yet.")
|
|
915
|
+
self.labelname_max_lora = "max_lora"
|
|
916
|
+
self.labelname_waiting_lora_adapters = "waiting_lora_adapters"
|
|
917
|
+
self.labelname_running_lora_adapters = "running_lora_adapters"
|
|
918
|
+
self.max_lora = vllm_config.lora_config.max_loras
|
|
919
|
+
self.gauge_lora_info = self._gauge_cls(
|
|
920
|
+
name="vllm:lora_requests_info",
|
|
921
|
+
documentation="Running stats on lora requests.",
|
|
922
|
+
multiprocess_mode="sum",
|
|
923
|
+
labelnames=[
|
|
924
|
+
self.labelname_max_lora,
|
|
925
|
+
self.labelname_waiting_lora_adapters,
|
|
926
|
+
self.labelname_running_lora_adapters,
|
|
927
|
+
],
|
|
928
|
+
)
|
|
929
|
+
|
|
930
|
+
def log_metrics_info(self, type: str, config_obj: SupportsMetricsInfo):
|
|
931
|
+
metrics_info = config_obj.metrics_info()
|
|
932
|
+
metrics_info["engine"] = ""
|
|
933
|
+
|
|
934
|
+
name, documentation = None, None
|
|
935
|
+
if type == "cache_config":
|
|
936
|
+
name = "vllm:cache_config_info"
|
|
937
|
+
documentation = "Information of the LLMEngine CacheConfig"
|
|
938
|
+
assert name is not None, f"Unknown metrics info type {type}"
|
|
939
|
+
|
|
940
|
+
# Info type metrics are syntactic sugar for a gauge permanently set to 1
|
|
941
|
+
# Since prometheus multiprocessing mode does not support Info, emulate
|
|
942
|
+
# info here with a gauge.
|
|
943
|
+
info_gauge = self._gauge_cls(
|
|
944
|
+
name=name,
|
|
945
|
+
documentation=documentation,
|
|
946
|
+
multiprocess_mode="mostrecent",
|
|
947
|
+
labelnames=metrics_info.keys(),
|
|
948
|
+
)
|
|
949
|
+
for engine_index in self.engine_indexes:
|
|
950
|
+
metrics_info = config_obj.metrics_info()
|
|
951
|
+
metrics_info["engine"] = str(engine_index)
|
|
952
|
+
info_gauge.labels(**metrics_info).set(1)
|
|
953
|
+
|
|
954
|
+
def record(
|
|
955
|
+
self,
|
|
956
|
+
scheduler_stats: SchedulerStats | None,
|
|
957
|
+
iteration_stats: IterationStats | None,
|
|
958
|
+
mm_cache_stats: MultiModalCacheStats | None = None,
|
|
959
|
+
engine_idx: int = 0,
|
|
960
|
+
):
|
|
961
|
+
"""Log to prometheus."""
|
|
962
|
+
if scheduler_stats is not None:
|
|
963
|
+
self.gauge_scheduler_running[engine_idx].set(
|
|
964
|
+
scheduler_stats.num_running_reqs
|
|
965
|
+
)
|
|
966
|
+
self.gauge_scheduler_waiting[engine_idx].set(
|
|
967
|
+
scheduler_stats.num_waiting_reqs
|
|
968
|
+
)
|
|
969
|
+
if self.show_hidden_metrics:
|
|
970
|
+
self.gauge_gpu_cache_usage[engine_idx].set(
|
|
971
|
+
scheduler_stats.kv_cache_usage
|
|
972
|
+
)
|
|
973
|
+
self.gauge_kv_cache_usage[engine_idx].set(scheduler_stats.kv_cache_usage)
|
|
974
|
+
|
|
975
|
+
if self.show_hidden_metrics:
|
|
976
|
+
self.counter_gpu_prefix_cache_queries[engine_idx].inc(
|
|
977
|
+
scheduler_stats.prefix_cache_stats.queries
|
|
978
|
+
)
|
|
979
|
+
self.counter_gpu_prefix_cache_hits[engine_idx].inc(
|
|
980
|
+
scheduler_stats.prefix_cache_stats.hits
|
|
981
|
+
)
|
|
982
|
+
|
|
983
|
+
self.counter_prefix_cache_queries[engine_idx].inc(
|
|
984
|
+
scheduler_stats.prefix_cache_stats.queries
|
|
985
|
+
)
|
|
986
|
+
self.counter_prefix_cache_hits[engine_idx].inc(
|
|
987
|
+
scheduler_stats.prefix_cache_stats.hits
|
|
988
|
+
)
|
|
989
|
+
|
|
990
|
+
if scheduler_stats.connector_prefix_cache_stats is not None:
|
|
991
|
+
self.counter_connector_prefix_cache_queries[engine_idx].inc(
|
|
992
|
+
scheduler_stats.connector_prefix_cache_stats.queries
|
|
993
|
+
)
|
|
994
|
+
self.counter_connector_prefix_cache_hits[engine_idx].inc(
|
|
995
|
+
scheduler_stats.connector_prefix_cache_stats.hits
|
|
996
|
+
)
|
|
997
|
+
|
|
998
|
+
if scheduler_stats.spec_decoding_stats is not None:
|
|
999
|
+
self.spec_decoding_prom.observe(
|
|
1000
|
+
scheduler_stats.spec_decoding_stats, engine_idx
|
|
1001
|
+
)
|
|
1002
|
+
|
|
1003
|
+
if scheduler_stats.kv_connector_stats is not None:
|
|
1004
|
+
self.kv_connector_prom.observe(
|
|
1005
|
+
scheduler_stats.kv_connector_stats, engine_idx
|
|
1006
|
+
)
|
|
1007
|
+
|
|
1008
|
+
if self.gauge_lora_info is not None:
|
|
1009
|
+
running_lora_adapters = ",".join(
|
|
1010
|
+
scheduler_stats.running_lora_adapters.keys()
|
|
1011
|
+
)
|
|
1012
|
+
waiting_lora_adapters = ",".join(
|
|
1013
|
+
scheduler_stats.waiting_lora_adapters.keys()
|
|
1014
|
+
)
|
|
1015
|
+
lora_info_labels = {
|
|
1016
|
+
self.labelname_running_lora_adapters: running_lora_adapters,
|
|
1017
|
+
self.labelname_waiting_lora_adapters: waiting_lora_adapters,
|
|
1018
|
+
self.labelname_max_lora: self.max_lora,
|
|
1019
|
+
}
|
|
1020
|
+
self.gauge_lora_info.labels(**lora_info_labels).set_to_current_time()
|
|
1021
|
+
|
|
1022
|
+
if mm_cache_stats is not None:
|
|
1023
|
+
self.counter_mm_cache_queries[engine_idx].inc(mm_cache_stats.queries)
|
|
1024
|
+
self.counter_mm_cache_hits[engine_idx].inc(mm_cache_stats.hits)
|
|
1025
|
+
|
|
1026
|
+
if iteration_stats is None:
|
|
1027
|
+
return
|
|
1028
|
+
if envs.VLLM_COMPUTE_NANS_IN_LOGITS:
|
|
1029
|
+
self.counter_corrupted_requests[engine_idx].inc(
|
|
1030
|
+
iteration_stats.num_corrupted_reqs
|
|
1031
|
+
)
|
|
1032
|
+
self.counter_num_preempted_reqs[engine_idx].inc(
|
|
1033
|
+
iteration_stats.num_preempted_reqs
|
|
1034
|
+
)
|
|
1035
|
+
self.counter_prompt_tokens[engine_idx].inc(iteration_stats.num_prompt_tokens)
|
|
1036
|
+
self.counter_generation_tokens[engine_idx].inc(
|
|
1037
|
+
iteration_stats.num_generation_tokens
|
|
1038
|
+
)
|
|
1039
|
+
self.histogram_iteration_tokens[engine_idx].observe(
|
|
1040
|
+
iteration_stats.num_prompt_tokens + iteration_stats.num_generation_tokens
|
|
1041
|
+
)
|
|
1042
|
+
|
|
1043
|
+
for max_gen_tokens in iteration_stats.max_num_generation_tokens_iter:
|
|
1044
|
+
self.histogram_max_num_generation_tokens_request[engine_idx].observe(
|
|
1045
|
+
max_gen_tokens
|
|
1046
|
+
)
|
|
1047
|
+
for n_param in iteration_stats.n_params_iter:
|
|
1048
|
+
self.histogram_n_request[engine_idx].observe(n_param)
|
|
1049
|
+
for ttft in iteration_stats.time_to_first_tokens_iter:
|
|
1050
|
+
self.histogram_time_to_first_token[engine_idx].observe(ttft)
|
|
1051
|
+
for itl in iteration_stats.inter_token_latencies_iter:
|
|
1052
|
+
self.histogram_inter_token_latency[engine_idx].observe(itl)
|
|
1053
|
+
self.histogram_time_per_output_token[engine_idx].observe(itl)
|
|
1054
|
+
|
|
1055
|
+
for finished_request in iteration_stats.finished_requests:
|
|
1056
|
+
self.counter_request_success[finished_request.finish_reason][
|
|
1057
|
+
engine_idx
|
|
1058
|
+
].inc()
|
|
1059
|
+
self.histogram_e2e_time_request[engine_idx].observe(
|
|
1060
|
+
finished_request.e2e_latency
|
|
1061
|
+
)
|
|
1062
|
+
self.histogram_queue_time_request[engine_idx].observe(
|
|
1063
|
+
finished_request.queued_time
|
|
1064
|
+
)
|
|
1065
|
+
self.histogram_prefill_time_request[engine_idx].observe(
|
|
1066
|
+
finished_request.prefill_time
|
|
1067
|
+
)
|
|
1068
|
+
self.histogram_inference_time_request[engine_idx].observe(
|
|
1069
|
+
finished_request.inference_time
|
|
1070
|
+
)
|
|
1071
|
+
self.histogram_decode_time_request[engine_idx].observe(
|
|
1072
|
+
finished_request.decode_time
|
|
1073
|
+
)
|
|
1074
|
+
self.histogram_num_prompt_tokens_request[engine_idx].observe(
|
|
1075
|
+
finished_request.num_prompt_tokens
|
|
1076
|
+
)
|
|
1077
|
+
self.histogram_num_generation_tokens_request[engine_idx].observe(
|
|
1078
|
+
finished_request.num_generation_tokens
|
|
1079
|
+
)
|
|
1080
|
+
self.histogram_request_time_per_output_token[engine_idx].observe(
|
|
1081
|
+
finished_request.mean_time_per_output_token
|
|
1082
|
+
)
|
|
1083
|
+
if finished_request.max_tokens_param:
|
|
1084
|
+
self.histogram_max_tokens_request[engine_idx].observe(
|
|
1085
|
+
finished_request.max_tokens_param
|
|
1086
|
+
)
|
|
1087
|
+
|
|
1088
|
+
def record_sleep_state(self, sleep: int = 0, level: int = 0):
|
|
1089
|
+
awake = 1
|
|
1090
|
+
discard_all = 0
|
|
1091
|
+
weights_offloaded = 0
|
|
1092
|
+
|
|
1093
|
+
if sleep == 1:
|
|
1094
|
+
awake = 0
|
|
1095
|
+
if level == 1:
|
|
1096
|
+
weights_offloaded = 1
|
|
1097
|
+
elif level == 2:
|
|
1098
|
+
discard_all = 1
|
|
1099
|
+
|
|
1100
|
+
for engine_idx in self.engine_indexes:
|
|
1101
|
+
self.gauge_engine_sleep_state["discard_all"][engine_idx].set(discard_all)
|
|
1102
|
+
self.gauge_engine_sleep_state["weights_offloaded"][engine_idx].set(
|
|
1103
|
+
weights_offloaded
|
|
1104
|
+
)
|
|
1105
|
+
self.gauge_engine_sleep_state["awake"][engine_idx].set(awake)
|
|
1106
|
+
|
|
1107
|
+
def log_engine_initialized(self):
|
|
1108
|
+
self.log_metrics_info("cache_config", self.vllm_config.cache_config)
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
PromMetric: TypeAlias = Gauge | Counter | Histogram
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
def make_per_engine(
|
|
1115
|
+
metric: PromMetric, engine_idxs: list[int], model_name: str
|
|
1116
|
+
) -> dict[int, PromMetric]:
|
|
1117
|
+
return {idx: metric.labels(model_name, str(idx)) for idx in engine_idxs}
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
def build_buckets(mantissa_lst: list[int], max_value: int) -> list[int]:
|
|
1121
|
+
"""
|
|
1122
|
+
Builds a list of buckets with increasing powers of 10 multiplied by
|
|
1123
|
+
mantissa values until the value exceeds the specified maximum.
|
|
1124
|
+
|
|
1125
|
+
"""
|
|
1126
|
+
exponent = 0
|
|
1127
|
+
buckets: list[int] = []
|
|
1128
|
+
while True:
|
|
1129
|
+
for m in mantissa_lst:
|
|
1130
|
+
value = m * 10**exponent
|
|
1131
|
+
if value <= max_value:
|
|
1132
|
+
buckets.append(value)
|
|
1133
|
+
else:
|
|
1134
|
+
return buckets
|
|
1135
|
+
exponent += 1
|
|
1136
|
+
|
|
1137
|
+
|
|
1138
|
+
def build_1_2_5_buckets(max_value: int) -> list[int]:
|
|
1139
|
+
"""
|
|
1140
|
+
Example:
|
|
1141
|
+
>>> build_1_2_5_buckets(100)
|
|
1142
|
+
[1, 2, 5, 10, 20, 50, 100]
|
|
1143
|
+
"""
|
|
1144
|
+
return build_buckets([1, 2, 5], max_value)
|
|
1145
|
+
|
|
1146
|
+
|
|
1147
|
+
class StatLoggerManager:
|
|
1148
|
+
"""
|
|
1149
|
+
StatLoggerManager:
|
|
1150
|
+
Logging happens at the level of the EngineCore (per scheduler).
|
|
1151
|
+
* DP: >1 EngineCore per AsyncLLM - loggers for each EngineCore.
|
|
1152
|
+
* With Local Logger, just make N copies for N EngineCores.
|
|
1153
|
+
* With Prometheus, we need a single logger with N "labels"
|
|
1154
|
+
|
|
1155
|
+
This class abstracts away this implementation detail from
|
|
1156
|
+
the AsyncLLM, allowing the AsyncLLM to just call .record()
|
|
1157
|
+
and .log() to a simple interface.
|
|
1158
|
+
"""
|
|
1159
|
+
|
|
1160
|
+
def __init__(
|
|
1161
|
+
self,
|
|
1162
|
+
vllm_config: VllmConfig,
|
|
1163
|
+
engine_idxs: list[int] | None = None,
|
|
1164
|
+
custom_stat_loggers: list[StatLoggerFactory] | None = None,
|
|
1165
|
+
enable_default_loggers: bool = True,
|
|
1166
|
+
aggregate_engine_logging: bool = False,
|
|
1167
|
+
client_count: int = 1,
|
|
1168
|
+
):
|
|
1169
|
+
self.engine_indexes = engine_idxs if engine_idxs else [0]
|
|
1170
|
+
self.stat_loggers: list[AggregateStatLoggerBase] = []
|
|
1171
|
+
stat_logger_factories: list[StatLoggerFactory] = []
|
|
1172
|
+
if custom_stat_loggers is not None:
|
|
1173
|
+
stat_logger_factories.extend(custom_stat_loggers)
|
|
1174
|
+
if enable_default_loggers and logger.isEnabledFor(logging.INFO):
|
|
1175
|
+
if client_count > 1:
|
|
1176
|
+
logger.warning(
|
|
1177
|
+
"AsyncLLM created with api_server_count more than 1; "
|
|
1178
|
+
"disabling stats logging to avoid incomplete stats."
|
|
1179
|
+
)
|
|
1180
|
+
else:
|
|
1181
|
+
default_logger_factory = (
|
|
1182
|
+
AggregatedLoggingStatLogger
|
|
1183
|
+
if aggregate_engine_logging
|
|
1184
|
+
else LoggingStatLogger
|
|
1185
|
+
)
|
|
1186
|
+
stat_logger_factories.append(default_logger_factory)
|
|
1187
|
+
custom_prometheus_logger: bool = False
|
|
1188
|
+
for stat_logger_factory in stat_logger_factories:
|
|
1189
|
+
if isinstance(stat_logger_factory, type) and issubclass(
|
|
1190
|
+
stat_logger_factory, AggregateStatLoggerBase
|
|
1191
|
+
):
|
|
1192
|
+
global_stat_logger = stat_logger_factory(
|
|
1193
|
+
vllm_config=vllm_config,
|
|
1194
|
+
engine_indexes=self.engine_indexes,
|
|
1195
|
+
)
|
|
1196
|
+
if isinstance(global_stat_logger, PrometheusStatLogger):
|
|
1197
|
+
custom_prometheus_logger = True
|
|
1198
|
+
else:
|
|
1199
|
+
# per engine logger
|
|
1200
|
+
global_stat_logger = PerEngineStatLoggerAdapter(
|
|
1201
|
+
vllm_config=vllm_config,
|
|
1202
|
+
engine_indexes=self.engine_indexes,
|
|
1203
|
+
per_engine_stat_logger_factory=stat_logger_factory, # type: ignore[arg-type]
|
|
1204
|
+
)
|
|
1205
|
+
self.stat_loggers.append(global_stat_logger)
|
|
1206
|
+
if not custom_prometheus_logger:
|
|
1207
|
+
self.stat_loggers.append(
|
|
1208
|
+
PrometheusStatLogger(vllm_config, self.engine_indexes)
|
|
1209
|
+
)
|
|
1210
|
+
|
|
1211
|
+
def record(
|
|
1212
|
+
self,
|
|
1213
|
+
scheduler_stats: SchedulerStats | None,
|
|
1214
|
+
iteration_stats: IterationStats | None,
|
|
1215
|
+
mm_cache_stats: MultiModalCacheStats | None = None,
|
|
1216
|
+
engine_idx: int | None = None,
|
|
1217
|
+
):
|
|
1218
|
+
if engine_idx is None:
|
|
1219
|
+
engine_idx = 0
|
|
1220
|
+
for logger in self.stat_loggers:
|
|
1221
|
+
logger.record(
|
|
1222
|
+
scheduler_stats,
|
|
1223
|
+
iteration_stats,
|
|
1224
|
+
mm_cache_stats=mm_cache_stats,
|
|
1225
|
+
engine_idx=engine_idx,
|
|
1226
|
+
)
|
|
1227
|
+
|
|
1228
|
+
def record_sleep_state(self, sleep: int = 0, level: int = 0):
|
|
1229
|
+
for logger in self.stat_loggers:
|
|
1230
|
+
logger.record_sleep_state(sleep, level)
|
|
1231
|
+
|
|
1232
|
+
def log(self):
|
|
1233
|
+
for logger in self.stat_loggers:
|
|
1234
|
+
logger.log()
|
|
1235
|
+
|
|
1236
|
+
def log_engine_initialized(self):
|
|
1237
|
+
for agg_logger in self.stat_loggers:
|
|
1238
|
+
agg_logger.log_engine_initialized()
|