Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.
Python cliconsumer-gpudpofine-tuningggufhuggingfacellmllmopslocal-ailocal-llmloralow-vrammachine-learningollamapeftpythonpytorchqlorasfttransformers
docs(contributing): rate issues 1-10 with difficulty labels; issue forms ask for a suggested level (#1669)
Alpamys Makazhan874c506b2dbf
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlindex fff5c060..014f3ad9 100644--- a/.github/ISSUE_TEMPLATE/bug_report.yml+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -7,6 +7,14 @@ body:value: |Thanks for reporting a bug! Please fill out the sections below.+ - type: markdown+ attributes:+ value: |+ Maintainers rate every confirmed issue from 1 to 10 (`difficulty:N`) to help contributors+ choose. How it works: [docs/issue-difficulty.md](https://github.com/MakazhanAlpamys/Soup/blob/main/docs/issue-difficulty.md).+ Please search first, and keep to one defect per issue. Security problems: do NOT open an+ issue; see [SECURITY.md](https://github.com/MakazhanAlpamys/Soup/blob/main/SECURITY.md).+- type: textareaid: descriptionattributes:@@ -49,3 +57,22 @@ body:render: shellvalidations:required: true++ - type: dropdown+ id: suggested_difficulty+ attributes:+ label: Suggested difficulty (optional)+ description: Your guess at how hard the fix is. A maintainer sets the final number.+ options:+ - "Not sure"+ - "1 - wording or one-line fix"+ - "2 - one file, fix is clear"+ - "3 - one module, small change"+ - "4 - a few files, existing pattern"+ - "5 - needs understanding a pipeline"+ - "6 - several tasks or backends"+ - "7 - new mechanism, needs a measurement"+ - "8 - cause unknown or hard to reproduce"+ - "9 - new subsystem or needs special hardware"+ - "10 - research-grade"+ default: 0diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.ymlindex 5b96621e..f2bdaa49 100644--- a/.github/ISSUE_TEMPLATE/config.yml+++ b/.github/ISSUE_TEMPLATE/config.yml@@ -1,5 +1,8 @@-blank_issues_enabled: true+blank_issues_enabled: falsecontact_links:- name: Question / Discussionurl: https://github.com/MakazhanAlpamys/Soup/discussionsabout: Ask questions or start a discussion+ - name: Report a security vulnerability (private)+ url: https://github.com/MakazhanAlpamys/Soup/security/advisories/new+ about: Do not open a public issue for a vulnerability.diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.ymlindex 732d3729..c127eb81 100644--- a/.github/ISSUE_TEMPLATE/feature_request.yml+++ b/.github/ISSUE_TEMPLATE/feature_request.yml@@ -7,6 +7,13 @@ body:value: |Have an idea for Soup? We'd love to hear it!+ - type: markdown+ attributes:+ value: |+ Maintainers rate every confirmed issue from 1 to 10 (`difficulty:N`) to help contributors+ choose. How it works: [docs/issue-difficulty.md](https://github.com/MakazhanAlpamys/Soup/blob/main/docs/issue-difficulty.md).+ Please search existing issues first.+- type: textareaid: problemattributes:@@ -42,3 +49,22 @@ body:- Othervalidations:required: true++ - type: dropdown+ id: suggested_difficulty+ attributes:+ label: Suggested difficulty (optional)+ description: Your guess at how hard this is to build. A maintainer sets the final number.+ options:+ - "Not sure"+ - "1 - wording or one-line fix"+ - "2 - one file, fix is clear"+ - "3 - one module, small change"+ - "4 - a few files, existing pattern"+ - "5 - needs understanding a pipeline"+ - "6 - several tasks or backends"+ - "7 - new mechanism, needs a measurement"+ - "8 - cause unknown or hard to reproduce"+ - "9 - new subsystem or needs special hardware"+ - "10 - research-grade"+ default: 0diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex f839499a..1a8d7ce7 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -382,6 +382,13 @@ released as a penalty.- **Full CI.** The full test matrix runs when a maintainer adds the `ci:full` label to apull request that is ready to merge, not on every push; other pushes run a quick subset.+### Issue difficulty++Maintainers rate every triaged issue from 1 to 10 with a `difficulty:N` label, so you can pick+something that fits your time and experience. How the number is chosen and what each level+means is in [docs/issue-difficulty.md](docs/issue-difficulty.md). When you open an issue you+can suggest a difficulty in the form; the maintainer sets the final one.+## Making Changes### 1. Create a Branchdiff --git a/docs/README.md b/docs/README.mdindex c280aec2..90996a3d 100644--- a/docs/README.md+++ b/docs/README.md@@ -19,6 +19,7 @@ feature reference — every `soup` capability, grouped by area.| [Backends, platform & ops](backends-and-ops.md) | MLX/Unsloth backends, Modal cloud GPU training, alternative hubs, HF Hub integration, autopilot, experiment tracking, plan/apply, env lockfiles, hardware-fit, completions, plugins, utility commands || [Command reference](commands.md) | The full `soup` command list || [Supported models & extras](models.md) | Recommended model families, the VRAM size guide, the pip extras matrix |+| [Issue difficulty](issue-difficulty.md) | How issues are rated 1-10 and what each level means |> Per-release notes live on the [GitHub Releases](https://github.com/MakazhanAlpamys/Soup/releases)> page; see also the repo-root [CHANGELOG.md](../CHANGELOG.md).diff --git a/docs/issue-difficulty.md b/docs/issue-difficulty.mdnew file mode 100644index 00000000..fc26f69e--- /dev/null+++ b/docs/issue-difficulty.md@@ -0,0 +1,44 @@+# Issue difficulty++To help you pick an issue that fits your time and experience, every triaged issue carries one+label from `difficulty:1` to `difficulty:10`.++It estimates how much work and risk the fix carries. It is **not** a statement about how+important the bug is.++A difficulty label also means a maintainer has looked at the issue and confirmed it. An issue+with no difficulty label is not triaged yet. Duplicates, trackers, questions and issues closed+as not planned carry none.++Issues closed before this system existed were rated afterwards, from the pull request that+closed them, so those older labels are approximate. A label is an estimate: when a label and+the table below disagree, the table is the definition and the label gets fixed.++## What the numbers mean++| Level | What it looks like | Example |+|---|---|---|+| 1 | Wording, a typo or a one-line fix. No new logic. | #1611, #1642 |+| 2 | One non-test file, under about 15 changed lines; the issue spells the fix out; one test. | #1641 |+| 3 | One non-test file, up to about 50 changed lines; tests run on CPU without torch. | #1598 |+| 4 | Two to four source files in one subsystem, following a pattern that already exists; tests run on CPU without torch. | #1596 |+| 5 | Five or more source files, or a trainer, or the config schema; tests need torch. | #1345 |+| 6 | Several tasks, trainers or backends at once, or non-trivial numerics; each affected one needs its own regression test. | #805 |+| 7 | A new mechanism or a deep change to a core path (trainer internals, layer streaming, the data pipeline); proving it takes a measurement. | #1425 |+| 8 | The cause is not known yet or is hard to reproduce, or the result must be bit-exact. | #342 |+| 9 | A new subsystem, or support for several model families at once. | #265 |+| 10 | Research-grade: hand-written kernels or backward passes with a numerical gate. Rare; most hard work stops at 8 or 9. | #792 |++## Special hardware++If the fix cannot be verified without special hardware or a paid service (a large GPU, several+GPUs, a paid cloud), add 3 levels to what the work itself would get, up to 10. A one-module+change that can only be checked on an H100 is level 6, not level 9. Say so in your claim, as+[CONTRIBUTING.md](../CONTRIBUTING.md) asks.++Disagree with a number? Say so in the issue thread and give the reason; we will look again.++## Opening an issue++The issue form has an optional "Suggested difficulty" field. Your guess helps, and a maintainer+sets the final label. Please search first, and keep to one defect per issue.