microLLM-rocm accepts small changes with explicit contracts and reproducible evidence. A directory existing in the repository does not mean its feature is implemented.
Before editing, read the developer guide, validated build matrix, and repository dependency rules.
Create or reference a task contract using docs/TASK_CONTRACT.md. The contract must identify the observed failure, allowed files, public interface, invariants, reference implementation, tests, and evidence.
basedepends only on the C++ standard library.coremust remain usable in a CPU-only build.- low-level operators accept non-owning views and explicit output/workspace/stream; they do not own Tensor lifetimes.
referencecode never depends on HIP.hip_readableis retained when a tuned implementation is added.- optional bindings cannot become dependencies of the core engine.
- distributed code cannot change single-device numerical semantics.
cmake --preset cpu-sanitize
cmake --build --preset cpu-sanitize --parallel
ctest --preset cpu-sanitize
python3 scripts/audit_test_coverage.pyHIP changes must additionally run the matching hip-labelled CTest tests on a
recorded GPU and ROCm version. Performance changes must include correctness
regression results and raw benchmark metadata.
Operator changes must follow operator development. Performance claims must follow profiling and measurement.
Include:
- the task contract;
- the unproven assumptions found during review;
- commands run and their results;
- one relevant negative or boundary case;
- status/documentation updates if the evidence state changed.