Instructions to use JASouth/Qwen3.8-27B-IQ-Hybrid 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 JASouth/Qwen3.8-27B-IQ-Hybrid 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 JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S # Run inference directly in the terminal: llama cli -hf JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S # Run inference directly in the terminal: llama cli -hf JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S
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 JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S # Run inference directly in the terminal: ./llama-cli -hf JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S
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 JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S
Use Docker
docker model run hf.co/JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S
- LM Studio
- Jan
- vLLM
How to use JASouth/Qwen3.8-27B-IQ-Hybrid with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "JASouth/Qwen3.8-27B-IQ-Hybrid" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "JASouth/Qwen3.8-27B-IQ-Hybrid", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S
- Ollama
How to use JASouth/Qwen3.8-27B-IQ-Hybrid with Ollama:
ollama run hf.co/JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S
- Unsloth Desktop
- Pi
How to use JASouth/Qwen3.8-27B-IQ-Hybrid with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S
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": "JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use JASouth/Qwen3.8-27B-IQ-Hybrid with Docker Model Runner:
docker model run hf.co/JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S
- Lemonade
How to use JASouth/Qwen3.8-27B-IQ-Hybrid with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S
Run and chat with the model
lemonade run user.Qwen3.8-27B-IQ-Hybrid-IQ3_S_S
List all available models
lemonade list
- Hermes Agent
How to use JASouth/Qwen3.8-27B-IQ-Hybrid with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S
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 JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use JASouth/Qwen3.8-27B-IQ-Hybrid with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S
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 "JASouth/Qwen3.8-27B-IQ-Hybrid:IQ3_S_S" \ --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"
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,76 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
| 4 |
+
|
| 5 |
+
# Qwen3.8-27B GGUF Quantizations (IQ2_E_S & IQ3_E_S)
|
| 6 |
+
|
| 7 |
+
This repository provides experimental, low-bitrate GGUF quantizations for **Qwen3.8-27B**, focused on extreme VRAM efficiency without catastrophic quality degradation.
|
| 8 |
+
|
| 9 |
+
## Motivation & Overview
|
| 10 |
+
|
| 11 |
+
The primary goal of this project was to explore whether Qwen3.8-27B could be loaded and executed on consumer GPUs with strictly **8 GB of VRAM**.
|
| 12 |
+
|
| 13 |
+
Quantizing a 27B model down to this range yields two distinct results:
|
| 14 |
+
1. **IQ2_E_S (2.40 BPW, ~7.51 GiB):** Fits tightly into an 8 GB VRAM budget. While low-bit quantization introduces inevitable degradation, perplexity remains bounded, making the model practically usable for lighter or structured generation tasks.
|
| 15 |
+
2. **IQ3_E_S (3.00 BPW, ~9.41 GiB):** A balanced quantization targeting 10–12 GB GPUs, showing theoretical perplexity retention close to the unquantized baseline.
|
| 16 |
+
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
## Perplexity Evaluation
|
| 20 |
+
|
| 21 |
+
Perplexity was evaluated using standard Wiki-style test sets and compared against the FP16/BF16 reference as well as external community baselines.
|
| 22 |
+
|
| 23 |
+
| Candidate | Size | BPW | Wiki-style PPL | Notes |
|
| 24 |
+
| :--- | :---: | :---: | :---: | :--- |
|
| 25 |
+
| **BF16 GGUF** | 50.89 GiB | 16.00 | 7.15 ± 0.12 | Unquantized Baseline |
|
| 26 |
+
| **IQ3_E_S** *(Ours)* | 9.41 GiB | 3.00 | **7.4453 ± 0.1287** | Best balance (10–12 GB VRAM) |
|
| 27 |
+
| `empero-ai/Qwen3.8-27B-Ridge-GGUF` | 11.73 GiB | 3.69 | 7.82 ± 0.14 | External Reference |
|
| 28 |
+
| **IQ2_E_S** *(Ours)* | 7.51 GiB | 2.40 | **8.8587 ± 0.1576** | Sub-8GB Footprint |
|
| 29 |
+
|
| 30 |
+
*Note: The IQ3_E_S quantization shows lower perplexity than larger existing baselines at a significantly reduced footprint.*
|
| 31 |
+
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
## Usage & Tested Hardware Setup
|
| 35 |
+
|
| 36 |
+
The **IQ2_E_S** variant was tested on a dedicated secondary GPU with **8 GB of available VRAM** using `llama.cpp` (`llama-server`). Under the following launch parameters, total VRAM consumption stabilized at approximately **7.6 GB**:
|
| 37 |
+
|
| 38 |
+
```cmd
|
| 39 |
+
llama-server.exe ^
|
| 40 |
+
-m Qwen3.8-27B-IQ2_E_S.gguf ^
|
| 41 |
+
--gpu-layers all ^
|
| 42 |
+
--flash-attn on ^
|
| 43 |
+
--ctx-size 16384 ^
|
| 44 |
+
--cache-type-k q8_0 ^
|
| 45 |
+
--cache-type-v q8_0 ^
|
| 46 |
+
--batch-size 1024 ^
|
| 47 |
+
--ubatch-size 512
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
## Backend & Hardware Compatibility Notes (Intel Arc / oneAPI)
|
| 51 |
+
|
| 52 |
+
> **Important Warning for Intel Arc Users:**
|
| 53 |
+
> The **IQ2_E_S** build is known to **collapse/fail under the SYCL backend** (producing gibberish, NaNs, or crashes during execution).
|
| 54 |
+
> If you are running on Intel Arc hardware, **you must use the Vulkan backend instead of SYCL**:
|
| 55 |
+
> * Ensure your `llama.cpp` binary is compiled with `-DGGML_VULKAN=ON`.
|
| 56 |
+
> * Run via Vulkan to avoid kernel execution bugs present in current SYCL implementations for low-bit IQ quantizations.
|
| 57 |
+
|
| 58 |
+
# Limitations & Validation Notes
|
| 59 |
+
|
| 60 |
+
- **IQ2_E_S**: Subjectively evaluated under the configuration above. Coherence remains acceptable for conversational and summary flows despite the low bitrate, though reasoning and technical accuracy will degrade compared to higher quantizations.
|
| 61 |
+
|
| 62 |
+
- **IQ3_E_S**: Due to physical VRAM constraints (8 GB test system) and limited testing time, IQ3_E_S has not been empirically verified in inference, only evaluated for perplexity. Users with 12 GB or 16 GB setups are encouraged to test it.
|
| 63 |
+
|
| 64 |
+
# Community Feedback
|
| 65 |
+
|
| 66 |
+
If you test either the `IQ2_E_S` or `IQ3_E_S` builds, please leave feedback in the Discussions tab:
|
| 67 |
+
|
| 68 |
+
- Real-world coherence vs. baseline expectations.
|
| 69 |
+
|
| 70 |
+
- Inference speeds (tokens/sec) across different backends (CUDA, Vulkan, SYCL, Metal).
|
| 71 |
+
|
| 72 |
+
- Context scaling behavior beyond 8k tokens.
|
| 73 |
+
|
| 74 |
+
# Support
|
| 75 |
+
|
| 76 |
+
If these quantizations are useful for your local workflows or research, consider supporting further compute and quantization tests:
|