Repository navigation
v0.2.0-alpha.9
Pre-releaseNew 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,splitand--rubricfiles. -
Breaking (evals): a dataset whose
metadata.rubricdoesn'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 addsfla-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): 422model_exceeds_gpu_memory. -
Metrics: a deliberate 501 (
keys_managed_by_cloud,inference_unavailable, secret writes without
GRAD_SECRETS_KEY) is counted asstatus_class="501"and logged atinfo, soGradApiErrorRateHighand the
5xx panels count only real server faults. -
CLI:
grad runs inspectnumbers attempts from 1, like the events and the console;grad train --set
takesPARENT.FIELDfor 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 422unknown_fieldinstead 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'sadapter: {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, suggestsadapter.merge_on_export). Free-form maps stay free-form
(metadata,pricing, score maps, record contents); sourcefiltersare 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 schemasadditionalProperties: false.
The CLI, whose typed requests used to drop such a key before sending, refuses it in run files,splitand
--rubricfiles with the same hint (unknown recipe field 'adapter.merge_on_exprot' (did you mean ...)). -
Python SDK:
sources.update(sample_rate=None)(orversion_interval=None,filters=None) sent a JSON
nullthe server refuses (422);Nonenow keeps those values, like leaving them out.Nonestill clears
the schedule and the record caps. -
CLI:
grad runs exportof an embedding run wroteadapter: {kind: encoder_full}, whichgrad 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.rubricisn't a list of rubric items used to score with
non_emptywithout a word; it now answers 422validation_errornaming the bad field
(Dataset 'x' has a metadata.rubric that isn't ...: metadata.rubric.0.validatr: unknown field ...). An eval
that passes its ownrubricis unaffected. -
Render preview (
POST /v1/datasets/{name}/render,grad render, the console): token counts use the
base's catalogchars_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.