Instructions to use basecompute/Qwen3.8-27B-BaseQuant-V1 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 basecompute/Qwen3.8-27B-BaseQuant-V1 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 basecompute/Qwen3.8-27B-BaseQuant-V1 # Run inference directly in the terminal: llama cli -hf basecompute/Qwen3.8-27B-BaseQuant-V1
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf basecompute/Qwen3.8-27B-BaseQuant-V1 # Run inference directly in the terminal: llama cli -hf basecompute/Qwen3.8-27B-BaseQuant-V1
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 basecompute/Qwen3.8-27B-BaseQuant-V1 # Run inference directly in the terminal: ./llama-cli -hf basecompute/Qwen3.8-27B-BaseQuant-V1
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 basecompute/Qwen3.8-27B-BaseQuant-V1 # Run inference directly in the terminal: ./build/bin/llama-cli -hf basecompute/Qwen3.8-27B-BaseQuant-V1
Use Docker
docker model run hf.co/basecompute/Qwen3.8-27B-BaseQuant-V1
- Llama new
- LM Studio
- Jan
- vLLM
How to use basecompute/Qwen3.8-27B-BaseQuant-V1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "basecompute/Qwen3.8-27B-BaseQuant-V1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "basecompute/Qwen3.8-27B-BaseQuant-V1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/basecompute/Qwen3.8-27B-BaseQuant-V1
- Ollama
How to use basecompute/Qwen3.8-27B-BaseQuant-V1 with Ollama:
ollama run hf.co/basecompute/Qwen3.8-27B-BaseQuant-V1
- Unsloth Desktop
- Pi
How to use basecompute/Qwen3.8-27B-BaseQuant-V1 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf basecompute/Qwen3.8-27B-BaseQuant-V1
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": "basecompute/Qwen3.8-27B-BaseQuant-V1" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use basecompute/Qwen3.8-27B-BaseQuant-V1 with Docker Model Runner:
docker model run hf.co/basecompute/Qwen3.8-27B-BaseQuant-V1
- Lemonade
How to use basecompute/Qwen3.8-27B-BaseQuant-V1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull basecompute/Qwen3.8-27B-BaseQuant-V1
Run and chat with the model
lemonade run user.Qwen3.8-27B-BaseQuant-V1-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use basecompute/Qwen3.8-27B-BaseQuant-V1 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf basecompute/Qwen3.8-27B-BaseQuant-V1
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 basecompute/Qwen3.8-27B-BaseQuant-V1
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use basecompute/Qwen3.8-27B-BaseQuant-V1 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf basecompute/Qwen3.8-27B-BaseQuant-V1
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 "basecompute/Qwen3.8-27B-BaseQuant-V1" \ --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"
Add XL tier (25.30 GB, size-matched to unsloth UD-Q6_K_XL)
Adds an XL tier, the same size as unsloth UD-Q6_K_XL (25,299,061,664 B):
Qwen3.8-27B-BaseQuant-V1-XL.gguf: 25,295,066,592 B, sha256d76eb0892ce5d63a28b3337a6bd6a786d5fe7bff7d9a1bb4b9e9d87c05b46501. It includes the MTP layer (Q6_K), likeUD-Q6_K_XL.Qwen3.8-27B-BaseQuant-V1-XL.base: 26,975,551,488 B, sha25694a577b439d72ad6d66090ab57475137e567187971d42ecc3beec870a0a0b7dc. It includes the MTP head and the vision tower.README.md: an XL row and XL columns in the result tables. It also fixes "four sizes" to "five sizes".
Results (KL to BF16, unsloth / XL):
- Held-out model continuations: 0.00126 / 0.00089 (-30%), 95% CI of the difference [-0.00058, -0.00004]. Top-1 99.27% / 99.38%.
- Held-out written text: 0.0886 / 0.0558 (-37%), 95% CI of the difference [-0.0440, -0.0233]. Top-1 96.35% / 96.96%.
- Public prompts, all six sources: 0.00106 / 0.00088 (-17%), 95% CI [-22%, -12%]. Top-1 99.56% / 99.59%. Five of the six sources are significantly better; OpenHermes is lower but not significantly.
The held-out rows come from the XL campaign's validation split. The tool-call rows were not measured for XL. The plots were not changed.
baseRT bundle:
- 175 tensors use the GGUF's own Q6_K/Q5_K blocks, with the linear-attention V-head rows of 42 qkv/z tensors moved back into HF order.
- baseRT loads no Q8_0, so the GGUF's 184 Q8_0 tensors are stored as
base_q8(groups of 64, bf16 scale and offset), the same 8.5 bits per weight. - 43 more tensors are also
base_q8:- 16 linear-attention out_proj, because their GGUF blocks are in llama.cpp's column order;
- 23 that share a fused kernel with a Q8_0 tensor;
- 4 in layer 3, which the MTP-head loader uses as its shape reference.
- MTP head: decoder layer
base_q8,fcand norms f16 (basert convert --quantize-drafter).
Tested on an M5 Max with baseRT 0.4.1:
- Over 50 public prompts (SWE-agent, OpenHands and 10 others, 7,880 positions), KL is 0.00072. The XL GGUF on the same Mac in llama.cpp (Metal, llama-cpp-python 0.3.36) scores 0.00069 on the same prompts. Top-1 is 99.78% / 99.87%.
- The same GGUF scores 0.00098 in llama.cpp on CUDA. At this KL level the backend's arithmetic is a large share of the total, so compare only numbers measured on the same backend.
- With superfluid 0.1.4, greedy generations are correct and identical with
--speculate mtp-head --spec-bitexactand without it.
Card additions (second commit): a Recommended sampling section (Qwen's settings for thinking and instruct modes), and a Speed table giving prefill (pp512) and decode (tg128) tokens per second for every size, GGUF in llama.cpp b10360 against bundle in baseRT 0.4.1, on an M5 Max.