Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/ucm_config_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ ucm_connectors:

load_only_first_rank: false

metrics_config_path: "/vllm-workspace/metrics_config.yaml"
# Enable UCM metrics so they can be monitored online via Grafana and Prometheus.
# metrics_config_path: "/workspace/unified-cache-management/examples/metrics/metrics_configs.yaml"

# Sparse attention configuration
# Format 1: Dictionary format (for methods like ESA, KvComp)
Expand Down
2 changes: 1 addition & 1 deletion ucm/integration/vllm/ucm_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def __init__(self, vllm_config: "VllmConfig", role: KVConnectorRole):
if self.metrics_config:
self.stats_logger = UCMStatsLogger(
vllm_config.model_config.served_model_name,
self.rank,
self.global_rank,
self.metrics_config,
)
self.monitor = ucmmonitor.StatsMonitor.get_instance()
Expand Down