mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #314] [CLOSED] feat: Qwen3.8-Flash-Next dense model, native Qwen3.5 attention kernel, strata-dense CLI #2568
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#2568
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/314
Author: @perronemirko
Created: 9/30/2026
Status: ❌ Closed
Base:
main← Head:qwen3.8-27b📝 Commits (10+)
32d7ffafeat: add Qwen3.8-Flash-Next integration06d441efeat: add strata-dense for dense Qwen3.8-27Ba7015a2feat: dense model reads quantized alpha/beta (Q8_0)1787b31feat: dense model splits weights across VRAM and pinned hostaa9f81bfeat: dense model --selftest and STRATA_DENSE_DEBUG tracingf27e3abfix: dense model GDN closes norm with SiLU (Qwen3.5 gated delta)ca2041b🔧 chore(tools): sposta compare_llama.py nella cartella tools per organizzazionebb32ed9fixing build issues9715a6afix(build): link qwen35 attention + dense model430969afeat(tools): generate the default expert-cache profile📊 Changes
41 files changed (+251651 additions, -130 deletions)
View changed files
📝
.gitignore(+4 -0)📝
CMakeLists.txt(+16 -22)➕
HOWTO_IT.md(+504 -0)➖
data/draft_vocab.bin(+0 -0)➖
data/draft_vocab_en.bin(+0 -0)➖
data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf(+0 -0)➖
data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.json(+0 -26)➖
data/experimental-speed-projection/README.md(+0 -21)➖
data/expert-profile-coder.bin(+0 -0)➖
data/expert-profile.bin(+0 -0)➕
data/packs/qwen3.8-27b/tokenizer/chat_template.jinja(+184 -0)➕
data/packs/qwen3.8-27b/tokenizer/merges.txt(+247587 -0)➕
data/packs/qwen3.8-27b/tokenizer/token_type.json(+1 -0)➕
data/packs/qwen3.8-27b/tokenizer/tokenizer.json(+14 -0)➕
data/packs/qwen3.8-27b/tokenizer/vocab.json(+1 -0)➕
include/strata/core/dense_model.hpp(+91 -0)📝
include/strata/core/layer.hpp(+1 -0)➕
include/strata/core/qwen35.hpp(+138 -0)➕
include/strata/kernels/dense_kernels.hpp(+52 -0)➕
include/strata/kernels/qwen35_attention.hpp(+47 -0)...and 21 more files
📄 Description
What
Qwen3.8-Flash-Next (dense, Qwen3.5 architecture) as a first-class model path in Strata — no experts, same server protocol as
strata --serve.New
src/core/qwen35.cpp(+ header): the Qwen3.5 graphsrc/core/dense_model.{cpp,hpp}: dense model; weights split across VRAM and pinned host, quantized alpha/beta (Q8_0)src/kernels/cuda/qwen35_attention.cu(+ header): native Qwen3.5 attention kernel — GDN with the SiLU-gated delta norm closuresrc/kernels/cuda/dense_kernels.cu: dense-path kernelssrc/program/dense_main.cpp:strata-denseexecutable (new CMake target)Changed
layer.{cpp,hpp}: newg_qwen35_gdnflag +layer_set_qwen35_gdn(); the GDN output-norm path branches toqwen35_gdn_out_normverify.cpp: the volatile pointer inraise_flagmoved inside the_WIN32guard (was unused on non-Windows)CMakeLists.txt: new sources instrata_kernels/strata_engine,strata-densetarget; dropped themmvq_multi_parityand sampler one-block/old parity tests, simplified twoEXISTSguardssoftplus_f(gdn.cu), doublewarp_sum/block_sum(gr.cu),to_f16_kernel+ f16 include (shared_expert.cu),CODES_PER_BYTE_S2, unused helpers in gdn/ple/rope parity.gitignore:/data/expert-profile.bin— regenerate withtools/make_default_profile.pyTools
qwen35_pack.py,qwen35_setup.py— pack + setup for Qwen3.8-Flash-Nextdense_setup.py— dense model setupcompare_llama.py— comparison against llama.cppdump_mtp.py,make_default_profile.pyData
data/packs/qwen3.8-27b/tokenizer/(merges, vocab, chat template)40 files changed; ~251k insertions (tokenizer merges.txt dominates). 10 commits on
qwen3.8-27b.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.