Instructions to use StargazerLabs/Qwen3.8-32B-Jumbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use StargazerLabs/Qwen3.8-32B-Jumbo with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("StargazerLabs/Qwen3.8-32B-Jumbo") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use StargazerLabs/Qwen3.8-32B-Jumbo with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "StargazerLabs/Qwen3.8-32B-Jumbo"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "StargazerLabs/Qwen3.8-32B-Jumbo" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use StargazerLabs/Qwen3.8-32B-Jumbo with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "StargazerLabs/Qwen3.8-32B-Jumbo"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "StargazerLabs/Qwen3.8-32B-Jumbo" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "StargazerLabs/Qwen3.8-32B-Jumbo", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use StargazerLabs/Qwen3.8-32B-Jumbo with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "StargazerLabs/Qwen3.8-32B-Jumbo"
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 StargazerLabs/Qwen3.8-32B-Jumbo
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use StargazerLabs/Qwen3.8-32B-Jumbo with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "StargazerLabs/Qwen3.8-32B-Jumbo"
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 "StargazerLabs/Qwen3.8-32B-Jumbo" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Qwen3.8-32B-Jumbo (bf16)
A 76-layer, 31.9B-parameter model created by transplanting chunks of layers from Qwen3.6-27B into Qwen3.8-27B.
Jumbo is the inverse of pruning: instead of removing layers to make a model smaller, layers are added from a sibling model to make it larger and potentially restore knowledge that was lost during continued training between versions 3.6 and 3.8.
Qwen3.8-27B and Qwen3.6-27B share the same architecture and were confirmed via alignment census to share a weight basis (global median cosine similarity 0.917). Qwen3.8 is a continued-train of Qwen3.6 that traded some breadth of knowledge for improved code and agentic capabilities.
Jumbo restores that breadth by transplanting the three most-changed organs from Qwen3.6 back into Qwen3.8, adding them as additional layers rather than replacing the originals.
Chunk Selection Methodology
Alignment Census
Layer chunk alignment census between Qwen3.8 (stock) and Qwen3.6 (donor), based on computing the cosine similarity of every weight tensor across all 64 layers grouped into 16 chunks (4 layers each).
| Rank | Chunk | Layers | Median cos | Relative drift |
|---|---|---|---|---|
| 1 | 3 | 12-15 | 0.884 | most drifted |
| 2 | 5 | 20-23 | 0.888 | |
| 3 | 2 | 8-11 | 0.893 | |
| 4 | 4 | 16-19 | 0.898 | |
| 5 | 10 | 40-43 | 0.904 | lone upper-half outlier |
| 6 | 6 | 24-27 | 0.905 | |
| 7 | 1 | 4-7 | 0.907 | |
| 8 | 9 | 36-39 | 0.912 | |
| 9 | 11 | 44-47 | 0.913 | |
| 10 | 14 | 56-59 | 0.918 | |
| 11 | 7 | 28-31 | 0.921 | |
| 12 | 13 | 52-55 | 0.923 | |
| 13 | 0 | 0-3 | 0.925 | |
| 14 | 8 | 32-35 | 0.925 | |
| 15 | 12 | 48-51 | 0.925 | |
| 16 | 15 | 60-63 | 0.927 | least drifted |
Selected chunks 3, 5, and 10:
- Chunk 3 (cos 0.884): the single most-drifted organ, mid-stack MLP tissue where factual associations are concentrated
- Chunk 5 (cos 0.888): the second most-drifted organ, also mid-stack MLP
- Chunk 10 (cos 0.904): the lone outlier in the upper half of the network, providing coverage beyond the dense mid-stack cluster
This selection targets the tissue where 3.8 diverged most from 3.6, on the hypothesis that these are the sites where breadth of knowledge was overwritten for code/agentic capability.
Each selected donor chunk from Qwen3.6 is inserted immediately before its corresponding Qwen3.8 original at native depth. The donor chunk reads the same input stream it saw in Qwen3.6; the stock original sits downstream and absorbs the combined signal.
This produces a 76-layer model (64 original + 12 transplanted):
- Layers 0-11: stock chunks 0-2
- Layer 12-15: donor chunk 3 (from Qwen3.6)
- Layers 16-19: stock chunks 3 (original)
- Layers 20-27: stock chunks 4-5 (pre-transplant)
- Layers 28-31: donor chunk 5 (from Qwen3.6)
- Layers 32-35: stock chunk 5 (original)
- Layers 36-51: stock chunks 6-9
- Layers 52-55: donor chunk 10 (from Qwen3.6)
- Layers 56-59: stock chunk 10 (original)
- Layers 60-75: stock chunks 11-15
The embedding, final norm, and lm_head come from the stock Qwen3.8.
Key Properties
- Parameters: ~31.9B (vs 27.4B for the parent Qwen3.8)
- Layers: 76 (vs 64)
- Architecture: Qwen3 (identical hidden dim, heads, vocab)
- Knowledge: Restores factual breadth from Qwen3.6 while retaining 3.8's code and agentic capabilities
- MTP Compatible: Accepts the parent Qwen3.8 MTP drafter with ~82-89% acceptance rate, enabling speculative decoding speedups of 1.6-2.2x
- License: Apache-2.0 (inherited from both parents)
Quantized Versions
Usage (MLX)
# Standard generation
mlx_vlm.generate \
--model StargazerLabs/Qwen3.8-32B-Jumbo \
--prompt "Your prompt here" --max-tokens 2048
# With MTP speculative decoding (~1.6-2.2x speedup)
mlx_vlm.generate \
--model StargazerLabs/Qwen3.8-32B-Jumbo \
--draft-model mlx-community/Qwen3.8-27B-MTP-bf16 \
--prompt "Your prompt here" --max-tokens 2048
Related Models
- Parent (stock): Qwen/Qwen3.8-27B
- Donor: Qwen/Qwen3.6-27B
- Mini-Me family (52-layer sheared models): StargazerLabs Mini-Me Collection
Part of the Jumbo Collection
- Downloads last month
- 900
Quantized