Instructions to use OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-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 OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-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 OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-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 OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M
Use Docker
docker model run hf.co/OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF with Ollama:
ollama run hf.co/OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF with Docker Model Runner:
docker model run hf.co/OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M
- Lemonade
How to use OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-Hybrid-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Model Card for RWKV-Qwen3-30B-A3B-2507-Hybrid-GGUF
This model requires a custom fork of llama.cpp with RWKV079 implementation
This is preview release.
This model has lower output quality compared to the Dense Hybrid. We will continue to improve it!
Model Overview
Model Name: RWKV-Qwen3-30B-A3B-2507-Hybrid-GGUF
Repository: OpenMOSE/RWKV-Qwen3-30B-A3B-2507-Instruct-hxa079
Format: GGUF (for llama.cpp) with imatrix quantization
Year: 2025
Release phase: alpha
Description
RWKV-Qwen3-30B-A3B-2507-Hybrid-GGUF is an experimental large language model that combines the strengths of traditional transformer architecture with the efficiency of RWKV (Receptance Weighted Key Value) mechanisms. This model is specifically optimized for inference in memory-constrained environments while maintaining excellent context length capabilities.
Technical Specifications
Model Parameters
- Parameter Count: 30 Billion parameters
- Architecture: RWKV079 + GQA (Grouped-Query Attention) Hybrid Linear Attention + Mixture of Experts
- Base Model: Alibaba Qwen3-30B-A3B-2507
- Suitable Ctx Length: 32768 (passkey up to 110k)
- Layers: 39 RWKV, 9 NoPE GQA
Key Innovation
The model achieves remarkable efficiency by:
- Converting 81.25% of attention layers from the base Qwen3-30B-A3B model to RWKV architecture
- Reducing KV (Key-Value) cache size to 1/5.33 of the original
- Enabling superior long-context inference in VRAM-limited environments
Performance Benefits
Compared to the base model, RWKV-Qwen3-30B-A3B-2507-Hybrid offers:
- 2x longer context length capability (theoretical)
- 2x larger batch size for simultaneous inference
- Significantly reduced memory footprint while maintaining model quality
Installation and Usage
Prerequisites
This model requires a custom fork of llama.cpp with RWKV079 implementation, based on mollysophia's RWKV7 implementation.
Setup Instructions
- Clone the repository:
git clone https://github.com/OpenMOSE/llama.cpp
cd llama.cpp
git checkout hxa079
Building the Project(Linux)
For CUDA (NVIDIA GPUs):
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release
For ROCm (AMD GPUs):
First, identify your GPU architecture:
- AMD Radeon RX 79xx series →
gfx1100 - AMD Instinct MI300 series →
gfx942 - AMD Instinct MI100 →
gfx908
Then build with the appropriate target:
HIPCXX="$(hipconfig -l)/clang" HIP_PATH="$(hipconfig -R)" \
cmake -S . -B build -DGGML_HIP=ON -DAMDGPU_TARGETS=gfx1100 -DCMAKE_BUILD_TYPE=Release \
&& cmake --build build --config Release -- -j 16
Note: Replace gfx1100 with your GPU's architecture code
Running the Model
Standard Inference:
./build/bin/llama-cli -m YOUR_MODEL_PATH --jinja -fa 1
With KV Cache Quantization:
./build/bin/llama-cli -m YOUR_MODEL_PATH --jinja -fa 1 -ctv q8_0 -ctk q8_0
Extreme Low VRAM Mode(fit to 16GB GPU):
./build/bin/llama-cli -m YOUR_MODEL_PATH --jinja -fa 1 -ctv q8_0 -ctk q8_0 --override-tensor "time_mix_g1=CPU,time_mix_g2=CPU,time_mix_w1=CPU,time_mix_w2=CPU"
Extreme Low VRAM Mode(fit to 4GB GPU):
./build/bin/llama-cli -m YOUR_MODE_PATH --jinja -fa 1 -c 4096 --n-cpu-moe 48
./build/bin/llama-server -m YOUR_MODE_PATH --jinja -fa 1 --port 4096 -np 1 -c 65536 --top-k 20 --top-p 0.3 --temp 0.6 --repeat-penalty 1.1 --n-cpu-moe 48
Important: To get better output quality, please test --top-k 20 --top-p 0.3 --temp 0.6 --repeat-penalty 1.1
Important Limitations and Notes
Current Limitations:
- Model Compatibility: This branch exclusively supports RWKV079 models - other model types will not function
Supported Hardware:
- ✅ NVIDIA GPUs (via CUDA)
- ✅ AMD GPUs (via ROCm)
- ✅ CPU inference
- ❌ Apple Silicon (Metal)
Acknowledgments
This project was made possible through:
- Substantial computational support from Recursal.AI
- Special thanks to SmerkyG for invaluable guidance and mentorship
- Inspired by RADLADS: Rapid Attention Distillation to Linear Attention Decoders at Scale
- Reference Code https://github.com/recursal/RADLADS-paper
We extend our heartfelt gratitude to all contributors and supporters who made this experimental model possible.
Disclaimer
EXPERIMENTAL MODEL: This model is created purely for experimental and research purposes.
No Warranty: The creators make no guarantees regarding:
- Model performance
- Output quality
- Suitability for any particular use case
- Results accuracy
Users should thoroughly evaluate the model for their specific needs before deployment in any application.
License
Apache-2.0 Please refer to the repository for specific license information. As this is based on Qwen3-30B-A3B-2507, users should also comply with the original Qwen model's licensing terms.
Contact and Support
For issues, questions, or contributions, please visit the GitHub repository or open an issue in the project's issue tracker.
2025 OpenMOSE
- Downloads last month
- 104
3-bit
4-bit
5-bit