-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (18 loc) · 739 Bytes
/
Copy pathMakefile
File metadata and controls
25 lines (18 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.PHONY: setup lint fmt test serve capture events
setup: ## venv with base + dev deps (no heavy extras)
uv venv
uv pip install -e '.[dev]'
lint: ## ruff lint + format check
uv run --no-sync ruff check .
uv run --no-sync ruff format --check .
fmt: ## auto-fix + format
uv run --no-sync ruff check --fix .
uv run --no-sync ruff format .
test: ## run tests
uv run --no-sync pytest
serve: ## serve the static viz at http://localhost:8000
uv run --no-sync kvlens serve
capture: ## regenerate web/run.json (needs the vLLM simulate-forward build; see README)
uv run --no-sync kvlens capture
events: ## regenerate web/kv_events.json (needs the vLLM simulate-forward build; see README)
uv run --no-sync kvlens events