Guidance for AI coding agents and human contributors working in this repository. For what the project is and how to run it, see README.md and docs/QUICK_START.md; for how the containers fit together, see docs/ARCHITECTURE.md.
Run from the repository root. make help lists every target.
make build ROCM_ARCH=gfx950
make up HF_TOKEN=hf_... NVME_DATA=/path/to/nvme VLLM_MODEL=<model>
make down
make venv # host-side Python environment (.venv)
make list-vars # values make would use on this hostUnit tests:
python3 -m unittest -v tests.test_aic_bake_env tests.test_gen_env_reference tests.test_runtime_defaults- Pins live in
docker/docker-bake.hcl. Change a version there, not in a Dockerfile. AnyARGthe bake file supplies has no default in the Dockerfile. - The README is generated from the pins. Its badges and stack table are
rewritten from the bake file by the
readme-versionspre-commit hook. - Patches are numbered and minimal. Prefer sending fixes upstream; keep local patches small and named for what they fix.
- Install the pre-commit hooks once with
.venv/bin/pre-commit install(aftermake venv). They runshellcheck,hadolint, and regenerate the README versions and docs/ENVIRONMENT.md. - After adding or changing a build or runtime variable, run
make env-docs. - YAML files end in
.yml, except.pre-commit-config.yaml, the only name pre-commit looks for. - Spelling is checked on Markdown. Add legitimate new terms to
.wordlist.txt. - Commits follow Conventional Commits:
type(scope): subject, imperative, 50 characters or fewer. - Do not hard-code cluster details. Slurm/SPUR usage is described in docs/SLURM_SPUR.md; host names, partitions and paths come from variables, not the repository.