mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #96] [CLOSED] Add docker build #2453
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2453
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/96
Author: @djmaze
Created: 9/28/2026
Status: ❌ Closed
Base:
main← Head:docker📝 Commits (4)
e907dacDocker: the engine is compiled during docker build, so the first start only downloads the model37580f9Docker: handle SIGTERM so docker stop ends the container cleanlyc72b121Docker: gate the execv in setup.start behind STRATA_EXECVed70a77Docker: KV, GPUS/GPU/LAYER_SPLIT and LOW_RAM as env vars📊 Changes
6 files changed (+263 additions, -3 deletions)
View changed files
➕
.dockerignore(+27 -0)➕
Dockerfile(+116 -0)📝
README.md(+32 -0)➕
docker-entrypoint.sh(+65 -0)📝
serve/server.py(+18 -3)📝
setup.py(+5 -0)📄 Description
The engine is compiled during docker build, so the first start only downloads the model.
docker build has no GPU, so the CUDA architectures are fixed by an ARG (80;86;89;120) instead of read from nvidia-smi; the engine is a fat binary with a cubin per arch. BUILD.json is written with source=local and the source hash, so setup reuses it instead of recompiling.
The entry point keeps the install config on the volume and selects it by family and model, so switching between models already set up needs no setup pass. REINSTALL stays for settings recorded inside a config.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.