Instructions to use vvsotnikov/Qwen3.6-27B-4bit-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use vvsotnikov/Qwen3.6-27B-4bit-test 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("vvsotnikov/Qwen3.6-27B-4bit-test") config = load_config("vvsotnikov/Qwen3.6-27B-4bit-test") # 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 vvsotnikov/Qwen3.6-27B-4bit-test with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "vvsotnikov/Qwen3.6-27B-4bit-test"
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": "vvsotnikov/Qwen3.6-27B-4bit-test" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use vvsotnikov/Qwen3.6-27B-4bit-test with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "vvsotnikov/Qwen3.6-27B-4bit-test"
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 "vvsotnikov/Qwen3.6-27B-4bit-test" \ --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"
- Hermes Agent
How to use vvsotnikov/Qwen3.6-27B-4bit-test 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 "vvsotnikov/Qwen3.6-27B-4bit-test"
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 vvsotnikov/Qwen3.6-27B-4bit-test
Run Hermes
hermes
- Atomic Chat
Qwen3.6-27B-4bit-test
This repository holds Qwen/Qwen3.6-27B converted to MLX and quantized to
4 bits. It is a TEST artifact that validates an internal conversion
pipeline, so prefer
mlx-community/Qwen3.6-27B-4bit
for general use.
Pair this model with
Qwen3.6-27B-MTP-4bit-test
to get speculative decoding, because Qwen3.6 carries a Multi-Token
Prediction head that the MLX conversion moves into a separate repository.
Use with mlx-vlm
pip install -U mlx-vlm
# plain decoding
mlx_vlm generate \
--model vvsotnikov/Qwen3.6-27B-4bit-test \
--prompt "Explain speculative decoding in two sentences." \
--max-tokens 256
# with the MTP drafter
mlx_vlm generate \
--model vvsotnikov/Qwen3.6-27B-4bit-test \
--draft-model vvsotnikov/Qwen3.6-27B-MTP-4bit-test \
--prompt "Write a quicksort in Python." \
--max-tokens 256 --temperature 0.6
How this was produced
mlx_vlm convert --hf-path Qwen/Qwen3.6-27B \
--mlx-path Qwen3.6-27B-4bit -q --q-bits 4 --q-group-size 64
The quantization is uniform affine at 4 bits with group size 64, and it
covers 498 modules of the language model including embed_tokens,
lm_head and the linear_attn projections. The vision tower stays dense
in bfloat16, because the converter skips multimodal modules by default.
Verification
The build reproduces
mlx-community/Qwen3.6-27B-4bit
on all 1190 dense tensors, while 990 quantization payloads differ, since
mx.quantize changed its rounding between the mlx version that built the
published repository and the version used here. The two builds are equal in
quality rather than merely similar: six modules sampled across the full
depth show IDENTICAL maximum error against the original bfloat16 weights,
and their RMSE agrees to six significant figures.
| Check | Result |
|---|---|
| Quantization | {bits: 4, group_size: 64, mode: affine} |
| Quantized modules | 498 of 2180 tensors |
| Vision tower | dense, 333 tensors |
| MTP tensors | 0, moved to the drafter repository |
| Acceptance with the 4-bit drafter | 93.5 percent, 2.86 accepted tokens per round |
Measured on an M1 Max: 15.5 tokens per second without the drafter, and 16.0 with it. The drafter raises acceptance a long way, yet it did not raise throughput on that machine, so measure your own hardware before you depend on the speedup.
License and attribution
The weights derive from Qwen/Qwen3.6-27B under Apache 2.0, so the
original license and its terms carry over. Refer to the
upstream model card for the
model's capabilities, its training and its usage limits.
- Downloads last month
- 23
4-bit
Model tree for vvsotnikov/Qwen3.6-27B-4bit-test
Base model
Qwen/Qwen3.6-27B