mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1132] [CLOSED] docs: running Strata behind llama-swap #3050
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#3050
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/1132
Author: @christopherrobertbrooks-tech
Created: 10/6/2026
Status: ❌ Closed
Base:
main← Head:docs/llama-swap-v2📝 Commits (1)
505a097docs: running Strata behind llama-swap📊 Changes
1 file changed (+66 additions, -0 deletions)
View changed files
➕
docs/LLAMA_SWAP.md(+66 -0)📄 Description
Reopened from #829, which GitHub closed when
mainwas force-pushed; the page is unchanged. Rechecked against 0.1.40.1:STRATA_ALLOWED_HOSTS/allowed_hosts,/healthand--portwork as the page describes.A new page,
docs/LLAMA_SWAP.md: how to run Strata as one of the models behind llama-swap. Docs only.serve/server.pywith llama-swap's${PORT}(the generatedrun-<model>.shfixes 8080),checkEndpoint: /health, and ahealthCheckTimeoutthat covers Strata's load time.403 Host '...' is not allowed (DNS rebinding protection)when clients reach the proxy by host name; it works by IP or localhost, so it can pass a local test and fail from another machine. Three fixes:STRATA_ALLOWED_HOSTS,allowed_hostsin the config, or an API key./upstream/<model>/...reaches Strata's/healthand/v1/statusthrough the proxy (and loads the model).output_config.effort: "high"by default andCLAUDE_CODE_EFFORT_LEVELchanges it (one measured task, one run per level).Tested on 2026-10-04 with Strata 0.1.39, Coder IQ1_M on a Tesla V100, clients using the machine's host name: the exact entry on the page loaded the model, answered through the host name, and freed the GPU on unload.
The page was drafted with an AI assistant (Claude) from our setup and tests, and checked by me.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.