-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
83 lines (64 loc) · 2.48 KB
/
Copy pathMakefile
File metadata and controls
83 lines (64 loc) · 2.48 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
.PHONY: help install doctor test dryrun flagship flagship-live broad status quickstart init data validate lint clean dashboard demo recipes eval
PYTHON ?= .venv/bin/python
PIP ?= .venv/bin/pip
help:
@echo "AetherForge targets:"
@echo " make install - venv + editable install with dev deps"
@echo " make doctor - dependency check (use: aetherforge doctor --human)"
@echo " make status - dashboard / Vast / Flash / next steps"
@echo " make quickstart - doctor + dry-run in one shot"
@echo " make recipes - list named --recipe presets"
@echo " make test - unit + integration tests"
@echo " make dryrun - smoke dry-run (recipe: dryrun)"
@echo " make broad - Flash BROAD multi-sector dry-run"
@echo " make flagship - logistics A3B flagship dry-run"
@echo " make flagship-live - flagship live train (needs GPU)"
@echo " make dashboard - Training Console"
@echo " make data - DataForge for example logistics domain"
@echo " make validate - config schema check"
@echo " make eval - pack-driven eval harness (dry-run)"
@echo " make demo - capture README/HF screenshots + gif/webm"
@echo " make clean - remove artifacts and caches"
install:
python3 -m venv .venv
$(PIP) install -U pip
$(PIP) install -e ".[dev]"
doctor:
$(PYTHON) -m aetherforge.cli doctor --human
status:
$(PYTHON) -m aetherforge.cli status
recipes:
$(PYTHON) -m aetherforge.cli recipes
quickstart:
$(PYTHON) -m aetherforge.cli quickstart
test:
$(PYTHON) -m pytest tests/ -q --tb=short
dryrun:
$(PYTHON) -m aetherforge.cli train --recipe dryrun --dry-run --quiet
broad:
$(PYTHON) -m aetherforge.cli train --recipe broad-flash --dry-run --quiet
flagship:
bash scripts/run_flagship.sh dry-run
flagship-live:
bash scripts/run_flagship.sh live
dashboard:
$(PYTHON) -m aetherforge.cli dashboard --port 8765
demo:
bash scripts/capture_demo.sh nexus
data:
$(PYTHON) -m aetherforge.cli data \
-c configs/base.yaml \
-c configs/domains/example_logistics.yaml \
--output artifacts/data/logistics \
-o data.synthetic.num_samples=128
validate:
$(PYTHON) -m aetherforge.cli validate \
-c configs/base.yaml \
-c configs/domains/example_logistics.yaml
eval:
$(PYTHON) -m aetherforge.cli eval --recipe dryrun --dry-run
lint:
$(PYTHON) -m ruff check aetherforge tests || true
clean:
rm -rf artifacts/runs artifacts/data .pytest_cache
find . -type d -name __pycache__ -not -path './.venv/*' -exec rm -rf {} + 2>/dev/null || true