mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 23:08:36 +00:00
third_party/strata-llama (919 files, 22 MB, llama.cpp's llama, mtmd and ggml at the pin) fed only two picture-reader test programs that no build or package compiled. Both go: strata-vision-gguf-test and its gguf_meta.h opened a GGUF through llama.cpp's API and nothing else used them (the own reader reads GGUF with gguf_lite; test_gguf_geometry.cpp section 1b now covers a GGUF with unknown tensor types and missing shards); strata-vision-prep-oracle stays as a test oracle that takes an external checkout (-DLLAMA_DIR=, not vendored, never shipped). The overrides kept "for two releases" are removed: STRATA_GGML_DIR in the CUDA, HIP, SYCL, Spark, Mac and Windows build scripts and in setup.py, LLAMA / GG / LLAMA_CPP / --llama, and STRATA_GGUF_PY in the tools and setup (llama_override, get_llama_cpp and llama_cpp_if_here stay as stubs that return None because tests patch them). The CMake option that remains is -DSTRATA_ORACLE_GGML_DIR, for test builds only: it is refused without STRATA_BUILD_TESTS, so a release configure cannot take it. Release engines, readers and packages are unchanged: none of them compiled or linked anything of the deleted tree.
40 lines
1.7 KiB
Plaintext
40 lines
1.7 KiB
Plaintext
# Frozen prompts are hashed byte for byte (manifest sha256): never convert their line endings.
|
|
terminal/bench/prompts/** -text
|
|
|
|
# launchers keep their platform line endings wherever the repository is cloned
|
|
*.sh text eol=lf
|
|
*.bat text eol=crlf
|
|
*.cmd text eol=crlf
|
|
*.ps1 text eol=crlf
|
|
terminal/bin/strata text eol=lf
|
|
|
|
# copies of real packs' native_experts.txt, parsed byte for byte by engine/tests/core/expert_layout_test.cpp
|
|
engine/tests/data/native_experts/** -text
|
|
|
|
# the quant yardstick's text set: tokenized byte for byte (set.ids.json), never convert its line endings
|
|
terminal/data/quant_quality/** -text
|
|
|
|
# the license text is shipped and checked as LF text on every checkout
|
|
LICENSE text eol=lf
|
|
|
|
# container scripts run in Linux: always LF
|
|
tools/docker/*.sh text eol=lf
|
|
tools/docker/Dockerfile.src text eol=lf
|
|
tools/docker/Dockerfile text eol=lf
|
|
tools/docker/compose/* text eol=lf
|
|
|
|
# Apple tools (codesign, plutil) read these: LF only, wherever the repository is cloned
|
|
*.plist text eol=lf
|
|
|
|
# vendored KaTeX (terminal/serve/web/vendor): the files are hashed byte for byte (PROVENANCE.json), never convert their line endings.
|
|
terminal/serve/web/vendor/** -text
|
|
engine/third_party/strata-ggml/** text eol=lf
|
|
engine/third_party/strata-gguf-py/** text eol=lf
|
|
|
|
# chat templates are read and hashed byte for byte (the served prompt, tools/test_qwen4_intake): LF wherever the repository is cloned
|
|
*.jinja text eol=lf
|
|
|
|
# the image gate's recorded data (merges with their ranks, expected token ids, table hashes) is read byte for byte by the test programs
|
|
# (terminal/tools/test_te_tokenizer.py: a CR at a line end made every merge unknown on a Windows checkout); never convert its line endings
|
|
terminal/tools/image/gate/data/** -text
|