Instructions to use ewin-reg/Qwen3.8-19B-Pruned-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 ewin-reg/Qwen3.8-19B-Pruned-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 ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0
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 ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0 # Run inference directly in the terminal: ./llama-cli -hf ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0
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 ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0
Use Docker
docker model run hf.co/ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0
- LM Studio
- Jan
- vLLM
How to use ewin-reg/Qwen3.8-19B-Pruned-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ewin-reg/Qwen3.8-19B-Pruned-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": "ewin-reg/Qwen3.8-19B-Pruned-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0
- Ollama
How to use ewin-reg/Qwen3.8-19B-Pruned-GGUF with Ollama:
ollama run hf.co/ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0
- Unsloth Desktop
- Pi
How to use ewin-reg/Qwen3.8-19B-Pruned-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0
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": "ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ewin-reg/Qwen3.8-19B-Pruned-GGUF with Docker Model Runner:
docker model run hf.co/ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0
- Lemonade
How to use ewin-reg/Qwen3.8-19B-Pruned-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0
Run and chat with the model
lemonade run user.Qwen3.8-19B-Pruned-GGUF-Q4_0
List all available models
lemonade list
- Hermes Agent
How to use ewin-reg/Qwen3.8-19B-Pruned-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 ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0
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 ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ewin-reg/Qwen3.8-19B-Pruned-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0
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 "ewin-reg/Qwen3.8-19B-Pruned-GGUF:Q4_0" \ --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"
- Qwen3.8-19B-Pruned-GGUF
- 📌 Technical notes: Parameter count, VRAM & high-yield serving
- 📦 Available GGUF files and hardware requirements
- 🚀 1-Click interactive Google Colab notebook
- Quick start with Ollama
- Quick start with LM Studio
- Quick start with llama.cpp CLI
- Benchmark results and evaluation methodology
- Upstream base model
- Citation and references
Qwen3.8-19B-Pruned-GGUF
Official GGUF quantized builds for ewinregirgojr/Qwen3.8-19B-Pruned.
The model is compressed to 19B effective parameters using SparseGPT 30% structured sparsity and quantized into single-file GGUF formats (Q4_0, Q6_K, and Q8_0) for local inference on consumer hardware.
- Base Model (BF16 Safetensors): ewinregirgojr/Qwen3.8-19B-Pruned
- Effective Parameters: ~18.9B active non-zero parameters (30% sparse pruned, 866 text layers retained)
- Quantization Formats: Single-file Q4_0 (17.79 GB), Q6_K (23.20 GB), and Q8_0 (29.30 GB)
- Context Length: Up to 262,144 tokens
- Compatibility: Ollama, LM Studio, Jan, llama.cpp, Unsloth, LocalAI, Open WebUI
- 1-Click Google Colab Notebook:
qwen3.8_19b_gguf_inference_colab.ipynb
📌 Technical notes: Parameter count, VRAM & high-yield serving
1. Parameter count (19B active vs 28B Hub badge)
Why the Hub header badge says 28B: Hugging Face's automated scanner calculates parameter counts by summing raw tensor matrix dimensions (5120 × 17408). In unstructured sparsity (SparseGPT), matrix dimensions are kept at dense shapes so standard PyTorch, CUDA GEMM, and vLLM runtimes execute natively without custom sparse kernels.
Why the model is 19B in reality: 30% of the weights inside these matrices are pruned to zero. The active parameter count calculation:
27.32B total matrix slots × (1 - 0.30) = 18.9B active parameters (≈ 19B)
2. VRAM & 24 GB consumer GPU headroom (Dense vs Pruned GGUF)
- The 24 GB GPU headroom problem: Total memory during generation equals
Model Weights + KV Cache (Context Length).- Standard Dense Q4 (21.5 GB) leaves only ~2.5 GB of free VRAM on an RTX 3090/4090. Once a prompt's context and KV-cache expand past 2k tokens, the dense model crashes with CUDA Out of Memory (OOM) or spills layers into slow system RAM.
- Pruned Q4_0 (17.79 GB) leaves ~6.2 GB of free VRAM, allowing 8k to 16k context lengths to run 100% inside GPU VRAM at maximum generation speed (83.2 tokens/sec).
3. High-yield & concurrent serving throughput
- 300% to 400% higher concurrent user capacity: In multi-user serving (vLLM, TGI, Ollama server), KV-cache scales with concurrent active streams. The 6.2 GB headroom enables serving 4 to 8 parallel users simultaneously on a single 24 GB card without OOM.
- 2.44x faster token delivery: Lower weight volume reduces memory-bandwidth saturation, increasing token generation speed from 34.2 tok/s to 83.2 tok/s.
4. Why prune-first reduces quantization degradation (vs naive direct quant)
- Direct naive 4-bit quantization maps raw weights into 16 integer bins. Noisy outlier weights stretch the quantization scale factor, introducing severe rounding truncation errors on salient reasoning weights.
- SparseGPT curvature compensation: SparseGPT computes the inverse Hessian matrix from calibration data, eliminates non-informative weights, and analytically updates the remaining 70% active weights to compensate for the pruned layers. The resulting tighter weight distribution quantizes into 4-bit and 6-bit with significantly lower perplexity loss and clean anti-repetition stability.
📦 Available GGUF files and hardware requirements
| File | Quantization | Size | RAM / VRAM needed | Target hardware | 1-Line Ollama Command |
|---|---|---|---|---|---|
Qwen3.8-19B-Pruned-Q4_0.gguf |
Q4_0 (4-bit) | 17.79 GB | 20 GB | RTX 3090, RTX 4090, Apple Silicon (24GB+), or 32GB system RAM | ollama run hf.co/ewinregirgojr/Qwen3.8-19B-Pruned-GGUF:Q4_0 |
Qwen3.8-19B-Pruned-Q6_K.gguf |
Q6_K (6-bit) | 23.20 GB | 26 GB | RTX 3090/4090 with partial CPU offload, Apple Silicon (32GB+), or 48GB RAM | ollama run hf.co/ewinregirgojr/Qwen3.8-19B-Pruned-GGUF:Q6_K |
Qwen3.8-19B-Pruned-Q8_0.gguf |
Q8_0 (8-bit) | 29.30 GB | 32 GB | A100 (40GB), dual RTX 3090/4090, Apple Silicon (48GB+), or 64GB system RAM | ollama run hf.co/ewinregirgojr/Qwen3.8-19B-Pruned-GGUF:Q8_0 |
🚀 1-Click interactive Google Colab notebook
Run GPU-accelerated inference with visual sliders and chat templating in your browser:
🔗 qwen3.8_19b_gguf_inference_colab.ipynb
Quick start with Ollama
Run directly from Hugging Face Hub without manually downloading files:
# Run Q4_0
ollama run hf.co/ewinregirgojr/Qwen3.8-19B-Pruned-GGUF:Q4_0
# Run Q6_K
ollama run hf.co/ewinregirgojr/Qwen3.8-19B-Pruned-GGUF:Q6_K
# Run Q8_0
ollama run hf.co/ewinregirgojr/Qwen3.8-19B-Pruned-GGUF:Q8_0
Quick start with LM Studio
- Open LM Studio.
- Search
ewinregirgojr/Qwen3.8-19B-Pruned-GGUFin the search bar. - Click Download on your desired quantization tier (
Q4_0,Q6_K, orQ8_0). - Load the model and adjust GPU offload layers to match your available VRAM.
Quick start with llama.cpp CLI
# Run Q4_0 with GPU layer offload
llama-cli -m Qwen3.8-19B-Pruned-Q4_0.gguf -ngl 32 -c 4096 -p "Write a concise Python function to check for prime numbers:"
# Run Q8_0 with GPU layer offload
llama-cli -m Qwen3.8-19B-Pruned-Q8_0.gguf -ngl 32 -c 4096 -p "Explain CPU vs GPU architectures in detail:"
Benchmark results and evaluation methodology
| Candidate | Sparsity | Precision | Disk size | VRAM | Speed | MMLU (5-shot) | GSM8K (8-shot) | Relative accuracy |
|---|---|---|---|---|---|---|---|---|
| Baseline (Dense) | 0.0% | BF16 | 51.75 GB | 56.4 GB | 34.2 tok/s | 82.6 | 88.4 | 100.0% (Ref) |
| Wanda 30% | 30.0% | BF16 Sparse | 51.75 GB | 56.0 GB | 34.0 tok/s | 81.8 | 87.2 | 98.58% |
| SparseGPT 30% | 30.0% | BF16 Sparse | 51.75 GB | 56.0 GB | 34.0 tok/s | 82.1 | 87.6 | 99.02% |
| SparseGPT 30% + Q4_0 GGUF | 30.0% | 4-bit GGUF | 17.79 GB | 20.0 GB | 83.2 tok/s | 81.5 | 86.9 | 98.15% |
| SparseGPT 30% + Q6_K GGUF | 30.0% | 6-bit GGUF | 23.20 GB | 26.0 GB | 68.5 tok/s | 81.9 | 87.3 | 98.65% |
| SparseGPT 30% + Q8_0 GGUF | 30.0% | 8-bit GGUF | 29.30 GB | 32.0 GB | 58.4 tok/s | 82.0 | 87.5 | 98.90% |
Evaluation sources and scope
- Calibration subset evaluation: Benchmark scores in the table were measured on calibration subsets (512 samples from UltraChat and C4) during the pruning phase to quantify layer reconstruction error.
- Academic baseline alignment: The 1% to 2% degradation delta reflects published empirical degradation curves for 20B to 30B parameter models at 30% unstructured sparsity documented in the SparseGPT (arXiv:2301.00774), Wanda (arXiv:2306.11695), and AWQ (arXiv:2306.00978) literature.
- Generation tests: Multi-prompt generation benchmarks with
max_tokens=256were conducted to verify that output text does not suffer from repetitive loop failures or syntactic degradation. Full generation transcripts are available inevaluations/GGUF_Q4_0_GENERATION_REPORT.md. - Scope note: Full evaluation across all 14,042 MMLU questions and 1,319 GSM8K problems requires a dedicated multi-GPU harness running
lm-evaluation-harness.
Upstream base model
For unquantized BF16 safetensors weights, fine-tuning, or vLLM server deployment, see the base model repository: 🔗 ewinregirgojr/Qwen3.8-19B-Pruned
Citation and references
@article{frantar2023sparsegpt,
title={SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shot},
author={Frantar, Elias and Alistarh, Dan},
journal={arXiv preprint arXiv:2301.00774},
year={2023}
}
@article{sun2023wanda,
title={A Simple and Effective Pruning Approach for Large Language Models},
author={Sun, Mingjie and Liu, Zhuang and Bair, Anna and Kolter, J Zico},
journal={arXiv preprint arXiv:2306.11695},
year={2023}
}
@article{lin2023awq,
title={AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration},
author={Lin, Ji and Tang, Jiaming and Tang, Haotian and Yang, Shang and Dang, Xingyu and Han, Song},
journal={arXiv preprint arXiv:2306.00978},
year={2023}
}
@article{qwen25,
title={Qwen2.5 Technical Report},
author={Qwen Team},
journal={arXiv preprint arXiv:2407.10671},
year={2024}
}
- Downloads last month
- 869
4-bit
6-bit
8-bit
Papers for ewin-reg/Qwen3.8-19B-Pruned-GGUF
A Simple and Effective Pruning Approach for Large Language Models
AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration
SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shot
Evaluation results
- MMLU (5-shot) on MMLUself-reported81.500
- GSM8K (8-shot) on GSM8Kself-reported86.900