README: container section, the fork's own clone URL, the repository home

- 'Container': the Dockerfile's sm_61 build, every engine beside the front end,
  CUDA_ARCHS, the /health healthcheck with its 30-minute start period, and a
  docker run line with the '--' separator the parser requires
  (frontend/main.cpp:91-120).  examples/compose/p40.yml is named with its
  defect: engine options without '--' (t0578).
- The two clone commands pointed at upstream (robertkarl/UnbiasedStrata); this
  fork is what the rest of the README describes, so they name
  git.kropa.tech/hiddenbox/UnbiasedStrata.
- Code line: kropa is home, upstream/origin are the other two remotes.
This commit is contained in:
lotherk committed 2026-11-19 10:12:58 +00:00
1 parent 5cd37fa703
commit a4c4871514
1 file changed
+28 -2
+28 -2
View File
@@ -44,6 +44,9 @@ request and a token. One `make build` on a Linux box with an NVIDIA card produce
Pascal or newer, CUDA 12.x, Linux x86-64, on a machine that may have no network at all. What was changed and why is in
[UPSTREAM.md](UPSTREAM.md); the plan this follows is [PLAN.md](PLAN.md).
Code: https://git.kropa.tech/hiddenbox/UnbiasedStrata (this fork; `upstream` is
github.com/robertkarl/UnbiasedStrata, `origin` github.com/lotherk/UnbiasedStrata).
```
git clone <this repo> && cd UnbiasedStrata
git submodule update --init # shallow, third_party/llama.cpp @ robertkarl/llama.cpp UnbiasedStrata (a6de9af3)
@@ -74,7 +77,7 @@ Pascal — GTX 1080 Ti, compute 6.1:
```bash
nvcc --list-gpu-arch | grep -q compute_61 # CUDA 13 has no sm_61; stay on 12.4
nvidia-smi --query-gpu=driver_version --format=csv,noheader # 550 is below CUDA 13's requirement (>= 580)
git clone https://github.com/robertkarl/UnbiasedStrata && cd UnbiasedStrata
git clone https://git.kropa.tech/hiddenbox/UnbiasedStrata && cd UnbiasedStrata
JOBS=4 make test # no GPU, no model
JOBS=4 make build CUDA_ARCHS=61 # -DSTRATA_EXPERIMENTAL_SM60=ON, -ccbin /usr/bin/g++-13; 15 min, 398 MB, 53 warnings
```
@@ -82,7 +85,7 @@ JOBS=4 make build CUDA_ARCHS=61 # -DSTRATA_EXPER
Ada — RTX 4090, compute 8.9:
```bash
git clone https://github.com/robertkarl/UnbiasedStrata && cd UnbiasedStrata
git clone https://git.kropa.tech/hiddenbox/UnbiasedStrata && cd UnbiasedStrata
make test
make build CUDA_ARCHS=89 # 6m40 on 16 cores, 557 MB, 0 warnings
```
@@ -170,6 +173,29 @@ Model files themselves are downloaded on a machine with network access and copie
not fetch them. The files that have been served, with sizes and SHA-256, are in
[docs/MODEL-FILES.md](docs/MODEL-FILES.md).
## Container
The `Dockerfile` builds the sm_61 (Pascal) flavour in an `nvidia/cuda:12.8.1-devel-ubuntu24.04` stage with
`make build PASCAL=1 CUDA_ARCHS=61`, then copies the front end and every engine into the runtime image, so
`--engine strata`, `strata-poly` and `strata-dsv41` resolve beside the program. `CUDA_ARCHS` is a build argument
(`--build-arg CUDA_ARCHS=86` for an RTX 30). Nothing is downloaded at build or run time; the model shards, the pack
and the MTP draft directory are mounted.
```bash
docker build -t unbiased-strata:p40 .
docker run --rm --gpus '"device=0"' -p 8082:8080 \
-v /path/models:/models:ro -v /path/strata-data:/strata:ro \
unbiased-strata:p40 --engine strata \
-m /models/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf \
--host 0.0.0.0 --port 8080 --threads 6 \
-- --pack /strata/pack-iq3-xxs --mtp /strata/mtp --max-context 262144
```
The separator matters: everything before `--` is a llama-server option, everything after it goes to the engine
(`frontend/main.cpp:91-120`). The image listens on 8080 and its healthcheck asks `/health`, which answers 503 while
the engine loads — hence the 30-minute start period. `examples/compose/p40.yml` is the same setup as a compose
service, but its `command` passes engine options without `--` and does not start (t0578).
## Measured
Each number came from a run directory with the command, the raw client output, the server log and the model files'