Files
Strata/tests/data
Niko1221 5e29505f7b models import / setup --gguf-dir: a Qwen3.6-35B-A3B file the Qwen3.6 engine loads is accepted as family qwen36 (#5869)
The shared importer (strata_control/models.plan_import; `strata models import
--plan`, which the app's local-GGUF import and the Terminal's "use my own
files" both call) accepted architecture qwen4exp only, so a Qwen3.6
(qwen35moe) file was "not supported" in both. It now names family qwen36 for
a qwen35moe file set when every tensor passes the checks the Qwen3.6
engine's loader makes (strata_control/q36_types.py, a mirror of
src/qwen35/q36_engine.cu load()):
- routed experts: gate and up one type, in STRATA_GU_FMTS; down in
  STRATA_D_FMTS (the release build, STRATA_Q6K_EXPERTS=ON);
- the matrices mat() loads: native_mmvq_supported;
- the vectors f32() loads: F32, F16, BF16, Q8_0; token_embd: a known type.
The run-time fused / int8 / FP16 kernels fall back to these and refuse no
file. Any tensor that fails, or more than one file, keeps the existing
"not supported" words. A file under the published name is that size; under
another name the closest size by its expert type, with the existing "not
exactly a build Strata has tested ... layout of ..." line. gguf_preflight
gets tensor_types() (the per-name directory, same bounds).

setup's install_own_path with --gguf-dir now takes the folder's one model
file when it is not under the published name (own_path_gguf_in; mmproj and
.part files do not count; two files are not guessed); the size and SHA-256
checks keep the published file's values and verify_sha256's existing
own-file rules (a complete GGUF of another size or hash is used with its
warning).

Tests: tests/terminal/test_q36_types.py (11): the sets equal the CUDA
source text (iq_kernels.cu, native_mmvq.cu, q36_engine.cu upload_f32) and the
packaging flag; every name f32()/mat() reads is classified; setup's size list
and file pattern; the catalog's three published sets are all accepted, from
their real tensor type tables (tests/data/q36_types/*.types.json: read from
the GGUF headers by HTTP range at the pinned revision
5bc3e238d916f48a861bac2f8a1990a0e9b7e98d, URL in each file, 753 tensors
each; no model bytes kept); a Q4_K down, a Q4_K norm and gate/up of two types
are refused; plan_import: published name -> qwen36/UD-Q4_K_XL, renamed ->
closest size with the line, an unsupported quant -> the existing words, the
CLI the app calls gives the same plan, qwen4exp unchanged; own_path_gguf_in.
With test_own_files, test_models, tools/test_setup_qwen36 and test_launch
203 passed on p2003.
2026-11-16 15:57:44 +01:00
..