Files
ClaudeandClaude Opus 5.5 976a8b40e5
ci / check (push) Successful in 11s
Multi-GPU recipes and mixed setups
Several of one GPU: <gpu>/<model>/<N>x-<engine>-<profile>.md with gpus,
tp and pp (tp × pp = gpus) and a declared PCIe topology. Different GPUs:
mixed/<setup>/, named after its cards, with the same layout as a GPU
folder and a generated mixed/README.md. Runs must sit in their recipe's
setup folder. Energy, and bandwidth for pipeline parallel or mixed, are
left out where bench-standard measures one GPU only; docs/
bench-standard-gaps.md lists those gaps for the benchmarks repo. The
wanted lists take the fewest of one GPU a model fits in.

Demo: 2x Arc B580 with vLLM TP 2 and llama.cpp layer split for
Qwen3.8-27B, -sm row as what lost, and Arc Pro B60 + Arc B580 mixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 18:59:51 +01:00

52 lines
2.8 KiB
Markdown

# AGENTS.md
Instructions for a coding agent working in the Arc LLM Cookbook. The human guide is
[CONTRIBUTING.md](CONTRIBUTING.md). Benchmarks run with bench-standard; follow **its**
[AGENTS.md](https://git.linxweiler.xyz/miga/benchmarks/src/branch/main/AGENTS.md) for
every benchmark step. This file covers only what the cookbook adds.
There are two jobs. Ask your human which one, if it isn't clear.
## A. Set up a recipe for your human
1. Find the GPU: `xpu-smi discovery` or `lspci | grep -i vga`. The cookbook covers
Intel Arc only. Open that GPU's folder from the index in [README.md](README.md),
and pick the recipe in its README by model and profile. ★ marks the fastest. Ask
which profile if unsure: one user → `single-user`, several users or agents →
`throughput`.
2. Check the host against [docs/host-setup.md](docs/host-setup.md). Changing
groups, BIOS or power limits is your human's call: tell them, don't do it.
3. Download the model as the recipe says and **check the hash**.
4. Run the launch command **unchanged**. Ask before stopping another server on the GPU.
5. Run the recipe's "Check it" request, then tell your human the endpoint and model ID.
6. Offer to benchmark it (job B): that makes the recipe verified.
## B. Contribute a run
1. Start the server with the recipe's launch command (or the variant you test). Write
that exact command to `server-cmd.txt`.
2. Benchmark with bench.sh, following its AGENTS.md: dry run, quick run, then `--full`
only after your human agrees. Use the bench.sh command in the recipe's numbers
block. Its declared values are the recipe's.
With several GPUs: read every card's PCIe link (docs/host-setup.md, "Several GPUs")
and pass all of them in `--special-notes`.
3. Copy the result folder into `<gpu>/results/` (or `mixed/<setup>/results/`) **unchanged**.
4. Then one of:
- **Reproduction:** append the folder name to the recipe's `results`.
- **A variant that lost:** add a `[[tried]]` entry to `<gpu>/<model>/tried.md`.
- **A variant that won (a `--full` run):** follow CONTRIBUTING.md, "Find something
faster". Show your human the comparison before changing a recipe.
5. Run `python3 tools/cookbook.py build`, then `validate`. Fix every error. Don't
silence one by editing results or `cookbook.toml`.
6. Report: the result folder, the headline number against the recipe's, the warnings,
and what goes in the pull request.
## Rules
- **Never edit a result folder**, and never type numbers into a recipe or tried log.
- **Never change a recipe's launch command** without a `--full` run that shows it's faster.
- **Change one thing per variant**, so the result says what made the difference.
- **Ask before** `--full` runs, before restarting or stopping a server, and before
committing or pushing.
- Check `server-cmd.txt` for private paths or host names, and tell your human what you saw.