Instructions to use GreenBitAI/Qwen3.8-27B-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use GreenBitAI/Qwen3.8-27B-4bit with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("GreenBitAI/Qwen3.8-27B-4bit") config = load_config("GreenBitAI/Qwen3.8-27B-4bit") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use GreenBitAI/Qwen3.8-27B-4bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "GreenBitAI/Qwen3.8-27B-4bit"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "GreenBitAI/Qwen3.8-27B-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use GreenBitAI/Qwen3.8-27B-4bit 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 "GreenBitAI/Qwen3.8-27B-4bit"
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 GreenBitAI/Qwen3.8-27B-4bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use GreenBitAI/Qwen3.8-27B-4bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "GreenBitAI/Qwen3.8-27B-4bit"
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 "GreenBitAI/Qwen3.8-27B-4bit" \ --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"
Commit History
3 days ago
-
Add DGX Spark support to the card
Verified signature72dbf64
5 days ago
-
Update draft-head speed tables (v0.8.0)
Verified signature0147082
17 days ago
-
State library_name: mlx
Verified signature5aff029 -
Document gbx_lm generate and chat (v0.7.1)
Verified signature161a78e
19 days ago
-
Tag the card gbx-lm
Verified signature6716c32
21 days ago
-
Model card: clear the old unpack directory when upgrading
Verified signatureA second version unpacks into the same directory as the first, and macOS kills a process that mixes two builds -- `Killed: 9`, with nothing to say why. The install now clears it, and both that and the PATH case are written out.66a7afc
23 days ago
-
Model card: use the server's own default port
Verified signature11688 is what gbx_lm listens on without being told, so the run command no longer passes --port and every example uses that port.987144e -
Model card: point Codex and Claude Code at the same server
Verified signatureThe server answers /v1/chat/completions, /v1/responses and /v1/messages on one port; the card now shows the provider and settings each client needs.321923d -
Model card: install and run the signed gbx_lm binary
Verified signatureThe Python package is no longer published; the card now documents the notarised Apple Silicon binary, its macOS and chip requirements, and the memory this build actually takes.118f5ed
-
Say the weights are mlx-format
Verified signature24a10d7 -
Trim the card to what it is for
Verified signatured2a123b -
Say what it costs to prefill, too
Verified signaturebf9f80f -
Describe what this build is
Verified signatureb96fcc3 -
Add the MTP draft head
Verified signature390dfd1 -
Add the 4-bit weights
Verified signature4b5d495 -
initial commit
Verified signature5eed01e