-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
47 lines (34 loc) · 961 Bytes
/
Copy pathjustfile
File metadata and controls
47 lines (34 loc) · 961 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
default:
@just --list
install:
@uv sync --all-extras
ci:
@uv run ruff format .
@uv run ruff check . --fix
@uv run ruff check .
@uv run pyright
@uv run pytest tests/ -q
lint:
@uv run ruff check .
format:
@uv run ruff format .
fix:
@uv run ruff check . --fix --unsafe-fixes
test:
@uv run pytest tests/
cov:
@uv run pytest --cov=src tests/
clean:
@rm -rf .pytest_cache .ruff_cache __pycache__ .venv out/smoke_* out/*.pt
@find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
@find . -type d -name ".pytest_cache" -exec rm -rf {} + 2>/dev/null || true
prepare-tinystories:
uv run python -m foundry.data.prepare
train-micro:
uv run python -m foundry.train experiments/micro.yaml
train-baseline:
uv run python -m foundry.train experiments/baseline.yaml
commits:
@git --no-pager log --pretty=format:"%h | %ar | %s"
health:
@uv run python -m foundry.health