Skip to content

v0.2.0-alpha.7

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 28 Nov 06:39

No migrations. The last fixes from the launch review:

  • Gradiated Cloud training isn't live yet. api.gradiated.com doesn't serve grad's /v1 API
    until its routing lands, and its bare 404 read like a missing resource. All four SDKs and the
    CLI now turn a 404 without a problem code from api.gradiated.com into a feature-unavailable
    error (cloud_training_unavailable, CLI exit 6): "Gradiated Cloud training isn't available
    yet; run grad local up or point at your server with --base-url or GRADIATED_BASE_URL." The
    default base URL is unchanged. The README quickstart and grad --help start a server of your
    own (grad local up, the Docker Hub images, Helm) and say Cloud is coming soon.
  • A run is never billed past its max_cost_usd. The step that carries a run past its cap was
    billed in full; it is now billed only up to the cap. The stop, the resume check and the run's
    tokens_processed and cost_usd are unchanged.
  • A transient error while a claimed run or import is built (storage, KMS, a database
    timeout) requeues the job, spending the attempt, and answers the claim with a 5xx so the
    worker backs off; it used to fail the job for good. An error about the job itself (its dataset
    version, labeling eval, starting artifact, source or secret gone) still fails it at once.
  • docs/CLOUD_MODE.md uses placeholder hosts (https://cloud.example.internal) instead of
    Gradiated's in-cluster Services and routes; the settings and paths grad calls are unchanged.
  • Cloud: a cached API key stops working at its own expires_at, not up to 5 s later.
  • Gradiated Cloud usage export: when billing refuses more than 20 single rows in a tick without
    naming an event_id (an envelope or contract break, not bad rows), the export stops narrowing,
    parks nothing, logs an error and backs off like an ingest outage
    (grad_usage_export_failures_total), instead of parking every row.
  • Gradiated Cloud: the public DELETE /v1/artifacts/{id}/pins/{holder} answers 403
    pin_managed_by_cloud for inference: holders (a published model version's pin), so a
    workspace admin can no longer unpin a live version's artifact and delete it. Only Cloud's
    internal routes remove those pins; self-hosted servers are unchanged.
  • Cloud: a deleted workspace's purge no longer stalls on a dataset that only evals use. A pass
    deleted it while a remaining eval (past the pass's 500-row page, or still running) referenced
    it, so the pass failed on grad_evals_dataset_id_fkey, rolled back and failed the same way
    every minute; the dataset now waits for its evals like it waits for its runs.
  • An artifact upload whose archive is cut off (EOFError or zlib.error mid-stream) fails at once
    with invalid_artifact ("upload: the archive is truncated or corrupt"); it used to crash the
    import worker, retry until max_attempts and fail as "abandoned by its worker".
  • A checkpoint eval that finishes while its run is still training no longer deadlocks the run's
    progress writes (alpha.5's event-ordering lock took the run's rows in the opposite order from
    every other run write; Postgres aborted one side with deadlock detected, a 500 the worker
    retried).
  • grad train --wait | head and other pipes whose reader leaves early no longer panic the CLI
    with exit code 101; grad ignores the closed pipe and exits as it would have (so
    grad ... | grep -q still passes under set -o pipefail).
  • The web console no longer renders a blank page in a browser whose locale Intl rejects
    (Chromium on Linux with LANG unset reports en-US@posix); it falls back to en-US. The
    Datasets empty state points at grad import FILE --dataset NAME (it named
    grad datasets import, which only takes Hugging Face datasets), and the Health page says
    evals run on eval workers.