Commit Graph
5 Commits
Author SHA1 Message Date
Niko1221 f9bbeeb447 tools: Strata's own GGUF reader/writer and quantizers (strata_gguf, strata_quants), bit-identical to gguf-py; _paths.gguf_lib()
The reader (memmap tensors, fields), the writer (one file, byte-identical to gguf-py for the calls the tools make), the dequantizers of 25 types
and the quantizers the tools use (BF16, Q8_0, Q4_0/1, Q5_0/1). The IQ grids come from strata-quant-common.h through a generator that a test re-runs.
tools/test_strata_gguf.py proves the results against the vendored gguf-py and, without it, against recorded digests.
2026-11-09 04:00:35 +01:00
Niko1221 525c0be13a gguf-py and llama.cpp's HF converter vendored at the pin (third_party/strata-gguf-py)
The pack tools, the NVFP4-local conversion and the fixture generator read GGUF files with gguf-py; until now setup downloaded the whole llama.cpp
zip for it. third_party/strata-gguf-py holds gguf/ (gguf-py), converter/ (convert_hf_to_gguf.py, conversion/) and the licences, byte-identical to
llama.cpp 3cf03257f (UPSTREAM.md lists every file with its sha256; tools/check_vendored.py verifies it, also against a llama.cpp tree with --upstream).
tools/_paths.py finds it first (STRATA_GGUF_PY stays as an override); nvfp4_convert/verify import the vendored converter.
2026-11-08 23:15:53 +01:00
Niko1221 9b8436df4e tools: gguf-py is also looked up in the install folder (STRATA_INSTALL_DIR, the app's folder), so tools run by hand from the Control package find what setup.py downloaded; the error names STRATA_GGUF_PY (#3269) 2026-10-19 23:26:32 +02:00
Niko1221 bbe8944ed3 Prompt lookup that pays, sampling fixes, shallow-path setup fix (engine 0.1.7)
- Prompt lookup on by default: the suffix drafter's windows are taken only where a learned policy (measured
  acceptance per match length, measured window cost) expects more tokens per ms than the MTP window; lookup windows
  up to --spec + 2. Code edits +6-11%, other text unchanged, verified output identical. --suffix-draft 0 = off.
- Per-request sampling (#19) keeps greedy requests on the in-graph sampler (no extra launch per window), and draws
  row t of a window with Philox(seed, pos0 + t), so a seed replays the same text whatever the drafts were.
- tools: a shallow install (G:\Strata) no longer crashes the MTP packer and the pack tools (IndexError, #20).
- setup: says at step 1 when the PC has less RAM than the smallest model needs; requires engine 0.1.7.
2026-09-27 10:18:14 +02:00
Niko1221 01529aaa82 Strata: Qwen3.8-Flash-Next on a 12-24 GB NVIDIA GPU + 64 GB RAM, one-click install
Inference engine, OpenAI/Anthropic API on localhost, optional image input, one-file setup
(START-HERE.bat / setup.sh). Model files are downloaded from Hugging Face by the setup.
2026-09-24 18:42:20 +02:00