mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3574] hope support ornith 122b ,zhe model source to qwen3.5 122b arc #1468
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1468
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @topspinspp on GitHub (Oct 21, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3574
hope support ornith 122b ,zhe model source to qwen3.5 122b arc
@github-actions[bot] commented on GitHub (Oct 21, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
strata --version).Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@kirinriki7777-sys commented on GitHub (Oct 21, 2026):
I tried Ornith-1.5-122B on the Qwen3.6 engine path (strata-q36). With three small changes it loads and answers; on a 24 GB card in the hybrid mode it is slow, and the measurements point at two things the engine path could change. Details below in case they help.
Setup: Google Colab L4 (sm_89, 22.5 GiB usable VRAM, 53 GB RAM, 12 vCPU Xeon 2.2 GHz = 6 cores), Linux, CUDA engine built with
./setup.sh --family qwen36 --model UD-Q4_K_XL --context 131072 --vision cpu --buildon011c9e6(0.2.2) plus the patch below, then the run config's--nativepointed at AtomicChat'sOrnith-1.5-122B-AD-IQ3_S-IQ3_XXS(rev6c2d63e, routed experts IQ3_XXS gate/up + IQ3_S down on every layer, dense Q8_0, the MTP block's experts Q4_K) and the tokenizer pack rebuilt from that file withtools/strata_tokenizer.py.Geometry: Ornith-1.5-122B is
qwen35moewith hidden 3072, 48 layers, 32 query / 2 KV heads of 256, 256 experts top-8, expert FF 1024, GDN 16 K / 64 V heads, and an MTP block (blk.48).load()takes it (head 256, state 128, conv 4, experts <= 512, top-k <= 15 all hold), andcheck_gguf_layoutpasses (899 tensors).What stopped it, and the patch
kNativeHBytes = 1024(include/strata/kernels/cpu/native_expert.hpp) is sized for Flash-Next's FF 640. FF 1024 as Q8_K is 1,168 bytes, sonative_fmtrefuses withactivation larger than the pool's buffersin the hybrid mode.STRATA_D_FMTS(src/kernels/cuda/iq_kernels.cu) has no IQ3_XXS / IQ3_S downs (FF 640 is not a multiple of 256; FF 1024 is).--mtp 0(q36_engine.cu, the comment abovem.has_mtp = g.n_mtp_layers > 0), so its Q4_K/Q4_K experts hit the same table:blk.48.experts are Q4_K/Q4_K, which the native expert kernels do not take.Checked on an RTX 3060 with the shapes changed to 3072 / 1024 (
H, FFinnative_expert_parity.cpp, extracheck()rows innative_grouped_parity.cpp; those test edits are not part of the patch):native_expert_parity --syntheticiq3_xxs/iq3_s, iq2_s/iq3_xxs, q4_K/q4_K allok(cpu rel 2.3e-02, gpu rel 1.2e-02, the same as the existing iq3_s/iq4_xs pair; GPU dequant bit-equal to ggmlto_float),native_grouped_parity: 0 failures. I did not run the real file against llama.cpp token by token.VRAM on a 24 GB card (128K context)
10.18 GiB on the GPU)STRATA_Q8_PACKED)With the packed copies (default) it stops at
not enough VRAM left for the hybrid experts' buffers and slots (2784 MiB needed, 865 MiB free ...). WithSTRATA_Q8_PACKED=0it starts with 8 slots per layer at 128K and 41 at 32K.Hit rate and speed, 32K,
STRATA_Q8_PACKED=0(--tokenswith a 2,529-token Japanese summarisation prompt,--n 384, greedy; thehybrid experts: ... batch entries on the GPUline at exit)--expert-slotsSTRATA_Q8_PACKED=0and 59.4 with the packed copies (one run each), so the model itself is fine on this path; the L4 numbers are the hybrid split.-fit, experts placed per layer) decodes at 10.7 tok/s on a short prompt.Long context (128K config, 8 slots, sampled chat requests, the same documents as my #2464 comment) is in #2464.
Not tested: other Ornith files, greedy with MTP drafts,
--batch> 1, pictures (the mmproj's output width is 3072 here).@topspinspp commented on GitHub (Oct 22, 2026):
thank you very much
@Niko1221 commented on GitHub (Oct 22, 2026):
Thanks. Ornith 122B is not in the plan for the next release, but we want to add it later. We'll update this issue when the work starts; the report in this thread will help then.
@github-actions[bot] commented on GitHub (Oct 26, 2026):
Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection.
To bring it back: fix the title (area prefix) and the missing parts, then comment
/reopen. A check runs and reopens it, or tells you what is still missing. See CONTRIBUTING.md.@kzolti commented on GitHub (Nov 1, 2026):
/reopen
Following the detailed report from @kirinriki7777-sys above, I'd like to ask about a specific quantization variant.
The report tested
AtomicChat/Ornith-1.5-122B-AD-IQ3_S-IQ3_XXS(IQ3_XXS gate/up + IQ3_S down). For many users the relevant file is the Unsloth build:unsloth/Ornith-1.5-122B-GGUFOrnith-1.5-122B-UD-Q3_K_XL-00001-of-00003.gguf@kirinriki7777-sys measured 10.7 tok/s with this file on llama.cpp b11467 on an L4, so the file itself works. My question is:
strata-q36path with the patches described above also accept the UnslothUD-Q3_K_XLlayout (experts IQ3_XXS/IQ3_S, dense Q8_0, MTP block Q4_K), or does it only work with the AtomicChat file?I have not tested this locally, so no logs from me — this is a scope/clarification question, not a bug report.
@kirinriki7777-sys commented on GitHub (Nov 1, 2026):
On question 1, since the patch is mine: no, I don't think it is enough for unsloth's UD-Q3_K_XL. That file's layout is not the AtomicChat one. I read the tensor types from the headers of the three split files (rev
745bd74, 899 tensors) and compared them with the currentmain(c62d5e3) plus the patch; the parts below are the same there as on011c9e6, where I made the patch. I did not run the file, so the failure below is read from the code, not observed.Routed experts in UD-Q3_K_XL
The dense tensors are not all Q8_0 either: attention,
ssm_outand the shared experts mix Q8_0, Q4_K, IQ4_XS, Q5_K, Q6_K, IQ3_XXS, IQ3_S and Q3_K.native_mmvq_supportedtakes all of those, so the dense side should load.What stops it
STRATA_GU_FMTShas no IQ1_S (19), andSTRATA_D_FMTShas neither Q3_K (11) nor IQ1_S (src/kernels/cuda/iq_kernels.cu).Fmt<19>orFmt<11>for the grouped expert kernels, so this needs new kernel code, not just more table entries like the IQ3_XXS / IQ3_S downs in my patch.blk.0.experts are IQ1_S/IQ1_S, which the native expert kernels do not take.After that, on a 24 GB card (an estimate)
The MTP block's experts are Q8_0 here, not Q4_K, so that layer is about 2.39 GiB instead of 1.27 GiB. The hybrid staging is two of the largest layer, the MTP block included (
max_layerinq36_engine.cu), so it would grow from 2.53 GiB to about 4.8 GiB, leaving less room than the AtomicChat file did.Question 2 is for the maintainer. Everything above is about my local patch only, not about what the planned Ornith support will cover.
@kzolti commented on GitHub (Nov 2, 2026):
Thanks @kirinriki7777-sys — good to know the Unsloth UD-Q3_K_XL would need new
IQ1_S/Q3_Kkernels. I'm not tied to that build; the AtomicChatAD-IQ3_S-IQ3_XXSfile you patched works for my use case, so I'll use that once Ornith support lands. (No local run from me; based on your header read and main atc62d5e3.)