bailingmoe2_loop)Native GGUF quantizations of webbrain-one/WebBrain-RingLoop-16B-A1.4B (2-pass looped depth over inclusionAI/Ring-mini-2.0, 16.4B total / 1.4B active MoE, 30 logical layers / 30 KV-cache slots) for llama.cpp, sized so 8 GB VRAM consumer GPUs can offload 100% of layers to CUDA/Vulkan/Metal (-ngl 99).
webbrain-one/WebBrain-RingLoop-16B-A1.4Bwebbrain-one/WebBrain-RingLoop-16B-A1.4B-INT3llama.cpp Pull Request: ggml-org/llama.cpp#33298 (architecture bailingmoe2_loop, also included here as llama_cpp_bailingmoe2_loop.patch)Important: Because
bailingmoe2_loopadds depth-loop recurrence and per-pass KV-slot mapping (bailingmoe2_loop.*metadata +loop_msg_query/loop_attn_ctrl_*/loop_ffn_ctrl_*F32 tensors), use allama.cppbuild that includes PR #33298 or applyllama_cpp_bailingmoe2_loop.patch.
WebBrain-RingLoop averaged 32.9% vs. 25.1% for Ring-mini-2.0 across eight matched suites in our December evaluation. The largest gains were +56.0 percentage points on GSM8K, +15.0 points on MATH-500, and +7.5 points on BFCL single-turn.
| Suite | Cases per model | Ring-mini-2.0 | WebBrain-RingLoop |
|---|---|---|---|
| Eight-suite mean | — | 25.1% | 32.9% |
| GSM8K | 100 | 18.0% | 74.0% |
| MATH-500 | 100 | 3.0% | 18.0% |
| BFCL single-turn | 80 | 35.0% | 42.5% |
Both models ran as Q4_K_M GGUF on the same sampled cases. The overall result weights all eight suite scores equally. The GSM8K and MATH-500 runs used a 1,024-token generation cap.
Measured with llama.cpp (-ngl 99 -c 2048, 31/31 layers offloaded on NVIDIA RTX 5090):
| File | Quant | File Size | Model VRAM | Total VRAM (-c 2048) |
Fits 8 GB GPU? | Generation Speed |
|---|---|---|---|---|---|---|
WebBrain-RingLoop-16B-A1.4B-Q2_K.gguf |
Q2_K |
5.8 GiB | 5745.72 MiB | 6.05 GiB (6190.74 MiB) | Yes | 422.74 tok/s |
WebBrain-RingLoop-16B-A1.4B-Q3_K_S.gguf |
Q3_K_S |
6.8 GiB | 6723.67 MiB | 7.00 GiB (7168.69 MiB) | Yes | 406.06 tok/s |
WebBrain-RingLoop-16B-A1.4B-Q3_K_M.gguf |
Q3_K_M |
7.4 GiB | 7402.83 MiB | 7.66 GiB (7847.85 MiB) | Tight (<=8 GB) | 411.78 tok/s |
WebBrain-RingLoop-16B-A1.4B-Q4_K_M.gguf |
Q4_K_M |
9.2 GiB | 9181.64 MiB | 9.40 GiB (9626.66 MiB) | 12+ GB GPU | 274.48 tok/s |
Q3_K_S (7.00 GiB total) leaves ~1 GiB headroom for Windows/desktop compositor and longer contexts; Q3_K_M (7.66 GiB total) fits clean headless Linux or dedicated compute GPUs; Q2_K (6.05 GiB) offers maximum context headroom.test-llama-archs passes 439/439 tests (bailingmoe2_loop CUDA0 NMSE 4.98e-07, CPU 0.00e+00), and BF16 GGUF greedy decoding matches PyTorch 47/47 tokens identically.llama.cpp with llama_cpp_bailingmoe2_loop.patch)# 1. Fetch the PR branch (or apply llama_cpp_bailingmoe2_loop.patch to llama.cpp)
git clone https://github.com/esokullu/llama.cpp.git -b feat/bailingmoe2-loop
cd llama.cpp
cmake -B build -DGGML_CUDA=ON
cmake --build build --target llama-cli llama-server -j
# 2. Download Q3_K_S (7.00 GiB total VRAM) and run
huggingface-cli download webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF \
WebBrain-RingLoop-16B-A1.4B-Q3_K_S.gguf --local-dir ./models
./build/bin/llama-cli \
-m ./models/WebBrain-RingLoop-16B-A1.4B-Q3_K_S.gguf \
-ngl 99 -c 2048 \
-p "Solve carefully: Find the remainder when 7^100 is divided by 10."
Alternatively, apply the bundled patch directly on top of upstream llama.cpp:
git apply llama_cpp_bailingmoe2_loop.patch