Qwen3.8-27B QSAの中間4層を、追加学習なしで推論時に再利用する実験版です。higa2515さんの UD-Q4_K_M をベースに、量子化済みのテンソルをバイト単位で保持し、ループ設定をGGUFのメタデータに追加しています。元モデル
x + 0.5 * (block(x) - x) です。qwen35-qsa-loop を読み込める専用エンジンが必要です。専用エンジンとビルド手順RTX 5090の単一GPU構成で、文脈長2,048のテキスト生成を検証しました。同じThinking・MTP設定の従来Loop実装と比較し、26件すべてで生成トークン列が一致しました。評価の範囲はその構成での再現性です。長文脈と画像・動画は未検証です。MTPは既定で無効です。先読み2ではMTP無効時と出力が変わる場合があります。
This experimental Qwen3.8-27B QSA variant reuses four middle layers at inference time without additional training. It preserves the quantized tensors from higa2515’s UD-Q4_K_M byte for byte and stores the loop configuration in GGUF metadata. Base model
x + 0.5 * (block(x) - x).qwen35-qsa-loop architecture. Engine and build instructionsText generation was checked on a single RTX 5090 with a 2,048-token context. The generated token IDs matched in all 26 paired runs against the previous Loop implementation at matching Thinking and MTP settings. This check covers reproducibility in that setup. Long-context, image, and video inputs are unverified. MTP is off by default. Drafting two tokens can change the output relative to MTP off.
Linux、CUDA 13.2、CMake、Ninja、C++コンパイラ、Hugging Face CLIを使う例です。元のGGUFからLoop版をローカルで作成できます。
This example uses Linux, CUDA 13.2, CMake, Ninja, a C++ compiler, and the Hugging Face CLI. It builds the Loop GGUF locally from the source GGUF.
git clone https://github.com/kiyo2010/Qwen3.8-27B-QSA-llama.cpp.git
cd Qwen3.8-27B-QSA-llama.cpp
export CUDA_HOME=/usr/local/cuda-13.2
./qsa27b/build-loop.sh
hf download higa2515/Qwen3.8-27B-QSA-GGUF \
Qwen3.8-27B-QSA-Unsloth-UD-Q4_K_M.gguf --local-dir models
./qsa27b/export-loop.sh models/Qwen3.8-27B-QSA-Unsloth-UD-Q4_K_M.gguf \
models/Qwen3.8-27B-QSA-Loop-UD-Q4_K_M.gguf
./qsa27b/run-loop.sh models/Qwen3.8-27B-QSA-Loop-UD-Q4_K_M.gguf
ローカルAPI / Local API http://127.0.0.1:8095/v1
生成ファイル / Output file Qwen3.8-27B-QSA-Loop-UD-Q4_K_M.gguf (16,674,185,856 bytes)
SHA-256 ba5bf3462a67daf2c083f0ecc32ec2a6185d1f3832500da45d7398e368cadb34
6209237df53569f07429f3f79fc5354de5fe704f)。モデルの重みはApache-2.0で、上流のライセンスと著作権表記(Copyright 2026 Alibaba Cloud)を引き継ぎます。同梱LICENSE
推論エンジンにはMITライセンスのコードと、第三者ソフトウェアのライセンス・帰属表記が含まれます。エンジンのライセンスと上流ソース
6209237df53569f07429f3f79fc5354de5fe704f.Model weights retain Apache-2.0 and upstream notices, including Copyright 2026 Alibaba Cloud. Bundled LICENSE
The inference engine includes MIT-licensed code and third-party license and attribution notices. Engine licenses and upstream source