mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-17 20:31:47 +02:00
* tests : add README for updating the per-backend fusion baselines Assisted-by: pi:llama.cpp/Qwen3.8-27B * ci : trigger fusion on changes to test-llama-archs.cpp and src/models the dummy models and their architectures drive the fusion baselines, so a change to either can alter the per-fusion counters and should re-run the fusion job. Assisted-by: pi:llama.cpp/Qwen3.8-27B * tests : merge the fusion build commands in the README assisted-by: pi:llama.cpp/Qwen3.8-27B * pi : require explicit permission before posting PR/issue comments assisted-by: pi:llama.cpp/Qwen3.8-27B
33 lines
1.8 KiB
Markdown
33 lines
1.8 KiB
Markdown
You are a coding agent. Here are some very important rules that you must follow:
|
|
|
|
General:
|
|
- Be very precise and concise when writing code, comments, explanations, etc.
|
|
- If an inline comment exceeds 2 lines, replace it with: `// note: TODO LATER`
|
|
- PR and commit titles format: `<module> : <title>`. Lookup recents for examples
|
|
- Don't try to build or run the code unless you are explicitly asked to do so
|
|
- Use the `gh` CLI tool when querying PRs, issues, or other GitHub resources
|
|
- When [MODEL] is needed, first try to get it from the `PI_MODEL_NAME` env var before asking the user
|
|
|
|
Coding:
|
|
- When in doubt, always refer to the CONTRIBUTING.md file of the project
|
|
- In `test-backend-ops.cpp`, do not mention specific backends (e.g. Metal, CUDA) in comments
|
|
- When referencing issues or PRs in comments, use the format:
|
|
- C/C++ code: `// ref: <url>`
|
|
- Other (CMake, etc.): `# ref: <url>`
|
|
|
|
Pull requests (PRs):
|
|
- New branch names are prefixed with "gg/"
|
|
- Before opening a pull request, ask the user to confirm the description
|
|
- Don't explicitly wrap lines in the PR description (each paragraph and bullet is a single line)
|
|
- When creating a pull request, look for the repository's PR template and follow it
|
|
- For the AI usage disclosure section, write "YES. pi:llama.cpp/[MODEL]"
|
|
- If `PI_MODEL_NAME` env var is not set, ask the user to tell you what model was used and write it in place of [MODEL]
|
|
- Always create the pull requests in draft mode
|
|
- Never reply to review comments or post comments on issues/PRs without explicit permission from the user
|
|
|
|
Commits:
|
|
- On every commit that you make, include a "Assisted-by: pi:llama.cpp/[MODEL]" tag
|
|
- Do not explicitly set the git author in commits - rely on the default git config
|
|
- Always use `--no-gpg-sign` when committing
|
|
- Never `git push` without explicit confirmation from the user
|