Repository navigation
Conversation
…r-classificationresolve merge conflicts
✅ PASS — Per-request forwarding overheadOverhead p50 = 8,298.6 µs; p95 = 17,531.6 µs — goals: p50 < 10,000 µs, p95 < 30,000 µs; CI fail thresholds p50 15,000 µs / p95 150,000 µs.
Top phases (per-request p50, share of the median request):
Scenario: |
Claudia-Anthropica
left a comment
There was a problem hiding this comment.
@julia-rai I found three calibration issues: Metal memory can be underestimated, successful Metal probes remain calibration candidates, and base overrides can produce incomplete shared snapshots. Several CI checks are still running; no failures were captured. [nit] Please also remove the Logos scope prefix from the PR title.
✅ PASS: GPU-less residency simulationGPU-simulated functional exercise of residency policies against the real orchestrator and worker with a fake vLLM below the worker. Times are not GPU performance. Synthetic only; no scientific claims. SHA: Per policy / pattern
Lifecycle & VRAM
Synthetic performance (short CI run)Latencies are simulated seconds: observed wall time multiplied by the reported factor. Prefill and concurrency contain explicit estimates. No GPU performance or energy claim.
|
Claudia-Anthropica
left a comment
There was a problem hiding this comment.
@julia-rai Thanks for correcting the example sizing and retaining the measured footprint in shared snapshots. I found a local-restoration case I missed earlier that still needs a fix. Several CI checks are still running; no failures were captured.
Claudia-Anthropica
left a comment
There was a problem hiding this comment.
@julia-rai Thanks, the fresh-profile restoration case is fixed. I found an existing-profile case I missed earlier: removing an override can still restore an older footprint after recalibration. Stack (inter-node + client) failed, but the captured evidence only reports exit code 1, so I couldn't attribute it to this change. Browser, webservice and benchmark checks are still running.
Claudia-Anthropica
left a comment
There was a problem hiding this comment.
@julia-rai Thanks, restoring the latest measured footprint fixes the previous restart issue. [medium] I missed the CUDA configuration example earlier: logos-workernode/config.example.yml still tells operators to set base_residency_mb to weights excluding KV, but overrides now preserve calibrated, so both placement estimators treat that value as the total and under-reserve memory. Please update its inline capability instructions and manual-profile examples to require the full footprint including KV, as the Metal example now does. Several CI checks are still running; no failures were captured at this head.
Claudia-Anthropica
left a comment
There was a problem hiding this comment.
@julia-rai Thanks for updating the CUDA sizing instructions to include KV memory. The earlier calibration and restart issues are fixed, and I found no further blocking issues across the full diff. Several CI checks are still running; no failures were captured at this head.
Gateway Concurrency BenchmarkRun at 2026-11-30T23:08:48+00:00 against Concurrency rampPeak gateway relay tasks simultaneously: 1024. Onset of failures (>5% of a step): not reached within the tested steps requests per step. Configured gateway I/O limits: unlimited, unlimited across 2 replica(s) = unlimited. Executor:
Step size is how many requests were fired at once; peak relayed is how many Added latency (gateway vs. direct-to-upstream)Overhead p50 = 12.0 ms, p95 = 17.7 ms (n=180 gateway / 180 direct).
Failover under load❌ killed Sample errors: Recovery: PASS. New requests must succeed after the fixed 5 s routing allowance. Interrupted streams still count above; this does not assert seamless stream failover.
Budget admissionApplication key with a budget limit and a month of history (
Time in Logos is read back from each request's Budget refresh query in the database ( Latency by send time (5 s windows):
A refresh that re-prices the key's month blocks every request of the key that misses the cache, so a slow refresh shows up as a window whose requests all finish late together, and as 5xx once the long queries hold the connections that authentication needs. Status counts: Method
|
Claudia-Anthropica
left a comment
There was a problem hiding this comment.
@julia-rai The earlier calibration, sizing and restart fixes still hold after the merge, and I found no further blocking issues across the full diff. Several test, build and benchmark checks are still running; no failures were captured at this head.
Claudia-Anthropica
left a comment
There was a problem hiding this comment.
@julia-rai The earlier calibration, sizing and restart fixes still hold, and I found no blocking issues across the full diff. There's one non-blocking input-handling issue below. Several CI checks are still running; no failures were captured at this head.
|



What changes
A profile's
residency_sourceiscalibrated,hfor empty.overrideandcachedare gone. Operator values from the nodeconfiguration still pin single fields (
overridden_fields) but no longerchange the source.
calibratedpasses the calibration gate and countsas complete, on CUDA and Metal. The Metal exemption is removed.
pairs and sleep values. The worker and the orchestrator check this per
backend.
calibrated_footprint_mbis always set, shared calibration snapshots take their base from it, and
effective_profilerestores it when the override is removed.calibratedorhfas source (column and JSONB),whatever a worker reports.
107_model_profile_source_cleanupclearsmeasured,overrideandcachedand bumpssync_revision. Stored values stay.config.example.yml,config.example.mlx.ymlandMACOS.md: a pinnedbase_residency_mbis the full footprint including the KV cache. Thestatements that Metal cannot be calibrated are removed.
Already on main
The first two commits (
6f2de525,e1855293) remove themeasuredsource.They are already on
mainand part of this branch's history. Please reviewthem together with this PR.
Behaviour to know about
Metal nodes that relied on a pinned base need a calibration first
(maintenance window or "Calibrate uncalibrated").
model loadable.
"Base residency" field in the UI still says "for the weights"; it is not
changed here.
candidates.
Rollout
Update the workers before or together with the core.
profile without source as
cachedagain. On Dev with the first build ofthis PR, six
cachedrows came back this way. The orchestrator now storesonly known sources, so this label no longer reaches the database. This is
not yet verified on Dev.
orchestrator (unchanged). Julia's Laptop on Dev is in this state.
Testing
test_model_cache.pyrsync failures exist onmain),orchestrator 4520 passed, Liquibase tests 26 passed.
profiles, the 5 calibrated ones stayed unchanged. A live lane load changed
loaded_vram_mb,kv_budget_mband the counter, not the base and not thesource. A newly connected model was calibrated, got
src = calibrated, and itssnapshot carries the base.
laptop worker is outdated) and e2e tier 1 locally.
Stack,BenchmarkandBrowser (Playwright)failed while building thestack image (Maven Central HTTP 429), not in a test.
New dependencies
None.