mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 15:58:53 +00:00
UD-IQ4_XS sits between IQ3_S and UD-Q4_K_XL: IQ3_S gate/up experts (IQ4_XS in one layer) with IQ4_NL downs (Q8_0 in five layers), 59.5 GB of them, and UD-Q4_K_XL's dense side. The engine's kernels already take these formats; it was packed (iq_pack.py --compat-bf16) and run on the Strix Halo, not yet on NVIDIA. - MODELS["UD-IQ4_XS"] in the unsloth family: three shards pinned at the same revision 38bb39e with their sizes and SHA-256 (the Hub's LFS pointers), the RAM budget like UD-Q4_K_XL (budget, one GPU, no images, --compat-bf16 pack, no experts.bin), engine 0.1.38 or newer (the fused-layout fix for packs not every layer of which is covered). - A model can have its own shard pattern and count (model_file / model_shards); budget_model() tells which Unsloth model a config runs, for the #498 multi-GPU messages and RAM need. - The AMD question (#429) stays for UD-Q4_K_XL only (nvidia_only): UD-IQ4_XS's formats have AMD prompt kernels. - --gguf-dir accepts UD-IQ4_XS files (#444's list says so). - UNSLOTH_Q4.md: its files, what setup does, what is known (Strix Halo), and the BF16 rounding of the hyper-connection projections that every --compat-bf16 pack has (not changed here). MODELS.md: a paragraph. - test_setup_unsloth: pins, budget, a mocked install, the engine check, no AMD question, the config read back. UD-Q4_K_XL's install, its tests and every other model's config are unchanged.