Instructions to use webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF:Q4_K_M
- Ollama
How to use webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF with Ollama:
ollama run hf.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF with Docker Model Runner:
docker model run hf.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF:Q4_K_M
- Lemonade
How to use webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.WebBrain-RingLoop-16B-A1.4B-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
WebBrain-RingLoop-16B-A1.4B-GGUF (llama.cpp 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).
- Main BF16 + Model Card & Paper Results:
webbrain-one/WebBrain-RingLoop-16B-A1.4B - 8 GB VRAM PyTorch/HF Edition (NF3-g64):
webbrain-one/WebBrain-RingLoop-16B-A1.4B-INT3 - Upstream
llama.cppPull Request:ggml-org/llama.cpp#33298(architecturebailingmoe2_loop, also included here asllama_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.
Available GGUF Quantizations & Verified VRAM / Throughput
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 |
- 8 GB VRAM Recommendation:
Q3_K_S(7.00 GiBtotal) leaves ~1 GiB headroom for Windows/desktop compositor and longer contexts;Q3_K_M(7.66 GiBtotal) fits clean headless Linux or dedicated compute GPUs;Q2_K(6.05 GiB) offers maximum context headroom. - Verification:
test-llama-archspasses 439/439 tests (bailingmoe2_loopCUDA0 NMSE4.98e-07, CPU0.00e+00), and BF16 GGUF greedy decoding matches PyTorch 47/47 tokens identically.
Build & Run (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
- Downloads last month
- -
2-bit
3-bit
4-bit
Model tree for webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF
Base model
inclusionAI/Ling-mini-base-2.0-20T