Files
UnbiasedStrata/AGENTS.md
T
Robert Karl 0197ae86eb Import PolyStrata v0.1.45-poly.1 (d0cd84dc) unmodified
The upstream release tree, every tracked file byte for byte, from
https://github.com/VecSzn/PolyStrata at tag v0.1.45-poly.1, commit
d0cd84dc6bd009d1d9e2191e4e28cc76b80f1ee3. Nothing added, removed or edited;
git diff against this commit is the whole story of the fork.

Verified: the commit's tree hash equals the upstream commit's tree hash.
2026-10-17 19:34:32 -07:00

2.8 KiB

AGENTS.md

PolyStrata runs the Qwen3.8-Flash-Next mixture-of-experts model (and its Coder, Swift 1.5 and Unsloth variants) on a normal PC: one NVIDIA or AMD graphics card plus system RAM, on Windows or Linux. It has a C++/CUDA/HIP engine (src/, include/), a Python server with an OpenAI- and Anthropic-compatible API and a web app (serve/), and a one-click installer (setup.py, started by START-HERE.bat / setup.sh).

A second engine, strata-poly (src/poly/), runs GLM 5.3 Flash and three smaller models from their GGUF files, on Linux with one NVIDIA card: docs/GLM.md, docs/BACKENDS.md. The Qwen engine, the installer, the server and the web app come from Strata.

Installing PolyStrata for a user

Follow docs/AI_SETUP.md: check the PC, pick the model by RAM, run setup non-interactively, start and verify the server, and connect the user's apps. Never expose the server beyond 127.0.0.1 without --api-key. As an alternative to shell commands, PolyStrata's MCP server (docs/MCP_SERVER.md) offers the same steps as tools.

Working on the code

  • How the engine works, every measured number, the API and all settings: docs/DETAILS.md and the paper.
  • AMD (HIP) build and validation: docs/AMD_HIP.md; multi-GPU: docs/MULTI_GPU.md.
  • Text taken from the Strata project names that project. After merging from it, python tools/polystrata_names.py writes PolyStrata again; its first lines say what it leaves alone.
  • Setup's own tests run without a GPU or downloads: python tools/test_setup_<name>.py (for example tools/test_setup_amd.py, tools/test_setup_choices.py).
  • Keep the docs' style: plain words, measured numbers with what they were measured on, no claims without a measurement.

Contributing a change or report

  • Search the open issues and pull requests first, and add to a thread that already covers your point.
  • Open an issue with the form that fits (bug report, feature request or question).
  • One change per pull request. Say what it changes and what it leaves alone.
  • A new feature is opt-in, and the default path stays byte-identical to the last release. Say how you checked.
  • Build every backend a file touches (CUDA, HIP, SYCL) before asking for review.
  • Change a default only where you measured it faster, and show the numbers with what they were measured on.
  • A report from hardware the maintainers do not have is welcome. Follow docs/COMMUNITY_BENCHMARKS.md, compare against a same-day run of the build you are testing, and say what you did not test.
  • Open test requests and the hardware that is wanted are listed in docs/TEST_REQUESTS.md.