Skip to content

v0.2.0-alpha.9

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 28 Nov 20:31
· 271 commits to main since this release

New training bases (the current Qwen range and Gemma 4, GPU-tested) and strict request bodies. No database
migration since alpha.8. Before upgrading, note:

  • Breaking (API): every public request body refuses an unknown field with 422 unknown_field (worker
    endpoints don't), and the CLI refuses unknown keys in run, split and --rubric files.

  • Breaking (evals): a dataset whose metadata.rubric doesn't parse answers 422 instead of scoring with
    non_empty.

  • New trainable bases (SFT and DPO with LoRA, one 80 GB GPU): Qwen3.5 0.8B, 2B, 4B and 9B,
    Qwen3.8-27B, Qwen3.6-35B-A3B, and Gemma 4 E2B, E4B, 12B and 26B-A4B; Gemma-4-31B is eval-only (it peaks
    at 73.5 GiB training). Every one trained end to end on an H100 and its adapter loaded and generated in PEFT
    and vLLM 0.34. The checkpoints are multimodal; only the language model is trained, so adapters load on the
    published checkpoints. Five new chat templates render byte for byte like the official ones in both the
    trainer and the render preview (80 shared cases). Qwen3.5+ trains one example per row (their linear-attention
    layers carry state, so packing would leak between examples); Gemma 4 keeps its per-layer sliding windows and
    logit soft cap. The GPU image adds fla-core (Qwen3.5-4B: 3,459 to 7,039 tokens/s; its kernels compile on a
    node's first run and are cached in the model cache). Importing your own LoRA for these bases is still
    refused. Prices for them are placeholders on the Qwen3 size curve.

  • Plans refuse runs needing more than 79 GB of GPU memory (an "80 GB" H100 reports 79.6 GB to a claim, so
    such a run used to queue forever): 422 model_exceeds_gpu_memory.

  • Metrics: a deliberate 501 (keys_managed_by_cloud, inference_unavailable, secret writes without
    GRAD_SECRETS_KEY) is counted as status_class="501" and logged at info, so GradApiErrorRateHigh and the
    5xx panels count only real server faults.

  • CLI: grad runs inspect numbers attempts from 1, like the events and the console; grad train --set
    takes PARENT.FIELD for any nested recipe field (--set adapter.merge_on_export=true), checked against the
    recipe schema, and a bare nested name suggests its parent.

  • Dev dependencies: vitest 4.1.12 (GHSA fixes in @vitest/mocker; nothing shipped used it).

  • Breaking (API): request bodies are strict. Every public request body refuses a field it doesn't declare
    with 422 unknown_field instead of dropping it: run and eval plan/create (the recipe and everything nested
    in it), dataset create, push, render, filter and score, imports, uploads, sources, secrets, keys, artifact
    imports, resume and promote. A typo such as a run file's adapter: {merge_on_exprot: true} used to train with
    the default; now the detail names the JSON path and the field it most likely meant:
    recipe.adapter.merge_on_exprot: unknown field (did you mean 'merge_on_export'?) (a nested field set one level
    too high, recipe.merge_on_export, suggests adapter.merge_on_export). Free-form maps stay free-form
    (metadata, pricing, score maps, record contents); source filters are still checked per provider and an
    unknown one now gets the same hint. Worker endpoints (/v1/trainer-jobs/*) still ignore unknown fields, so
    workers and servers can roll out in either order. The spec marks these schemas additionalProperties: false.
    The CLI, whose typed requests used to drop such a key before sending, refuses it in run files, split and
    --rubric files with the same hint (unknown recipe field 'adapter.merge_on_exprot' (did you mean ...)).

  • Python SDK: sources.update(sample_rate=None) (or version_interval=None, filters=None) sent a JSON
    null the server refuses (422); None now keeps those values, like leaving them out. None still clears
    the schedule and the record caps.

  • CLI: grad runs export of an embedding run wrote adapter: {kind: encoder_full}, which grad train -f
    refused (422); the export leaves it out. A shared fixture now exports every recipe kind's resolved config
    and re-plans it to the same config.

  • Evals: an eval on a dataset whose metadata.rubric isn't a list of rubric items used to score with
    non_empty without a word; it now answers 422 validation_error naming the bad field
    (Dataset 'x' has a metadata.rubric that isn't ...: metadata.rubric.0.validatr: unknown field ...). An eval
    that passes its own rubric is unaffected.

  • Render preview (POST /v1/datasets/{name}/render, grad render, the console): token counts use the
    base's catalog chars_per_token, as run plans do, instead of 4 for every base. The Qwen3.5/3.6/3.8 and
    Gemma 4 bases (4.5) used to read about 12% higher in a render than in the plan.