diff --git a/CHANGELOG.md b/CHANGELOG.md index b7fbe3fb..05fd9d60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.48.0 - 2026-11-29 + +- **Worker groups in morca.toml**: a pipeline may declare `[pipelines..groups.]` with `workers`, `gpus`, `cpus` and `memory_gb`, which `register` checks, records and `morca config show` lists, but nothing uses yet; `env` can no longer set `DISTA_TOKEN`, `DISTA_PORT` or `DISTA_GROUP`, and migration 70 is additive. (#606) + +- **GPUs on hosts and in grants**: `morca worker` counts its host's GPUs at start (`MORCA_HOST_GPUS`, else `nvidia-smi`) and reports them, which the host's page shows; on a host with GPUs a run granted none gets `MORCA_GRANT_GPUS` and `CUDA_VISIBLE_DEVICES` empty, `env` can no longer set either, and migration 71 is additive. (#608) + +- **Members by group on pools**: a run of a pool-placed pipeline with worker groups spreads over the pool's advertising workers and gets each group's MAX of members, each started with `DISTA_GROUP` and its group's size and GPUs, with hosts with GPUs kept for the groups that need them; migration 72 is additive. (#609) + +- **Demand per group on pools**: a pool run's members of each kind (no group, and each group) now start at the kind's MIN and grow by its dista head's demand when the head's worker reports it (every `MORCA_SCALE_REPORT_SECONDS`), which changes `workers = "MIN..MAX"` on a pool from asking MAX at once; with reporting off (`0`) or an older head worker a range still asks MAX, and migration 73 is additive. (#610) + +- **Draining members and GPU machines on pools**: a pool run's idle members are now drained mid-run with dista's drain, down to each kind's MIN, a pool's new `gpu_machines` grow and shrink for the groups that ask for GPUs apart from its `machines`, and a host with GPUs defers to one without for `MORCA_GPU_DEFER_SECONDS` (60) at most; migration 74 is additive. (#612) + +- **Worker groups off pools**: the local runner, `control` and Kubernetes start each group's MAX of workers (GPUs from the scheduler's host, or `nvidia.com/gpu` on Kubernetes), every provider builds its dista environment through one contract, and `ec2` warns that it ignores groups. (#613) + ## 0.47.0 - 2026-11-27 - **dista 0.7.0:** morca builds on dista 0.7.0, which adds `rt.wait`, streamed results, worker groups and `dista.flow`; nothing in morca uses them yet. (#605) diff --git a/changes/606-groups-requests.minor.md b/changes/606-groups-requests.minor.md deleted file mode 100644 index 61d68c91..00000000 --- a/changes/606-groups-requests.minor.md +++ /dev/null @@ -1 +0,0 @@ -- **Worker groups in morca.toml**: a pipeline may declare `[pipelines..groups.]` with `workers`, `gpus`, `cpus` and `memory_gb`, which `register` checks, records and `morca config show` lists, but nothing uses yet; `env` can no longer set `DISTA_TOKEN`, `DISTA_PORT` or `DISTA_GROUP`, and migration 70 is additive. (#606) diff --git a/changes/608-gpus-host-grant.minor.md b/changes/608-gpus-host-grant.minor.md deleted file mode 100644 index f9aa7f8d..00000000 --- a/changes/608-gpus-host-grant.minor.md +++ /dev/null @@ -1 +0,0 @@ -- **GPUs on hosts and in grants**: `morca worker` counts its host's GPUs at start (`MORCA_HOST_GPUS`, else `nvidia-smi`) and reports them, which the host's page shows; on a host with GPUs a run granted none gets `MORCA_GRANT_GPUS` and `CUDA_VISIBLE_DEVICES` empty, `env` can no longer set either, and migration 71 is additive. (#608) diff --git a/changes/609-groups-members.minor.md b/changes/609-groups-members.minor.md deleted file mode 100644 index 23087d7f..00000000 --- a/changes/609-groups-members.minor.md +++ /dev/null @@ -1 +0,0 @@ -- **Members by group on pools**: a run of a pool-placed pipeline with worker groups spreads over the pool's advertising workers and gets each group's MAX of members, each started with `DISTA_GROUP` and its group's size and GPUs, with hosts with GPUs kept for the groups that need them; migration 72 is additive. (#609) diff --git a/changes/610-groups-demand.minor.md b/changes/610-groups-demand.minor.md deleted file mode 100644 index 5806b436..00000000 --- a/changes/610-groups-demand.minor.md +++ /dev/null @@ -1 +0,0 @@ -- **Demand per group on pools**: a pool run's members of each kind (no group, and each group) now start at the kind's MIN and grow by its dista head's demand when the head's worker reports it (every `MORCA_SCALE_REPORT_SECONDS`), which changes `workers = "MIN..MAX"` on a pool from asking MAX at once; with reporting off (`0`) or an older head worker a range still asks MAX, and migration 73 is additive. (#610) diff --git a/changes/612-groups-drain.minor.md b/changes/612-groups-drain.minor.md deleted file mode 100644 index f86cfed8..00000000 --- a/changes/612-groups-drain.minor.md +++ /dev/null @@ -1 +0,0 @@ -- **Draining members and GPU machines on pools**: a pool run's idle members are now drained mid-run with dista's drain, down to each kind's MIN, a pool's new `gpu_machines` grow and shrink for the groups that ask for GPUs apart from its `machines`, and a host with GPUs defers to one without for `MORCA_GPU_DEFER_SECONDS` (60) at most; migration 74 is additive. (#612) diff --git a/changes/613-groups-providers.minor.md b/changes/613-groups-providers.minor.md deleted file mode 100644 index 644b43b4..00000000 --- a/changes/613-groups-providers.minor.md +++ /dev/null @@ -1 +0,0 @@ -- **Worker groups off pools**: the local runner, `control` and Kubernetes start each group's MAX of workers (GPUs from the scheduler's host, or `nvidia.com/gpu` on Kubernetes), every provider builds its dista environment through one contract, and `ec2` warns that it ignores groups. (#613) diff --git a/pixi.toml b/pixi.toml index 6b514abc..e09531a2 100644 --- a/pixi.toml +++ b/pixi.toml @@ -2,7 +2,7 @@ authors = ["Marius S <39998+winding-lines@users.noreply.github.com>"] channels = ["https://conda.modular.com/max-nightly", "conda-forge"] name = "morca" -version = "0.47.0" +version = "0.48.0" description = "Orchestration for Mojo data pipelines: DAGs in Mojo, cron schedules, a web UI." preview = ["pixi-build"] platforms = ["osx-arm64", "linux-64", "linux-aarch64"] @@ -46,7 +46,7 @@ sqlite = ">=3.45,<4" # revisions mojoshelf published of what it imports. [package] name = "morca-mojo" -version = "0.47.0" +version = "0.48.0" [package.build] backend = { name = "pixi-build-mojo", version = "0.*" } diff --git a/shelf.toml b/shelf.toml index 90e9750f..be6dd154 100644 --- a/shelf.toml +++ b/shelf.toml @@ -1,5 +1,5 @@ name = "morca-mojo" -version = "0.47.0" +version = "0.48.0" description = "Orchestration for Mojo data pipelines: DAGs checked at compile time, cron and keyed partitions, sensors and lineage over Iceberg, runs recorded in Postgres or a SQLite file, each run on its own dista cluster locally, on Kubernetes or on EC2, and a web UI" tags = ["orchestration", "pipelines", "scheduler", "dag", "iceberg", "kubernetes", "aws", "magmalake"] # other tins this one depends on; omit if none diff --git a/src/morca/_internal/version.mojo b/src/morca/_internal/version.mojo index d2d2a7ed..9dca5601 100644 --- a/src/morca/_internal/version.mojo +++ b/src/morca/_internal/version.mojo @@ -18,7 +18,7 @@ and no `"morca"`; `morca register` refuses a protocol it doesn't speak. from std.os import getenv from json import Value, loads -comptime MORCA_VERSION = "0.47.0" +comptime MORCA_VERSION = "0.48.0" """morca-mojo's version: pixi.toml's `[package] version`.""" comptime PROTOCOL_VERSION = 1