Instructions to use vvsotnikov/Qwen3.8-27B-test-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use vvsotnikov/Qwen3.8-27B-test-MLX-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("vvsotnikov/Qwen3.8-27B-test-MLX-4bit") config = load_config("vvsotnikov/Qwen3.8-27B-test-MLX-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 vvsotnikov/Qwen3.8-27B-test-MLX-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 "vvsotnikov/Qwen3.8-27B-test-MLX-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": "vvsotnikov/Qwen3.8-27B-test-MLX-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use vvsotnikov/Qwen3.8-27B-test-MLX-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 "vvsotnikov/Qwen3.8-27B-test-MLX-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 vvsotnikov/Qwen3.8-27B-test-MLX-4bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use vvsotnikov/Qwen3.8-27B-test-MLX-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 "vvsotnikov/Qwen3.8-27B-test-MLX-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 "vvsotnikov/Qwen3.8-27B-test-MLX-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"
Qwen3.8-27B-test-MLX-4bit
4-bit MLX conversion of the main model. The language model uses affine RTN quantization with group size 64. The vision tower remains dense BF16. The native MTP head is provided separately.
Source: vvsotnikov/Qwen3.8-27B-test, revision 13171b198fbeb3a2ecc5aaabe0d3ffd2fc8a39fa.
The source is a 50/50 linear merge of Qwen3.6-27B and Qwen3.8-27B. See merge-manifest.json for the original merge provenance and conversion-manifest.json for conversion settings and runtime versions.
Matching pair:
Usage
python -m mlx_vlm generate \
--model vvsotnikov/Qwen3.8-27B-test-MLX-4bit \
--draft-model vvsotnikov/Qwen3.8-27B-test-MTP-MLX-4bit \
--draft-kind mtp \
--prompt "Write a Python function that merges two sorted lists." \
--max-tokens 2048 --enable-thinking --temperature 1.0 \
--gen-kwargs '{"top_p":0.95,"top_k":20}'
Validated with MLX-VLM 0.6.15 (revision 20eec6cb5564c6a196b046d869d2081c29e3ff92), MLX 0.32.0, and Transformers 5.14.0 on an Apple M5 Max.
Validation
Structural checks passed for quantization, tensor inventory, main/drafter compatibility, and MTP norm offsets. A text smoke test generated a complete Python answer (1,863 tokens, 82.1% draft acceptance). An image smoke test correctly identified a red square and blue circle (234 tokens, 83.9% draft acceptance). Both used thinking enabled, temperature 1.0, top-p 0.95, top-k 20, and seed 42. These are smoke checks, not a quality benchmark or a comparison against BF16.
- Downloads last month
- -
4-bit
Model tree for vvsotnikov/Qwen3.8-27B-test-MLX-4bit
Base model
vvsotnikov/Qwen3.8-27B-test