deploy: support split Strata SSD storage and document IQ3 relocation
This commit is contained in:
1 parent
66a9bcdbcb
commit
83b3660d4d
3 files changed
+76
-2
No files matched your search
@@ -0,0 +1,60 @@
|
||||
# Strata IQ3 storage on Samsung 980 PRO
|
||||
|
||||
The user authorized moving IQ3 to the system SSD while no request was running.
|
||||
The transfer covers `models/IQ3_XXS` (both GGUF parts and preparation marker)
|
||||
and `packs/iq3_xxs` (including the actual experts.bin used by Strata).
|
||||
It does not move IQ2, shared MTP weights or the CPU vision projector.
|
||||
|
||||
## Layout and deployment
|
||||
|
||||
- Physical destination: `/opt/athena-deck-dev/runtime/state/strata-ssd` on the
|
||||
Samsung 980 PRO root filesystem.
|
||||
- Logical storage remains `/data/athena-deck-strata`; its IQ3 model and pack
|
||||
directories become symlinks to the destination.
|
||||
- Catalog links and preparation metadata retain their existing logical paths.
|
||||
- Container installation manifest `strata_storage_mounts` includes the physical
|
||||
destination, mounted read/write at the identical absolute path. The regular
|
||||
`strata_storage` mount remains present for IQ2 and shared components.
|
||||
- `deploy/install.py` supports these additional explicit storage mounts.
|
||||
The retired Abliterated reference model is no longer a mandatory startup
|
||||
prerequisite; the two active reference models are still checked.
|
||||
|
||||
## Migration procedure
|
||||
|
||||
Copy the two directories, compare SHA-256 for every file, check that there are
|
||||
no active endpoint requests, stop Deck, swap logical directories to symlinks,
|
||||
recreate only the Deck container with its existing image and the added mount,
|
||||
and run a synthetic IQ3 request. Remove old directories only after acceptance.
|
||||
Other service containers and IQ2 are not stopped or modified.
|
||||
|
||||
## Native installation and restore
|
||||
|
||||
A native Debian service can follow these host symlinks directly and requires
|
||||
no container mount. Configure destination ownership for its actual service
|
||||
account; the current test deployment uses UID/GID 65534.
|
||||
|
||||
On restore, provision the physical destination and recreate the two symlinks
|
||||
before launching Deck. For the optional container installation preserve both
|
||||
the `strata_storage` and `strata_storage_mounts` settings. Prepared weights
|
||||
remain pinned by the existing Strata recipe; they can be reacquired and
|
||||
prepared rather than placed in Git. Do not assume copying symlinks alone backs
|
||||
up their external contents. Private voices and encrypted backup policy are
|
||||
unchanged. No full restore exercise is part of this relocation.
|
||||
|
||||
Migration evidence is kept on Athena at
|
||||
`/opt/athena-deck-dev/iq3-ssd-20261013/status.json` (phases, checksums and
|
||||
synthetic acceptance metrics only). Completion must be verified there.
|
||||
|
||||
## Verified result
|
||||
|
||||
Migration completed with all 16 file checksums matching. Both logical IQ3
|
||||
directories resolve to the root SSD; the running Strata process maps
|
||||
`strata-ssd/packs/iq3_xxs/experts.bin`. A fresh request through the public Deck
|
||||
endpoint returned the correct synthetic arithmetic answer. Only Deck was
|
||||
recreated, using the same image; IQ2 and the other service containers remained
|
||||
unchanged. Old IQ3 directories were removed after acceptance; shared hardlinks
|
||||
outside them were retained. Root free space is **166.33 GiB**.
|
||||
|
||||
The three-token acceptance answer is not a speed benchmark; no performance
|
||||
improvement is claimed from its timing. The lightweight installer rollback
|
||||
copy excludes `strata-ssd`, as it already excludes other reconstructible weights.
|
||||
Reference in new issue
Block a user