brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
repo-developmentUse when modifying PEFT itself, preparing a PEFT pull request, adding a new PEFT method, selecting contributor tests, or checking PEFT contribution/style/backward-compatibility requirements.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is to edit the PEFT repository or prepare a contribution. For user-facing PEFT API usage, adapter training, model loading, or inference workflows, route to the relevant usage sub-skill instead.
Before drafting a PEFT PR or code patch intended for upstream:
If approval is missing or ambiguous for a new feature, new PEFT method, or existing issue, stop and ask the user to obtain maintainer approval before coding for a PR.
references/contribution-guidance.md for policy, PR hygiene, style, and backward-compatibility rules.references/new-method-checklist.md before writing code.references/test-selection.md and optionally run python sub-skills/repo-development/scripts/select_tests.py --changed-path ... --method ... from a copied skill tree.references/troubleshooting.md.make quality to check and make style to auto-fix style; PEFT expects ruff ~=0.15.12.>=3.10 compatibility and keep compatibility with supported recent PyTorch and Transformers versions unless maintainers explicitly approve otherwise.pip install -e ".[test]"
make quality
make style
pytest tests/test_custom_models.py -k ia3 -v
pytest tests/ -k "lora and not adalora and not randlora" -v
For save/load-sensitive changes, include regression coverage with --regression where relevant. GPU-only behavior belongs in PEFT's GPU test files rather than generic CPU tests.