Repository navigation
Update CLI command name to 'continuum' - #19
Merged
Merged
Conversation
joelteply
added a commit
that referenced
this pull request
Nov 30, 2025
joelteply
added a commit
that referenced
this pull request
Nov 30, 2025
Update CLI command name to 'continuum'
joelteply
added a commit
that referenced
this pull request
Jul 26, 2026
…oE-paged K3 on-ramp
The RESOLUTION half of catalog = f(system × storage × grid): given a SystemProfile
(and the grid), resolve WHERE a model runs — and when it doesn't fit at full fidelity
here, resolve it DOWN (grid node / smaller variant) rather than EXCLUDING it. There is
deliberately no `Excluded` variant — storage and grid are RESOLUTION FIELDS, never
gates (solve-for-public-users; the default works on any laptop).
Reuses the fit primitives, never re-derives them:
- SystemProfile::serving_budget_bytes (the one 0.80 vram_headroom via host_budget_from)
- footprint_for (Model → ModelFootprint, GGUF-on-disk → size)
- plan_serving (the honest fits_on_gpu oracle)
Resolutions: LocalRecommended | NeedsProvisioning{to_cold_tier} | MoePaged | GridRouted
| Degraded.
MoePaged is the K3 on-ramp: an MoE model too big to fit WHOLE in VRAM still serves
LOCALLY by freezing its experts on the cold drive (TierRole::Frozen) and paging the hot
subset (PageKind::MoEExpert over ArtifactSource::Mapped, sentinel-PGO subset) — a 594GB
model "fits" a 32GB GPU by residency, not by shrinking. Preferred over grid/degrade when
a cold tier exists (local frontier intelligence, no cloud).
MoE-ness is GGUF-derived (an `is_moe` input the caller reads via locate_layer_sets /
{arch}.expert_count at the header-loading site), NOT a hand-authored Model field — per
the catalog's "ask the GGUF" discipline, and avoiding an 11-site churn across the core
Model struct (M5's option B, three doctrines aligned). Pure `resolve_from_footprint`
core is fully unit-tested (never-exclude invariant: a laptop and a workstation resolve
the SAME oversized model, one degrades, MoE pages locally when a cold tier exists —
neither is ever excluded).
Completes slice 1 of #19 (SystemProfile + PlacementPlanner + MoE resolution).
Validated via cargo build --lib on windows-msvc; tests run in CI (Linux).
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply
added a commit
that referenced
this pull request
Jul 26, 2026
…storage × grid)
ONE measured descriptor of what THIS box can do, so the model catalog can resolve
its offering against reality instead of a static list. Composes existing primitives
(never re-measures what another module owns):
- HardwareClass (boot silicon/VRAM/RAM classifier, via probe_hardware_profile +
classify_hardware)
- live DeviceCapacity (free GPU/RAM now)
- the serving budget via host_budget_from — REUSES the one SERVING_BUDGET_FRACTION
(0.80), reads no config itself, so it inherits that single source and adds nothing
to the config_env sprawl
- detected drives, auto-flagging the big offload drive as the COLD/frozen tier
(the "recognize the storage" primitive — retires hand-placing model files)
Storage (and, via the GridSnapshot seam, the grid) is a RESOLUTION FIELD, never a
GATE: a huge cold drive RECOMMENDS the full experience (big models / MoE expert sets
frozen on it); its absence DEGRADES (smaller quant / dense student / grid route) —
it never EXCLUDES a user (solve-for-public-users, default works on any laptop).
Pure `from_parts` core is the outlier-validation seam; tests assert a Blackwell-5090-
with-16TB profile and a no-cold-drive laptop resolve UP vs DOWN (never one excluded),
the 0.80 headroom is applied to the VRAM ceiling, and UMA budgets from the RAM slice.
Slice 1 of #19; PlacementPlanner + the first MoE catalog entry land next on top.
(cargo test harness doesn't build on windows-msvc — pre-existing Unix-socket cfg gap;
validated via cargo build --lib here, tests run in CI.)
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply
added a commit
that referenced
this pull request
Jul 26, 2026
…oE-paged K3 on-ramp
The RESOLUTION half of catalog = f(system × storage × grid): given a SystemProfile
(and the grid), resolve WHERE a model runs — and when it doesn't fit at full fidelity
here, resolve it DOWN (grid node / smaller variant) rather than EXCLUDING it. There is
deliberately no `Excluded` variant — storage and grid are RESOLUTION FIELDS, never
gates (solve-for-public-users; the default works on any laptop).
Reuses the fit primitives, never re-derives them:
- SystemProfile::serving_budget_bytes (the one 0.80 vram_headroom via host_budget_from)
- footprint_for (Model → ModelFootprint, GGUF-on-disk → size)
- plan_serving (the honest fits_on_gpu oracle)
Resolutions: LocalRecommended | NeedsProvisioning{to_cold_tier} | MoePaged | GridRouted
| Degraded.
MoePaged is the K3 on-ramp: an MoE model too big to fit WHOLE in VRAM still serves
LOCALLY by freezing its experts on the cold drive (TierRole::Frozen) and paging the hot
subset (PageKind::MoEExpert over ArtifactSource::Mapped, sentinel-PGO subset) — a 594GB
model "fits" a 32GB GPU by residency, not by shrinking. Preferred over grid/degrade when
a cold tier exists (local frontier intelligence, no cloud).
MoE-ness is GGUF-derived (an `is_moe` input the caller reads via locate_layer_sets /
{arch}.expert_count at the header-loading site), NOT a hand-authored Model field — per
the catalog's "ask the GGUF" discipline, and avoiding an 11-site churn across the core
Model struct (M5's option B, three doctrines aligned). Pure `resolve_from_footprint`
core is fully unit-tested (never-exclude invariant: a laptop and a workstation resolve
the SAME oversized model, one degrades, MoE pages locally when a cold tier exists —
neither is ever excluded).
Completes slice 1 of #19 (SystemProfile + PlacementPlanner + MoE resolution).
Validated via cargo build --lib on windows-msvc; tests run in CI (Linux).
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply
added a commit
that referenced
this pull request
Jul 26, 2026
… MoE-paged K3 on-ramp (slice 1 of #19) (#2018) * feat(capacity): SystemProfile — the keystone of catalog = f(system × storage × grid) ONE measured descriptor of what THIS box can do, so the model catalog can resolve its offering against reality instead of a static list. Composes existing primitives (never re-measures what another module owns): - HardwareClass (boot silicon/VRAM/RAM classifier, via probe_hardware_profile + classify_hardware) - live DeviceCapacity (free GPU/RAM now) - the serving budget via host_budget_from — REUSES the one SERVING_BUDGET_FRACTION (0.80), reads no config itself, so it inherits that single source and adds nothing to the config_env sprawl - detected drives, auto-flagging the big offload drive as the COLD/frozen tier (the "recognize the storage" primitive — retires hand-placing model files) Storage (and, via the GridSnapshot seam, the grid) is a RESOLUTION FIELD, never a GATE: a huge cold drive RECOMMENDS the full experience (big models / MoE expert sets frozen on it); its absence DEGRADES (smaller quant / dense student / grid route) — it never EXCLUDES a user (solve-for-public-users, default works on any laptop). Pure `from_parts` core is the outlier-validation seam; tests assert a Blackwell-5090- with-16TB profile and a no-cold-drive laptop resolve UP vs DOWN (never one excluded), the 0.80 headroom is applied to the VRAM ceiling, and UMA budgets from the RAM slice. Slice 1 of #19; PlacementPlanner + the first MoE catalog entry land next on top. (cargo test harness doesn't build on windows-msvc — pre-existing Unix-socket cfg gap; validated via cargo build --lib here, tests run in CI.) Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc * feat(provisioning): PlacementPlanner — the never-exclude resolver + MoE-paged K3 on-ramp The RESOLUTION half of catalog = f(system × storage × grid): given a SystemProfile (and the grid), resolve WHERE a model runs — and when it doesn't fit at full fidelity here, resolve it DOWN (grid node / smaller variant) rather than EXCLUDING it. There is deliberately no `Excluded` variant — storage and grid are RESOLUTION FIELDS, never gates (solve-for-public-users; the default works on any laptop). Reuses the fit primitives, never re-derives them: - SystemProfile::serving_budget_bytes (the one 0.80 vram_headroom via host_budget_from) - footprint_for (Model → ModelFootprint, GGUF-on-disk → size) - plan_serving (the honest fits_on_gpu oracle) Resolutions: LocalRecommended | NeedsProvisioning{to_cold_tier} | MoePaged | GridRouted | Degraded. MoePaged is the K3 on-ramp: an MoE model too big to fit WHOLE in VRAM still serves LOCALLY by freezing its experts on the cold drive (TierRole::Frozen) and paging the hot subset (PageKind::MoEExpert over ArtifactSource::Mapped, sentinel-PGO subset) — a 594GB model "fits" a 32GB GPU by residency, not by shrinking. Preferred over grid/degrade when a cold tier exists (local frontier intelligence, no cloud). MoE-ness is GGUF-derived (an `is_moe` input the caller reads via locate_layer_sets / {arch}.expert_count at the header-loading site), NOT a hand-authored Model field — per the catalog's "ask the GGUF" discipline, and avoiding an 11-site churn across the core Model struct (M5's option B, three doctrines aligned). Pure `resolve_from_footprint` core is fully unit-tested (never-exclude invariant: a laptop and a workstation resolve the SAME oversized model, one degrades, MoE pages locally when a cold tier exists — neither is ever excluded). Completes slice 1 of #19 (SystemProfile + PlacementPlanner + MoE resolution). Validated via cargo build --lib on windows-msvc; tests run in CI (Linux). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc * feat(provisioning): grid_has_fit — the grid verdict is a per-node fit, never a pool Replaces the caller-passed `grid_has_fit: bool` stub with a real derivation from a live GridSnapshot. resolve_placement now takes `grid: Option<&GridSnapshot>` and computes the verdict via grid_has_fit(snapshot, footprint). grid_has_fit tests each REACHABLE peer with the SAME plan_serving oracle used locally, against that peer's own live-free VRAM — honoring the GridSnapshot doctrine "sum of per-node FITS, never an aggregate pool": two 20 GiB peers do NOT fit a 40 GiB model, an unreachable peer that would fit is a memory not an offer, and a peer that could only CPU-spill (fits_on_gpu = false) does not count. So the grid resolves a model to a node that can actually GPU-serve it, or it degrades — it never routes to a node that can't. Same fit oracle for local and grid = one definition of "fits", no drift. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc --------- Co-authored-by: Claude Opus 4.8 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Aug 31, 2026
…eleted The fixed 'positron: state feed reconnecting … [object Event] — retry #19' bar is gone. Three tiers now: orb color for humans (green breathing live / amber pulse reconnecting / red closed), tinted favicon for the tab at a glance, console for engineer detail; the data-feed-status harness contract is unchanged. StateConnection names a WS error honestly (the browser withholds the reason by spec). Plus docs/design/CONTINUON-THE-HAND.md — Joel's brief, verbatim: the HAL-9000 centered heritage and the HAND (tutorial-style sweeps when a citizen screenshots/clicks through positronic control). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Sep 27, 2026
…rain cancel, parse_special, and the init file removed once loaded) Cormac's condition on this PR: at 66035e261 every /train run left <out>.init.gguf in engine-train, which the eviction rule (only <uuid>.gguf) does not name. #19 removes it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply
added a commit
that referenced
this pull request
Sep 27, 2026
…rain cancel, parse_special, and the init file removed once loaded) Cormac's condition on this PR: at 66035e261 every /train run left <out>.init.gguf in engine-train, which the eviction rule (only <uuid>.gguf) does not name. #19 removes it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply
added a commit
that referenced
this pull request
Sep 27, 2026
… the engine's /train writes into; pin ca001c551 (fork #19) (#4438) * feat(serving): every lane launches with --train-dir, the governed dir the engine's /train writes adapters into The pinned fork (66035e261) serves POST /train: LoRA-only training on the weights the lane already holds, in a second context beside the slots, yielding between batches while any slot is busy. The route is refused unless the lane passes --train-dir, and it writes only bare .gguf names inside that directory. This turns it on, pointed at one governed directory. - lane_args: LaneOptions.train_dir -> one `--train-dir <dir>` pair; None = no flag. - llama_server: engine_train_dir() = ~/.continuum/cache/engine-train (None without a home, never a temp dir); created at launch; a failure to create it turns /train off on that launch with a warning, and the lane serves as it would have. The engine-install receipt requires it absolute, like the page dir. - disk: tracked as `engine-train`, with its eviction decision (a finished adapter moves into its job dir; a file whose job is not live is dead and is deleted). Nothing calls /train yet; the engine trainer behind FineTuningAdapter is the next change. Tests: train_dir_flag_is_present_only_when_given_and_carries_that_path; every_cache_class_has_a_decided_eviction_story passes with the new class. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc * chore(llama): pin ca001c551 in this PR, the trunk with #19 (a real /train cancel, parse_special, and the init file removed once loaded) Cormac's condition on this PR: at 66035e261 every /train run left <out>.init.gguf in engine-train, which the eviction rule (only <uuid>.gguf) does not name. #19 removes it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the CLI command name to better match the project branding:
This makes the CLI experience more cohesive and intuitive, with the command name directly matching the project name.