models: all model paths point into the work folder (models/leleka-gates, models/deepseek-v41-flash)

Rewrite the 5090 server model paths in 30 repo files (scripts, tools, docs) from the old
locations (/home/para/leleka-gates, $HOME/leleka-gates, /data/models) to
/home/para/work/leleka/models/..., add the AGENTS.md workspace rule and the move record
docs/experiments/models-move.md. Not merged: the smoke test is pending.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Pavlo Ratushnyi
2026-10-29 19:12:29 +01:00
co-authored by Claude Sonnet 5.5
parent e92513b722
commit 5e4c9c9530
32 changed files with 100 additions and 41 deletions
+1
View File
@@ -46,6 +46,7 @@ One folder per machine (owner rule, 2026-10-29). Outside it, read only: no creat
- Laptop: `C:\Users\pavel\work\leleka` (worktrees, build output and run directories under `.git/wt`). Never create, list or clean sibling folders of the repository, and keep WSL builds inside it too (`CARGO_TARGET_DIR` inside the worktree).
- 5090 server (`rnr5090`): `~/work/leleka/` only, the same name as on the laptop. It is a symlink to `/data/leleka-e2e/` because the root disk is small; the data lives on `/data`. Do not add anything to `~/work` itself or to any other folder. Known exception until the holder is re-homed: the GPU queue (`~/work/gpu-runs/holder2/jobs/` stubs and `PRIORITY`) is written there, nothing else.
- Models live inside the work folder too (owner decision, 2026-10-29): server `~/work/leleka/models/{leleka-gates,deepseek-v41-flash}/` (absolute `/home/para/work/leleka/models/...`), laptop `C:\Users\pavel\work\leleka\models\`. Scripts, profiles and docs name those paths; a model path outside the work folder is a bug.
- Name each path after its task (`<task-id>` or `<task-id>-<purpose>`); one directory per task, not one per attempt.
- Clean up your own paths at the end of the task. Do not hard-delete: anything deletable goes into the `garbage/` folder inside the work folder (laptop `leleka/garbage`, server `~/work/leleka/garbage`) with a line in `garbage/LOG.txt`. The owner empties it.
- Evidence cited in a task record keeps its path until the cited change is merged; after a move, update the record with the new path.
+1 -1
View File
@@ -400,7 +400,7 @@ un\dockerInference`,
Two holder jobs are queued on `rnr5090` (`~/work/gpu-runs/holder2/jobs/`), written to run after each other and to inherit the holder's sealed descriptor, so nothing is copied or downloaded:
* `930-deploy-prepare.sh`: `up --dry-run`, then `up --mode none --kar-fd $LELEKA_STRA169_KAR_FD --trust-archive` against `~/leleka-gates/assets` (real `model fetch`/`verify` of the existing shards by hash reuse,
* `930-deploy-prepare.sh`: `up --dry-run`, then `up --mode none --kar-fd $LELEKA_STRA169_KAR_FD --trust-archive` against `/home/para/work/leleka/models/leleka-gates/assets` (real `model fetch`/`verify` of the existing shards by hash reuse,
tokens, configs, tokenizer extraction into `assets/tokenizer-assets`), then a second dry-run and a second `up` to show that nothing is redone.
* `931-deploy-serve.sh`: `up --foreground --kar-fd ...` with the real model (typed load, `/ready`), one request through the API, an unauthenticated request (must be refused), SIGTERM, the logs and a check that no process is left.
+1 -1
View File
@@ -231,7 +231,7 @@ resident cells, the automatic per-layer expert cache of about 9,971 slots). Diff
| --- | --- | --- |
| expert cache | `LELEKA_ORIGINAL_SERVE_EXPERT_SLOTS=2048` (run-e2e default, 43-49 % of entries from VRAM) | `auto`, per layer, profile of the 98x/990 jobs, `--gpu-budget` 30 GiB (as the 98x auto-cache jobs) |
| `--spec-min-p` | not passed (engine default 0 = full window) | 0.5 |
| MTP draft vocabulary | **not bound**: `leleka-inference` was started without `--mtp-rt-dir`, so `rt_directory` was None and the MTP chain step drafted over the full 248k-row head (about +0.18 ms per step, 3-4 steps per round; ledger agent) | bound: `--mtp-rt-dir ~/leleka-gates/assets/data/mtp-rt` (`draft_vocab.bin`, 106,299 rows, the Original's) |
| MTP draft vocabulary | **not bound**: `leleka-inference` was started without `--mtp-rt-dir`, so `rt_directory` was None and the MTP chain step drafted over the full 248k-row head (about +0.18 ms per step, 3-4 steps per round; ledger agent) | bound: `--mtp-rt-dir /home/para/work/leleka/models/leleka-gates/assets/data/mtp-rt` (`draft_vocab.bin`, 106,299 rows, the Original's) |
| MTP depth / seed / tier adaptation | depth 4 (Original default), seed and adaptive tier at the head defaults | same |
Confirmed from the command lines in `run-e2e.sh` at the time: 943b and 945 had no `--mtp-rt-dir`. Changes made: `run-e2e.sh` now always passes `--mtp-rt-dir $A/data/mtp-rt` (`E2E_NO_RT_DIR=1` reproduces the old
@@ -128,7 +128,7 @@ export STRATA_DECODE_TIMING=1 STRATA_VERIFY_PROFILE=1
# arm (b) adds: export STRATA_ROUTE_TAIL_SKIP=0
# control adds: export STRATA_FORCE_AVX2=1
cd ~/work/vanilla-strata/control
bin/strata launch --model iq3_s --family qwen --model-path /home/para/leleka-gates/assets/model \
bin/strata launch --model iq3_s --family qwen --model-path /home/para/work/leleka/models/leleka-gates/assets/model \
--context 256k --kv int8 --vision off --parallel 1 --tune skip --access local --port 8090 --no-tui --yes
# ... one request (section 6) ...
bin/strata launch --stop
+11 -11
View File
@@ -19,7 +19,7 @@ mapping, 6 cache state, 7 machine locks and queue, 8 run hygiene (SC11-SC14), 9
| Tools that do NOT exist | `which cmake` prints nothing (no cmake); `which bc fincore sha256sum` find all three (`fincore` is `/usr/bin/fincore`). Builds of the engine are not made on the server (section 8, SC14) |
| Root file system | `df -h /`: 260 G, 2.4 G available, 100 percent. NOTHING new is written under `~` or `/tmp`. The disk guard of section 8 refuses a run there |
| Work file system | `/data` (`/dev/nvme0n1p7`, 458 G, 223 G available). Work and outputs of this train live under `/data/leleka-e2e/` |
| Existing trees on root (read only for us) | `~/work/leleka-e2e` (scripts, `bin-sm120`, 48 earlier run dirs), `~/work/leleka-rest` (the ours source tree and `bin-e2e4`), `~/work/leleka-head/src/crates` (workload source), `~/work/gpu-runs` (holder, `MODEL.lock`), `~/work/vanilla-strata` (vanilla launcher, section 5), `~/leleka-gates/assets` (model files) |
| Existing trees on root (read only for us) | `~/work/leleka-e2e` (scripts, `bin-sm120`, 48 earlier run dirs), `~/work/leleka-rest` (the ours source tree and `bin-e2e4`), `~/work/leleka-head/src/crates` (workload source), `~/work/gpu-runs` (holder, `MODEL.lock`), `~/work/vanilla-strata` (vanilla launcher, section 5), `/home/para/work/leleka/models/leleka-gates/assets` (model files) |
| The laptop | local to the orchestrator and not reachable by ssh from the server. Its facts come from STRA-254 (section 11) |
Rules that follow from the table: never `apt`/`pip` install, never delete or rewrite files of other jobs, read `/proc` and `nvidia-smi` for state, and write only
@@ -152,17 +152,17 @@ The mapping that makes the digest the same is therefore: both arms are derived f
Server hashes (live `sha256sum`, run 2026-10-28 from 19:57 UTC with `nice -n 19 ionice -c3`; shard 1 took 66 s and shard 2 112 s; the raw list is `/data/leleka-e2e/runs/stra288-runbook/hashes.txt`):
```
4c1eb2ceb4915e1192f4f386021897bde56a97f40a0bb78bb86465e0f7d2aca3 /home/para/leleka-gates/assets/model/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf
316b46f3a2dbd68c900f43136ab9449f9dcc3725dfd8c794847c204bc161e113 /home/para/leleka-gates/assets/model/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf
4c1eb2ceb4915e1192f4f386021897bde56a97f40a0bb78bb86465e0f7d2aca3 /home/para/work/leleka/models/leleka-gates/assets/model/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf
316b46f3a2dbd68c900f43136ab9449f9dcc3725dfd8c794847c204bc161e113 /home/para/work/leleka/models/leleka-gates/assets/model/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf
d2af3d8331e5c7a1985d1d589747230f9d56719a6d33c7cddc9ee6b81cde6b13 /home/para/.local/share/strata/Strata-data/packs/iq3_s/dense.bin
d2af3d8331e5c7a1985d1d589747230f9d56719a6d33c7cddc9ee6b81cde6b13 /home/para/leleka-gates/assets/data/iq3_s/dense.bin
d2af3d8331e5c7a1985d1d589747230f9d56719a6d33c7cddc9ee6b81cde6b13 /home/para/work/leleka/models/leleka-gates/assets/data/iq3_s/dense.bin
b2a014878c3b61d6a6f915e194055a5e68ede34f9465dd1cb13249d902f008ac /home/para/.local/share/strata/Strata-data/packs/iq3_s/index.txt
d9ac2dfa3ee63c55c9c6a6db26f72da0cec0ee41733f007e5cbbbba71617aa5d /home/para/.local/share/strata/Strata-data/packs/iq3_s/native_experts.txt
8f59b4aa8873209dff11c11e37bcda9529a1335b724a1afeea37bf6388975baf /home/para/leleka-gates/assets/data/expert-profile.bin
8f59b4aa8873209dff11c11e37bcda9529a1335b724a1afeea37bf6388975baf /home/para/work/leleka/models/leleka-gates/assets/data/expert-profile.bin
8f59b4aa8873209dff11c11e37bcda9529a1335b724a1afeea37bf6388975baf /home/para/work/vanilla-strata/control/data/expert-profile.bin
09398406be61f1f54c93861f449e48b8df0bfccbc9ec9b2b7636775a6ea9244f /home/para/leleka-gates/assets/data/mtp-rt/experts.bin
c724dc0b0822ada5d2977bf5bde821605feabaa64ea2e0045b67ca656329070a /home/para/leleka-gates/assets/data/mtp-rt/dense.bin
b1e1d3a7a9e4bf862dcd5923ce661fb59bbd07907e594df5cf86a62ac235cb91 /home/para/leleka-gates/assets/data/mtp-rt/draft_vocab.bin
09398406be61f1f54c93861f449e48b8df0bfccbc9ec9b2b7636775a6ea9244f /home/para/work/leleka/models/leleka-gates/assets/data/mtp-rt/experts.bin
c724dc0b0822ada5d2977bf5bde821605feabaa64ea2e0045b67ca656329070a /home/para/work/leleka/models/leleka-gates/assets/data/mtp-rt/dense.bin
b1e1d3a7a9e4bf862dcd5923ce661fb59bbd07907e594df5cf86a62ac235cb91 /home/para/work/leleka/models/leleka-gates/assets/data/mtp-rt/draft_vocab.bin
```
and, separately, `sha256sum` of vanilla's own MTP files (`~/.local/share/strata/Strata-data/mtp/rt/*`): `dense.bin c724dc0b...329070a`, `draft_vocab.bin b1e1d3a7...cb91`, `experts.bin 09398406...244f` (full values equal the three MTP lines above; the `dense.txt` files differ in name only
@@ -173,11 +173,11 @@ and are not part of the mapping: `991456cf4eb266eb8a888c349e548d11bc640f5dbd9149
| Weights, experts and PLE | KAR `qwen-iq3-s-l2-v4.kar` (55,295,529,472 bytes) loaded by the holder into a sealed memfd; GGUF shards as tensor directory and for PLE (`--shard0/--shard1`) | the same two GGUF shards: `--native` shard 1, `--ple-gguf` shard 2 | KAR provenance `qwen-iq3-s-l2-v4.kar.provenance.json` lists `shards[0].gguf_sha256 = 4c1eb2ce...` and `shards[1].gguf_sha256 = 316b46f3...`, equal to the live hashes above |
| Dense tensors | from the KAR | `dense.bin` of the pack (1,538,035,200 bytes) | pack `conversions.json` lists the same two shard names and sizes (54,817,524,224 and 28,800,138,432); `dense.bin` equals the copy in `assets/data/iq3_s` |
| Expert profile | `LELEKA_ORIGINAL_SERVE_EXPERT_PROFILE` (the profile names `data/expert-profile.bin`) | `--expert-profile ~/work/vanilla-strata/control/data/expert-profile.bin` | both are `8f59b4aa...` (the laptop's file has the same hash, `docs/laptop-vs-vanilla.md` section 1) |
| MTP draft pack | `--mtp-pack ~/leleka-gates/assets/data/mtp-rt` | `--mtp ~/.local/share/strata/Strata-data/mtp/rt` | experts.bin, dense.bin and draft_vocab.bin are byte-identical |
| MTP draft pack | `--mtp-pack /home/para/work/leleka/models/leleka-gates/assets/data/mtp-rt` | `--mtp ~/.local/share/strata/Strata-data/mtp/rt` | experts.bin, dense.bin and draft_vocab.bin are byte-identical |
| Artifact digest label | `sha256:80d5e3333801cedbca81a5c19c24ed6bb48fd56977acd190318f66b23a1766a3` (`crates/leleka-runtime/src/backend.rs:59`, `crates/deploy/src/layout.rs:45`, daemon config of `run-e2e.sh`) | none: vanilla has no such label | the label is ours; the mapping rests on the shard hashes |
KAR archive hash: the file is `qwen-iq3-s-l2-v4.kar`, 55,295,529,472 bytes. Its recorded `sha256sum` output (the file `qwen-iq3-s-l2-v4.kar.sha256.tmp` next to it, written 2026-10-12) reads
`536d612ca60eab460cb978f51748fc6fa4e9d611d4601e777884e8b51385afa5 /home/para/leleka-gates/assets/qwen-iq3-s-l2-v4.kar`, and the provenance field `archive_sha256` has the same value.
`536d612ca60eab460cb978f51748fc6fa4e9d611d4601e777884e8b51385afa5 /home/para/work/leleka/models/leleka-gates/assets/qwen-iq3-s-l2-v4.kar`, and the provenance field `archive_sha256` has the same value.
I started a live re-hash and STOPPED it after about 17 GB because another agent's GPU job (STRA-267, `gpu.lock` held) was running and the read competed with it; the KAR value on this page is therefore the recorded one, not today's.
`derived_f32_sha256 c89bfcea7b1c979ad2e9e64c59fcc3c03fc414b345c5f47f027ce0ba99015479` (provenance) is the digest of the f32 view that the archive was derived from the shards with (`strata-next/gguf-shards-to-f32-le-v4:ggml-3cf03257`).
@@ -274,7 +274,7 @@ The dedicated measurement with the replay driver (start-up under a recorded cach
| ssh, roots | `ssh rnr5090`; work and outputs under `/data/leleka-e2e/`; run root `/data/leleka-e2e/runs/<series>/<pair>/<arm>/` |
| Ours binaries, ports | `~/work/leleka-rest/bin-e2e4/` (section 2), started by `~/work/leleka-e2e/scripts/e2e/run-e2e.sh` inside a holder job (ports 18766, 18080, 8081 on 127.0.0.1) |
| Ours job environment (shipped shape, from `rest-e2e-ab2.sh`) | `E2E_BIN=$HOME/work/leleka-rest/bin-e2e4`, `LELEKA_ORIGINAL_SERVE_EXPERT_SLOTS=auto`, `E2E_GPU_BUDGET=32212254720`, `LELEKA_CHAIN=all`, `E2E_SAMPLE_S=10`, `E2E_ENGINE_ARGS="--prefix-cache-mib auto --prefix-cache-tail reply --original-prefill-capacity 8192 --prefix-cache-block 8192 --spec-min-p 0"`, `E2E_OUT=<arm dir>`, `E2E_RUN_CMD=<session command>`. Difference from the profile file: `run-e2e.sh` defaults the expert profile to `~/work/gpu-runs/baseline/profile.bin`, the profile names `data/expert-profile.bin` |
| Vanilla binary and launch | engine and launcher in section 5; launch from `~/work/vanilla-strata/control`: `bin/strata launch --model iq3_s --family qwen --model-path /home/para/leleka-gates/assets/model --context 256k --kv int8 --vision off --parallel 1 --tune skip --access local --port 8090 --no-tui --yes`, stop with `bin/strata launch --stop`; redirect the launcher's state with `XDG_CONFIG_HOME` and `XDG_STATE_HOME` into the run directory (copy `~/.config/strata/settings.json` there) so `~/.config/strata` is not written; instrumentation `STRATA_DECODE_TIMING=1 STRATA_VERIFY_PROFILE=1`; arm (b) adds `STRATA_ROUTE_TAIL_SKIP=0` (the only lossy row, STRA-247 section 4) |
| Vanilla binary and launch | engine and launcher in section 5; launch from `~/work/vanilla-strata/control`: `bin/strata launch --model iq3_s --family qwen --model-path /home/para/work/leleka/models/leleka-gates/assets/model --context 256k --kv int8 --vision off --parallel 1 --tune skip --access local --port 8090 --no-tui --yes`, stop with `bin/strata launch --stop`; redirect the launcher's state with `XDG_CONFIG_HOME` and `XDG_STATE_HOME` into the run directory (copy `~/.config/strata/settings.json` there) so `~/.config/strata` is not written; instrumentation `STRATA_DECODE_TIMING=1 STRATA_VERIFY_PROFILE=1`; arm (b) adds `STRATA_ROUTE_TAIL_SKIP=0` (the only lossy row, STRA-247 section 4) |
| Vanilla endpoint | `/v1/responses` exists in the installed server (`serve/server.py` lines 4716, 6762); STRA-247 used `/v1/chat/completions`. The replay driver against vanilla has not been run yet |
| Engine arguments the launcher produced | `--pack .../packs/iq3_s --native <shard 1> --ple-gguf <shard 2> --expert-profile .../control/data/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp .../Strata-data/mtp/rt --max-context 262144 --kv int8 --ple-io ram --kv-resident 32768` |
| Series state | cache state of section 6, lock rules of section 7, overhead floor of section 9 |
+58
View File
@@ -0,0 +1,58 @@
# Models move into the work folder (2026-10-29)
Owner decision (final): every model lives inside the single work folder of its machine; outside it an agent only reads.
Server work folder `~/work/leleka` = `/home/para/work/leleka` (symlink to `/data/leleka-e2e`, data on `/data`). Laptop work folder `C:\Users\pavel\work\leleka`.
The same text is `~/work/leleka/models/MOVE-PLAN.md` on the server.
## Targets
| Was | Now | How |
| --- | --- | --- |
| `/data/models/deepseek-v41-flash/` (233 GiB, IQ2_XXS in 4 parts + Engram IQ4_NL + mmproj + docs) | `/home/para/work/leleka/models/deepseek-v41-flash/` | `mv`, same filesystem (`/data`) |
| `/home/para/leleka-gates/` (134 GiB: `assets/` 132 GiB, `stra169-ladder/` 2.3 GiB) on the 260 GB root disk | `/home/para/work/leleka/models/leleka-gates/` | `rsync -a` to `/data`, internal layout identical, verified by sha256 on both sides; the original is left in place (cross-filesystem, owner deletes it) |
Not moved, not ours: vanilla Strata keeps its own install data under `~/.local/share/strata/` (pack `packs/iq3_s/dense.bin` 1.5 GB, MTP `mtp/` 0.9 GB + `rt/`, `install/strata-iq3_s.json`, `components/`). It is the vanilla tool's state, rewritten by `strata launch`; the only model path in it that pointed at `leleka-gates` is in `install/strata-iq3_s.json` (`--native`, `--ple-gguf`), which `strata launch --model-path ...` regenerates on every launch (verified by the smoke run below).
Left alone because root-owned and unreadable by `para`: `leleka-gates/stra169-ladder/rust-work/kar-staging` and `mtp-staging` (mode 700, owner root). They were excluded from the copy. Nothing references them.
## Step 1: inventory of references (read only, before any change)
Searched for `/home/para/leleka-gates`, `$HOME/leleka-gates`, `~/leleka-gates`, `/data/models` in: repo (crates, deploy, scripts, docs, tools, engine/strata), server work folder `/data/leleka-e2e` (scripts, py, env, json, md; run outputs excluded), `~/work/gpu-runs/holder2` (jobs and helpers), `~/work/vanilla-strata`, the older trees `~/work/leleka-rest` and `~/work/leleka-e2e`, `~/.config`, `~/.local/share/strata`, `~/.bashrc`/`.profile`, user crontab (none), `/etc/cron*`, `/etc/systemd`, `/etc/fstab` (nothing found there), user systemd units (none relevant).
### A. Repository (30 files, all rewritten in this branch)
`/data/models` appears only as a synthetic mount-path literal in a unit test (`crates/deploy/src/facts.rs:608`, `fs_type_for(..., "/mnt/c/data/models")`), unrelated to the server model: unchanged. No Rust code, no deploy profile (`deploy/rust-runtime/profiles/*.json`) names a model path: models are given by `--assets` / `LELEKA_ASSETS`, so no Rust crate changed and no crate test is affected. `engine/strata` has no reference (vanilla `cmd.py` only has `--model-path /data/models/IQ3_XXS` in help text, not ours and not touched).
Docs (5): `docs/deploy.md`, `docs/e2e-run.md`, `docs/rust-runtime-run.md`, `docs/experiments/2026-10-28-s0-7-vanilla-arms.md`, `docs/experiments/2026-10-28-s0-7b-runbook.md` (the sha256 list there keeps its digests, only the path label changed).
Scripts and tools (24): `scripts/decode-sm120/jobs/sm120-replay-id.sh`, `scripts/e2e/codex/jobs/{947-e2e-replay,948-e2e-replay-arms,replay-template}.sh`, `scripts/e2e/decode/{drafttail-ab,drafttail-id,slots-footprint-ab,slots-id,speedtrain-ab,speedtrain2-ab,speedtrain2-id,speedtrain3-ab,speedtrain3-id}.sh`, `scripts/e2e/run-e2e.sh`, `scripts/memory/jobs/mem-common.sh`, `scripts/numerics/{100-numerics-ladder.sh,num_lad_tools.py}`, `scripts/perf3/common.sh`, `scripts/profile/jobs/ledger-common.sh`, `scripts/quality/q-common.sh` (also `ORIG_BIN`, the `stra169-ladder/build-sm120/strata` binary), `scripts/spec/spec-common.sh`, `scripts/startup-profile/{tmpl-load,tmpl-verify}.sh`, `tools/chain-probe/jobs/9c7-chain-vocab-replay.sh`, `tools/microbench/jobs/make_jobs.sh`.
`AGENTS.md` (Workspace layout): one bullet added, models live under `<work folder>/models/`.
Each script already had a single variable (`A=.../assets`, `G=...`, `ORIG_BIN=`, `--model-path`); only its value changed, no new mechanism.
### B. Server, live scripts (outside the repo, rewritten in place after the holder stopped)
`/data/leleka-e2e/decode/dt/jobs/*.sh` (26 files: dt-ab3, dt-ab7, dt-ab8, dt-eng, dt-eng2, dt-eng4, dt-id, dt-id2, dt-mem, dt-mem2, dt-mem3, dt-q, dt-q3, dt-q4, drafttail-ab, drafttail-id, ple-ab, ple-id, slots-footprint-ab, slots-footprint-ab2, slots-id, speedtrain-ab, speedtrain2-ab, speedtrain2-id, speedtrain3-ab, speedtrain3-id), `/data/leleka-e2e/decode/dt/scripts/e2e/run-e2e.sh` and `codex/jobs/{947,948,replay-template}`, `/data/leleka-e2e/parity-audit/scripts/e2e/run-e2e.sh` and `codex/jobs/{947,948,replay-template}`, `/data/leleka-e2e/sm120/jobs/sm120-replay-id.sh`, `/data/leleka-e2e/decode/jobs/decode-trace.sh`, `/data/leleka-e2e/decode/run_vanilla.sh`.
Not rewritten (reason): `/data/leleka-e2e/decode/dt/src/**` (a source snapshot of the repo used for builds, no job runs from it), run outputs under `/data/leleka-e2e/runs/**` and `decode/t1/vanilla/strata-launch/*.json` (records of past runs, evidence keeps its text), `decode/notes.md` (log, only appended).
### C. Server, outside the work folder (read only; only these were written)
* `~/work/gpu-runs/holder2/run_holder2.sh`: the holder start command (`kar_holder2.py $HOME/leleka-gates/assets/qwen-iq3-s-l2-v4.kar jobs`). Rewritten (authorised in the task); the old text is in `~/work/leleka/garbage/run_holder2.sh.pre-models-move`.
* `~/work/gpu-runs/holder2/jobs/PRIORITY` (backup `PRIORITY.bak-models-move`): `dt-id2`, `drafttail-ab`, `dt-ab8` removed (all three were already `.done`, so no effect on the queue) and `jobs/STOP` created and removed again for the holder stop.
* The smoke-test stub in `~/work/gpu-runs/holder2/jobs/`.
* Stale, read only, NOT rewritten (done jobs and old helper scripts of other trees; they would read the old copy, which the owner is about to delete): `~/work/gpu-runs/holder2/{dec-common.sh,seed-common.sh,spec-common.sh,run_holder.sh}`, 18+ done stubs in `holder2/jobs/` (e.g. 310-kv-long-context, 411-conversation-cache, 600/606/610 pool jobs, 702/707 prefill, 802/804/807 rounds, 930/931 deploy, 9c7, 9g2/9g6, 947, 992), `~/work/gpu-runs/numerics/*`, `~/work/gpu-runs/baseline/corpus/*` logs, `~/work/leleka-rest/**`, `~/work/leleka-e2e/scripts/**`, `~/work/vanilla-strata/control/{strata_cli/launch/cmd.py,docs}` (help text only). If any of them is run again it must be copied into the work folder and rewritten first.
* Vanilla Strata: model location comes from the `--model-path` argument of `strata launch` in the job scripts (B), not from a config file; `~/.local/share/strata/install/strata-iq3_s.json` holds a copy that the next launch regenerates.
* systemd units, cron: none reference the models.
### D. Laptop (read only; see the report)
Repo profiles `rtx3080-16g` / `rtx5090-32g` carry no model path (`--assets` / `LELEKA_ASSETS`). Scripts and docs that read the laptop models: `scripts/laptop/lap_run.sh` (`MODEL_DIR` default `$HOME/laptop/model`, `~/laptop/data/mtp-rt`, `~/laptop/data/expert-profile.bin`, `~/laptop/mtp-staging`), `scripts/memory/laptop_run.sh` (`$HOME/laptop/{model,data,mtp-staging}`), `scripts/startup-profile/laptop-verify.sh` (`~/laptop/model`), `docs/laptop-profile.md`, `docs/memory-safety.md`, `docs/windows.md` (`~/laptop` and the copy `~/leleka-assets` on the WSL ext4 disk, `D:\leleka-assets` for native runs), `scripts/windows/stage-model.ps1`. All of those paths are in the WSL home (`\\wsl.localhost\Ubuntu\home\para\...`) or on a Windows drive, i.e. outside `C:\Users\pavel\work\leleka`. Inside the work folder there are no `.gguf`, `.kar`, `dense.bin` or `.safetensors` files (searched to depth 6, build outputs excluded). On-disk sizes of the WSL copies were not measured: the owner rule "never browse outside the work folder on the laptop" applies, so only the documented locations are listed. Nothing on the laptop was moved or changed.
## Steps 2 and 3: move and verification (status at 2026-10-29 17:55Z, INTERRUPTED)
* 16:33Z `jobs/PRIORITY` backed up, three optional jobs dropped, `jobs/STOP` created. drafttail-id finished at 16:55Z; the holder exited by itself on STOP. The 55 GB memfd was still pinned by an orphaned `nvidia-smi -l 1` (pid 39569, parent init, 16 h old, writing to the deleted file `runs/sm120/base1/smi.csv`); it was terminated, after which `Shmem` fell from 54 GB to 1.7 MB and no process held a memfd. A `/proc/*/fd` scan found no open file under the model directories. `gpu.lock` was taken by this task (owner `models-move devops`) for the whole move.
* 16:56Z `mv /data/models/deepseek-v41-flash -> ~/work/leleka/models/deepseek-v41-flash`: same filesystem, 0.01 s, 17 entries, size listing before and after identical (`models/MOVE-deepseek-before.txt`, `MOVE-deepseek-after.txt`). `/data/models` is now an empty directory.
* 16:56Z-17:37Z `rsync -a` of `/home/para/leleka-gates/` to `models/leleka-gates/` (143.75 GB, 41 min, 56 MB/s because the root disk and `/data` are partitions of the same NVMe). rsync exit 23: 9 zero-byte cargo incremental `*.lock` files under `stra169-ladder/rust-cache/target/debug/incremental/` are root-owned and unreadable (irrelevant build artifacts, not copied); the two root-owned staging directories were excluded. File list and sizes of source and copy are otherwise identical (10,483 vs 10,474 files, the 9 missing are exactly those locks; 13 symlinks on both sides).
* sha256 of all 10,474 copied files finished at 17:45Z. The files that have recorded digests match them exactly: KAR `536d612c...a5` (recorded 2026-10-12, equals provenance `archive_sha256`), shards `4c1eb2ce...a3` and `316b46f3...61`, `iq3_s/dense.bin` `d2af3d83...13`, `expert-profile.bin` `8f59b4aa...baf` (equals `EXPERT_PROFILE_SHA256` in `crates/deploy/src/plan.rs`), `mtp-rt/{experts,dense,draft_vocab}.bin` `09398406`, `c724dc0b`, `b1e1d3a7`.
* The source-side sha256 pass (same script on `/home/para/leleka-gates`) was still running when the server stopped answering (17:49Z it was running, 17:5xZ sshd began resetting connections and `/usr/bin/pgrep` returned `Input/output error`: the root filesystem stopped serving reads). The file-by-file source-vs-copy hash comparison is therefore NOT done.
## Not done (server unreachable)
Source hash comparison, restart of the holder from the new paths, the smoke test (speedtrain3-ab, arms speedtrain3-noseed + v-def, RUN_TAG=m), merge into `main`. The live scripts on the server and `run_holder2.sh` already name the new paths, `gpu.lock` is still held by this task and `jobs/STOP` still exists (see the report for the recovery commands).
+1 -1
View File
@@ -74,7 +74,7 @@ Templates: [`deploy/rust-runtime/`](../deploy/rust-runtime/) (`runtime.env.examp
## Commands (bring-up server paths)
```sh
A=/home/para/leleka-gates/assets
A=/home/para/work/leleka/models/leleka-gates/assets
S=$HOME/leleka-run # private state; staging must be mode 0700
install -d -m 0700 "$S" "$S/mtp-staging"
export LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
+1 -1
View File
@@ -10,7 +10,7 @@ O=/data/leleka-e2e/runs/sm120-id
BIN=${BIN:-/data/leleka-e2e/sm120/rt-r2}
mkdir -p $O
export LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib:$HOME/cuda-toolkits/13.2.2/lib64:${LD_LIBRARY_PATH:-}
A=$HOME/leleka-gates/assets
A=/home/para/work/leleka/models/leleka-gates/assets
G=$HOME/work/gpu-runs
CAP=/data/leleka-e2e/sm120/capture # copy of ~/work/codex-e2e/capture/night5-long-256k
export LELEKA_STRA169_KAR_PROVENANCE=$A/qwen-iq3-s-l2-v4.kar.provenance.json
+1 -1
View File
@@ -1,7 +1,7 @@
set -uo pipefail
# claude/e2e: offline replay of the captured real Codex sessions (943b tic-tac-toe: conversation cache; 945 CRM: prefix cache auto)
# through the Original serve stack in one process each: greedy, recorded output length as the budget. Reports weighted decode tok/s.
A=$HOME/leleka-gates/assets; G=$HOME/work/gpu-runs
A=/home/para/work/leleka/models/leleka-gates/assets; G=$HOME/work/gpu-runs
export LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib:$HOME/cuda-toolkits/13.2.2/lib64:${LD_LIBRARY_PATH:-}
export LELEKA_STRA169_KAR_PROVENANCE=$A/qwen-iq3-s-l2-v4.kar.provenance.json
export LELEKA_STRA169_IQ3S_SHARD0=$A/model/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf
@@ -2,7 +2,7 @@ set -uo pipefail
# claude/e2e: replay of the first 30 requests (context 9k -> ~45k) of the real tic-tac-toe Codex session (capture 943b, conversation cache), four configurations
# on the head build: expert tier 2048 slots vs auto-sized (per layer, profile of the 98x jobs), spec_min_p 0 (shipped default) vs 0.5 (the reference runs).
# Each arm is one process (model load ~7 min). Prints REPLAY SUMMARY weighted_decode_tok_s, tokens per round (rounds, tokens) and tier shares.
A=$HOME/leleka-gates/assets; G=$HOME/work/gpu-runs
A=/home/para/work/leleka/models/leleka-gates/assets; G=$HOME/work/gpu-runs
export LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib:$HOME/cuda-toolkits/13.2.2/lib64:${LD_LIBRARY_PATH:-}
export LELEKA_STRA169_KAR_PROVENANCE=$A/qwen-iq3-s-l2-v4.kar.provenance.json
export LELEKA_STRA169_IQ3S_SHARD0=$A/model/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf
+1 -1
View File
@@ -5,7 +5,7 @@ set -uo pipefail
# The replay runs the real Original serve stack in one process (no HTTP): greedy, recorded output length as the budget,
# prints one `REPLAY #n ...` line per request and `REPLAY SUMMARY ... weighted_decode_tok_s=...`.
source ~/work/gpu-runs/holder2/dec-common.sh 2>/dev/null || true # LD_LIBRARY_PATH, asset paths, expert-tier environment
A=$HOME/leleka-gates/assets; G=$HOME/work/gpu-runs
A=/home/para/work/leleka/models/leleka-gates/assets; G=$HOME/work/gpu-runs
export LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib:$HOME/cuda-toolkits/13.2.2/lib64:${LD_LIBRARY_PATH:-}
export LELEKA_STRA169_KAR_PROVENANCE=$A/qwen-iq3-s-l2-v4.kar.provenance.json
export LELEKA_STRA169_IQ3S_SHARD0=$A/model/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf
+1 -1
View File
@@ -74,7 +74,7 @@ vanilla() { # $1 tag
S=$HOME/work/vanilla-strata/control/bin/strata
cd "$HOME/work/vanilla-strata/control"
T0=$(date +%s)
timeout 2400 $S launch --model iq3_s --family qwen --model-path /home/para/leleka-gates/assets/model --context 256k --kv int8 --vision off --parallel 1 --tune skip --access local --port 8090 --no-api-key --no-tui --yes > "$R/launch.out" 2>&1
timeout 2400 $S launch --model iq3_s --family qwen --model-path /home/para/work/leleka/models/leleka-gates/assets/model --context 256k --kv int8 --vision off --parallel 1 --tune skip --access local --port 8090 --no-api-key --no-tui --yes > "$R/launch.out" 2>&1
echo "launch_rc=$? ready_wall_s=$(( $(date +%s) - T0 ))" >> "$R/env.txt"
if curl -fs http://127.0.0.1:8090/v1/models > "$R/models.json"; then
( while true; do echo "$(date +%T),$(nvidia-smi --query-gpu=temperature.gpu,utilization.gpu,power.draw,clocks.sm,memory.used --format=csv,noheader)" >> "$R/mon.csv"; sleep 5; done ) & MON=$!
+1 -1
View File
@@ -17,7 +17,7 @@ D=/data/leleka-e2e/decode/dt
O=/data/leleka-e2e/runs/draft-tail-id
mkdir -p $O
export LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib:$HOME/cuda-toolkits/13.2.2/lib64:${LD_LIBRARY_PATH:-}
A=$HOME/leleka-gates/assets
A=/home/para/work/leleka/models/leleka-gates/assets
G=$HOME/work/gpu-runs
CAP=/data/leleka-e2e/sm120/capture
export LELEKA_STRA169_KAR_PROVENANCE=$A/qwen-iq3-s-l2-v4.kar.provenance.json
+1 -1
View File
@@ -83,7 +83,7 @@ vanilla() { # $1 tag
S=$HOME/work/vanilla-strata/control/bin/strata
cd "$HOME/work/vanilla-strata/control"
T0=$(date +%s)
timeout 2400 $S launch --model iq3_s --family qwen --model-path /home/para/leleka-gates/assets/model --context 256k --kv int8 --vision off --parallel 1 --tune skip --access local --port 8090 --no-api-key --no-tui --yes > "$R/launch.out" 2>&1
timeout 2400 $S launch --model iq3_s --family qwen --model-path /home/para/work/leleka/models/leleka-gates/assets/model --context 256k --kv int8 --vision off --parallel 1 --tune skip --access local --port 8090 --no-api-key --no-tui --yes > "$R/launch.out" 2>&1
echo "launch_rc=$? ready_wall_s=$(( $(date +%s) - T0 ))" >> "$R/env.txt"
if curl -fs http://127.0.0.1:8090/v1/models > "$R/models.json"; then
( while true; do echo "$(date +%T),$(nvidia-smi --query-gpu=temperature.gpu,utilization.gpu,power.draw,clocks.sm,memory.used --format=csv,noheader)" >> "$R/mon.csv"; sleep 5; done ) & MON=$!
+1 -1
View File
@@ -14,7 +14,7 @@ D=/data/leleka-e2e/decode/dt
O=/data/leleka-e2e/runs/slots-footprint-id
mkdir -p $O
export LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib:$HOME/cuda-toolkits/13.2.2/lib64:${LD_LIBRARY_PATH:-}
A=$HOME/leleka-gates/assets
A=/home/para/work/leleka/models/leleka-gates/assets
G=$HOME/work/gpu-runs
CAP=/data/leleka-e2e/sm120/capture
export LELEKA_STRA169_KAR_PROVENANCE=$A/qwen-iq3-s-l2-v4.kar.provenance.json
+1 -1
View File
@@ -68,7 +68,7 @@ vanilla() { # $1 tag
S=$HOME/work/vanilla-strata/control/bin/strata
cd "$HOME/work/vanilla-strata/control"
T0=$(date +%s)
timeout 2400 $S launch --model iq3_s --family qwen --model-path /home/para/leleka-gates/assets/model --context 256k --kv int8 --vision off --parallel 1 --tune skip --access local --port 8090 --no-api-key --no-tui --yes > "$R/launch.out" 2>&1
timeout 2400 $S launch --model iq3_s --family qwen --model-path /home/para/work/leleka/models/leleka-gates/assets/model --context 256k --kv int8 --vision off --parallel 1 --tune skip --access local --port 8090 --no-api-key --no-tui --yes > "$R/launch.out" 2>&1
echo "launch_rc=$? ready_wall_s=$(( $(date +%s) - T0 ))" >> "$R/env.txt"
if curl -fs http://127.0.0.1:8090/v1/models > "$R/models.json"; then
( while true; do echo "$(date +%T),$(nvidia-smi --query-gpu=temperature.gpu,utilization.gpu,power.draw,clocks.sm,memory.used --format=csv,noheader)" >> "$R/mon.csv"; sleep 5; done ) & MON=$!
+1 -1
View File
@@ -74,7 +74,7 @@ vanilla() { # $1 tag
S=$HOME/work/vanilla-strata/control/bin/strata
cd "$HOME/work/vanilla-strata/control"
T0=$(date +%s)
timeout 2400 $S launch --model iq3_s --family qwen --model-path /home/para/leleka-gates/assets/model --context 256k --kv int8 --vision off --parallel 1 --tune skip --access local --port 8090 --no-api-key --no-tui --yes > "$R/launch.out" 2>&1
timeout 2400 $S launch --model iq3_s --family qwen --model-path /home/para/work/leleka/models/leleka-gates/assets/model --context 256k --kv int8 --vision off --parallel 1 --tune skip --access local --port 8090 --no-api-key --no-tui --yes > "$R/launch.out" 2>&1
echo "launch_rc=$? ready_wall_s=$(( $(date +%s) - T0 ))" >> "$R/env.txt"
if curl -fs http://127.0.0.1:8090/v1/models > "$R/models.json"; then
( while true; do echo "$(date +%T),$(nvidia-smi --query-gpu=temperature.gpu,utilization.gpu,power.draw,clocks.sm,memory.used --format=csv,noheader)" >> "$R/mon.csv"; sleep 5; done ) & MON=$!
+1 -1
View File
@@ -16,7 +16,7 @@ D=/data/leleka-e2e/decode/dt
O=/data/leleka-e2e/runs/speedtrain2-id
mkdir -p $O
export LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib:$HOME/cuda-toolkits/13.2.2/lib64:${LD_LIBRARY_PATH:-}
A=$HOME/leleka-gates/assets
A=/home/para/work/leleka/models/leleka-gates/assets
G=$HOME/work/gpu-runs
CAP=/data/leleka-e2e/sm120/capture
export LELEKA_STRA169_KAR_PROVENANCE=$A/qwen-iq3-s-l2-v4.kar.provenance.json
+1 -1
View File
@@ -78,7 +78,7 @@ vanilla() { # $1 tag
S=$HOME/work/vanilla-strata/control/bin/strata
cd "$HOME/work/vanilla-strata/control"
T0=$(date +%s)
timeout 2400 $S launch --model iq3_s --family qwen --model-path /home/para/leleka-gates/assets/model --context 256k --kv int8 --vision off --parallel 1 --tune skip --access local --port 8090 --no-api-key --no-tui --yes > "$R/launch.out" 2>&1
timeout 2400 $S launch --model iq3_s --family qwen --model-path /home/para/work/leleka/models/leleka-gates/assets/model --context 256k --kv int8 --vision off --parallel 1 --tune skip --access local --port 8090 --no-api-key --no-tui --yes > "$R/launch.out" 2>&1
echo "launch_rc=$? ready_wall_s=$(( $(date +%s) - T0 ))" >> "$R/env.txt"
if curl -fs http://127.0.0.1:8090/v1/models > "$R/models.json"; then
( while true; do echo "$(date +%T),$(nvidia-smi --query-gpu=temperature.gpu,utilization.gpu,power.draw,clocks.sm,memory.used --format=csv,noheader)" >> "$R/mon.csv"; sleep 5; done ) & MON=$!
+1 -1
View File
@@ -16,7 +16,7 @@ D=/data/leleka-e2e/decode/dt
O=/data/leleka-e2e/runs/speedtrain3-id
mkdir -p $O
export LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib:$HOME/cuda-toolkits/13.2.2/lib64:${LD_LIBRARY_PATH:-}
A=$HOME/leleka-gates/assets
A=/home/para/work/leleka/models/leleka-gates/assets
G=$HOME/work/gpu-runs
CAP=/data/leleka-e2e/sm120/capture
export LELEKA_STRA169_KAR_PROVENANCE=$A/qwen-iq3-s-l2-v4.kar.provenance.json
+1 -1
View File
@@ -20,7 +20,7 @@ set -uo pipefail
HERE=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
W=$HOME/work/leleka-e2e
G=$HOME/work/gpu-runs
A=$HOME/leleka-gates/assets
A=/home/para/work/leleka/models/leleka-gates/assets
BIN=${E2E_BIN:-$W/bin-sm120}
OUT=${E2E_OUT:-$W/runs/$(date -u +%Y%m%dT%H%M%SZ)}
CLIENT=${E2E_CLIENT:-$HERE/e2e_client.py}
+1 -1
View File
@@ -1,7 +1,7 @@
# sourced by the 91x-mem-*.sh job scripts (claude/memory-safety). Model inputs as the prefix jobs; experts are FILE-MAPPED by default so
# MemAvailable stays high (the operator's rule: >= 15 GiB at all times); a watchdog kills the test if it ever falls below 15 GiB.
export PATH=$HOME/cuda-toolkits/13.2.2/bin:$PATH RUST_BACKTRACE=1 LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib:$HOME/cuda-toolkits/13.2.2/lib64:${LD_LIBRARY_PATH:-}
A=$HOME/leleka-gates/assets
A=/home/para/work/leleka/models/leleka-gates/assets
G=$HOME/work/gpu-runs
mkdir -p $G/mtp-staging-own $G/mem-logs; chmod 700 $G/mtp-staging-own
export LELEKA_STRA169_KAR_PROVENANCE=$A/qwen-iq3-s-l2-v4.kar.provenance.json
+1 -1
View File
@@ -1,6 +1,6 @@
set -uo pipefail
export RUST_BACKTRACE=1 LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib:$HOME/cuda-toolkits/13.2.2/lib64:${LD_LIBRARY_PATH:-}
A=$HOME/leleka-gates/assets
A=/home/para/work/leleka/models/leleka-gates/assets
N=$HOME/work/gpu-runs/numerics
mkdir -p $HOME/work/gpu-runs/mtp-staging-own; chmod 700 $HOME/work/gpu-runs/mtp-staging-own
rm -rf $N/resid_lad; mkdir -p $N/resid_lad
+1 -1
View File
@@ -22,7 +22,7 @@ def extract(joblog, casedir):
def serve(casedir, outdir, nokar=False, cpu_experts=False, cpu_order=False):
A = H + "/leleka-gates/assets"
A = "/home/para/work/leleka/models/leleka-gates/assets"
exe = H + "/work/numerics-orig/build/strata"
cases = sorted({f.split(".")[0] for f in os.listdir(casedir)})
env = dict(os.environ)
+1 -1
View File
@@ -2,7 +2,7 @@
# Environment of the long-context smoke of jobs 968/973 (tier 2048 slots per layer + profile, INT8 KV streamed, 30 GiB budget) + helpers.
set -uo pipefail
export PATH=$HOME/cuda-toolkits/13.2.2/bin:$PATH RUST_BACKTRACE=1 LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib:$HOME/cuda-toolkits/13.2.2/lib64:${LD_LIBRARY_PATH:-}
A=$HOME/leleka-gates/assets
A=/home/para/work/leleka/models/leleka-gates/assets
G=$HOME/work/gpu-runs
P3=$HOME/work/leleka-perf3
mkdir -p $G/mtp-staging-own; chmod 700 $G/mtp-staging-own
+1 -1
View File
@@ -3,7 +3,7 @@
set -uo pipefail
export PATH=$HOME/cuda-toolkits/13.2.2/bin:$PATH RUST_BACKTRACE=1
export LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib:$HOME/cuda-toolkits/13.2.2/lib64:${LD_LIBRARY_PATH:-}
A=$HOME/leleka-gates/assets
A=/home/para/work/leleka/models/leleka-gates/assets
G=$HOME/work/gpu-runs
LD=$HOME/work/ledger
OUT=$LD/traces; mkdir -p $OUT
+2 -2
View File
@@ -2,11 +2,11 @@
# teacher-forced reads + free requests) and port_run (the port's Original-serve smoke, forced pass + free pass).
# Layout: $Q = ~/work/gpu-runs/quality (cases/, force/, runs/<label>/); scripts are copied there by the operator.
export LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib:$HOME/cuda-toolkits/13.2.2/lib64:${LD_LIBRARY_PATH:-}
A=$HOME/leleka-gates/assets
A=/home/para/work/leleka/models/leleka-gates/assets
G=$HOME/work/gpu-runs
Q=$G/quality
PH=$G/baseline/profile.bin
ORIG_BIN=${ORIG_BIN:-$HOME/leleka-gates/stra169-ladder/build-sm120/strata}
ORIG_BIN=${ORIG_BIN:-/home/para/work/leleka/models/leleka-gates/stra169-ladder/build-sm120/strata}
ALL17=O0,O1,O2,O3,O4,O5,Ob0,Ob3,Ob4,S0,S2,S3,A0,A2,A3,A4,A5
mkdir -p $G/mtp-staging-own; chmod 700 $G/mtp-staging-own $Q/runs 2>/dev/null; mkdir -p $Q/runs
mem_ok() { local avail; avail=$(awk '/MemAvailable/{print int($2/1048576)}' /proc/meminfo); echo "MemAvailable GiB: $avail"; [ "$avail" -ge ${1:-60} ]; }
+1 -1
View File
@@ -1,6 +1,6 @@
# sourced by the 9a*-spec-*.sh holder jobs (claude/adaptive-spec); defines run_arms
export LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib:$HOME/cuda-toolkits/13.2.2/lib64:${LD_LIBRARY_PATH:-}
A=$HOME/leleka-gates/assets
A=/home/para/work/leleka/models/leleka-gates/assets
G=$HOME/work/gpu-runs
mkdir -p $G/mtp-staging-own; chmod 700 $G/mtp-staging-own
export LELEKA_STRA169_KAR_PROVENANCE=$A/qwen-iq3-s-l2-v4.kar.provenance.json
+1 -1
View File
@@ -5,7 +5,7 @@ COLD=@COLD@
STARTS=@STARTS@
R=$HOME/work/deploy-run/$V
S=$HOME/work/deploy-run/state-$V
A=$HOME/leleka-gates/assets
A=/home/para/work/leleka/models/leleka-gates/assets
M=$A/model
CUBLAS=$HOME/cuda-toolkits/cublas-12.9.1.4/lib
evict() { for f in "$@"; do dd if="$f" iflag=nocache count=0 status=none 2>/dev/null || true; done; }
+1 -1
View File
@@ -3,7 +3,7 @@ set -uo pipefail
V=@V@
STAMPS=@STAMPS@
R=$HOME/work/deploy-run/$V
A=$HOME/leleka-gates/assets
A=/home/para/work/leleka/models/leleka-gates/assets
M=$A/model
export LELEKA_RUNTIME_TOKEN=$(printf 'x%.0s' $(seq 1 40))
evict() { for f in "$@"; do dd if="$f" iflag=nocache count=0 status=none 2>/dev/null || true; done; }
@@ -5,7 +5,7 @@
# Trimmed on the coordinator's decision: ONLY the CRM session (3 arms) plus one 6-prompt corpus arm with V3 (the Ukrainian prompt 3 tokens per round with the Cyrillic
# union; the none / shipped numbers of the same corpus are in ledger job 9004, port-corpus-b / port-corpus-rt). Model job, 4 arms of ~7 min.
set -uo pipefail
A=$HOME/leleka-gates/assets; G=$HOME/work/gpu-runs
A=/home/para/work/leleka/models/leleka-gates/assets; G=$HOME/work/gpu-runs
export LD_LIBRARY_PATH=$HOME/cuda-toolkits/cublas-12.9.1.4/lib:$HOME/cuda-toolkits/13.2.2/lib64:${LD_LIBRARY_PATH:-}
export LELEKA_STRA169_KAR_PROVENANCE=$A/qwen-iq3-s-l2-v4.kar.provenance.json
export LELEKA_STRA169_IQ3S_SHARD0=$A/model/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf
+1 -1
View File
@@ -9,7 +9,7 @@ gen() { # number name suite
# claude/schedule: model-free roofline microbenchmark "$3" (tools/microbench), not a model process. See docs/roofline.md.
set -uo pipefail
cd \$HOME/work/roofline-bin
G=\$HOME/leleka-gates/assets/model/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf
G=/home/para/work/leleka/models/leleka-gates/assets/model/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf
nvidia-smi --query-gpu=timestamp,pstate,pcie.link.gen.current,pcie.link.width.current,clocks.sm,clocks.mem,power.draw,temperature.gpu --format=csv,noheader -lms 1000 > /tmp/roofline-$2.smi &
S=\$!
bash ./run_all.sh \$HOME/work/roofline-bin "\$G" $3