okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-141-fixb: Python, docs and bench fixes and portsef8071303

main
3.6 KiB62 linesraw
1# Environment
2
3## Host
4
5- OS: Windows 10 Pro 26H2, build 26300.
6- Virtualization: WSL 2.7.10.0, kernel 6.18.33.2-2; Docker Desktop 4.84.0, client and server
7  29.6.2, buildx v0.35.0-desktop.2. Nothing was run against a bare-metal Linux host.
8- CPU: AMD Ryzen 9 9950X 16-Core Processor, 16 cores / 32 threads, AVX-512.
9- RAM installed: 64 GB (Windows reports 65,080 MB).
10- RAM visible inside the container: 58,965,274,624 B = 54.9 GiB. This is not Docker Desktop's
11  default: by default it caps the WSL2 VM at 50 % of host RAM (~31 GB), and Strata's setup reads
12  RAM from `/proc/meminfo`, so at 31 GB it silently selected the low-RAM mode for the Coder
13  ("the GPU holds ~38 % of IQ1_M's experts, the other ~15 GB stay in RAM"). `%UserProfile%\.wslconfig`
14  with `memory=56GB` was added before the measured runs, and setup then chose the normal mode. The
15  file is attached as [wslconfig.txt](wslconfig.txt); a Docker Desktop restart (`wsl --shutdown`) is
16  needed for it to take effect.
17- Storage: `C:` XPG MARS 980 PRO, 1908 GB, NVMe SSD — holds the WSL2 VHDX, and therefore the image
18  and the `/data` volume. `D:` ST4000DM004-2U9104, 3726 GB, HDD — not used by this benchmark.
19  Docker reports its data root as `/var/lib/docker` inside the WSL2 VM, so both the 13.1 GB image and
20  the 64 GB of model files sit on the NVMe.
21- GPU: NVIDIA GeForce RTX 5080, 16,303 MiB reported VRAM, driver 617.14.
22- PCIe: link Gen 5, width **x8**, while the card reports a maximum width of x16. The engine's own
23  startup transfer probe measured 28.9 GB/s host-to-device. See the report's limitations.
24- GPU power limit 360 W (maximum 380 W). Clocks were not fixed, no thermal soak was run.
25- Background workloads: Docker Desktop and the browser driving the harness. No other GPU work.
26
27## Container
28
29- Built from the repository's own Dockerfile, **unmodified**:
30  `docker build -t strata --build-arg CUDA_ARCHITECTURES=120 .`
31  (`120` is the RTX 50 architecture; the image keeps the engine inside it, so the container itself
32  never compiles.)
33- Base image: `nvidia/cuda:13.0.0-devel-ubuntu24.04@sha256:1e8ac7a54c184a1af8ef2167f28fa98281892a835c981ebcddb1fad04bdd452d`.
34- CUDA 13.0.48 (`nvcc` V13.0.48); GCC 13.3.0 (`Ubuntu 13.3.0-6ubuntu2~24.04`); Python 3.12.3.
35- Strata commit `d5ea7133741e67743c0e886bb426c0ce8d69cf6c` ("Version 0.1.40.3"); engine 0.1.40.3,
36  `source=local`, CUDA architectures `[120]`, vision compiled for CUDA — see [BUILD.json](BUILD.json).
37- Installed Python packages: [python-packages.txt](python-packages.txt).
38
39## Launch
40
41Both measured configurations were started the way the image's own entrypoint documents, from the
42same `strata-data` volume, so only `CONTEXT` and `REINSTALL` differ between them:
43
44```bash
45docker run -d --name strata --gpus all --network strata-net \
46  -p 127.0.0.1:8080:8080 --ulimit memlock=-1 --stop-timeout 60 \
47  -v strata-data:/data \
48  -e FAMILY=coder -e MODEL=IQ1_M -e CONTEXT=131072 -e VISION=cpu -e GPU=0 \
49  strata
50
51# the second configuration, same volume, settings changed for a model already set up
52docker run -d --name strata --gpus all --network strata-net \
53  -p 127.0.0.1:8080:8080 --ulimit memlock=-1 --stop-timeout 60 \
54  -v strata-data:/data \
55  -e FAMILY=coder -e MODEL=IQ1_M -e CONTEXT=65536 -e VISION=cpu -e GPU=0 -e REINSTALL=1 \
56  strata
57```
58
59The port is published on `127.0.0.1` only, so no API key was configured (`api_key: false` in
60`/health`). The first start downloaded the model, the MTP layer and the vision encoder (~65 GB,
6159 minutes on this connection) and prepared the pack; the second configuration re-ran setup only to
62change the recorded context and was serving 120 s after `docker run`.