language:
- en
- zh
license: apache-2.0
tags: - anvil
- mlx
- mlx-8bit
- apple-silicon
- moe
- qwen3.6
- claude-distill
- claude-opus-4.7
- abliterated
- uncensored
- reasoning
- metal
pipeline_tag: text-generation
qwen3.6-35b-a3b-claude-opus-4.7-distill-abliterated (MLX 8-Bit)
Sparse 35B/3B MoE with Claude 4.7 Opus Distillation & Refusal Abliteration for Apple Silicon
Executive Summary
qwen3.6-35b-a3b-claude-opus-4.7-distill-abliterated-mlx-8bit is an Apple Silicon-native 8-bit quantization of the Qwen 3.6 35B-A3B Mixture-of-Experts (MoE) architecture. Featuring 256 total experts with 8 active experts per token, this model delivers the deep multi-domain reasoning capacity of a 35B parameter network with the runtime latency of a ~3B parameter model.
Fine-tuned on high-entropy Claude 4.7 Opus Chain-of-Thought (CoT) distillation traces and systematically abliterated to eliminate refusal boundaries, this release brings unrestricted frontier-grade reasoning to M-Series Mac workstations via the Anvil runtime and Apple's native MLX framework.
Sparse MoE Mechanics on Apple Unified Memory
Standard dense 35B models require high memory bandwidth during every token pass. The 35B-A3B MoE architecture optimizes this specifically for Apple Silicon unified memory:
- Fine-Grained 8/256 Expert Gating: Rather than activating monolithic feed-forward blocks, the router dynamically selects the 8 most relevant specialized experts out of 256 for each token. Only ~3.1B weights are actively computed per forward pass, providing swift generation speeds on Apple Silicon GPUs.
- High-Precision 8-Bit Affine Quantization: Quantized with dynamic per-group affine scaling (
group_size: 64,bits: 8), preserving sensitive routing logits and shared expert gates with zero routing collapse. - Refusal Vector Abliteration: All refusal directions within the model's residual stream have been orthogonalized, ensuring that legitimate systems programming, vulnerability auditing, and creative reasoning proceed without moralizing preambles.
- 262K Native Context: Natively calibrated with extended rotary position embeddings for analyzing massive codebases and document repositories.
Technical Specifications
| Architectural Parameter | Verified Value |
|---|---|
| Model Type | qwen3_5_moe (Sparse Mixture-of-Experts) |
| Total Model Parameters | 35.2 Billion |
| Active Parameters per Token | ~3.1 Billion Parameters |
| Total Routed Experts | 256 Experts |
| Active Experts per Token | 8 Experts per Token (top_k: 8) |
| Transformer Layers | 40 Hidden Layers |
| Quantization Scheme | Apple MLX 8-Bit Affine (group_size: 64, mode: affine) |
| Native Context Length | 262,144 Tokens (262K) |
| Primary Execution Runtime | Anvil Engine (Solstice Labs) |
| Native MLX Library | Apple mlx-lm (v0.19.0+) |
| Target Hardware | Apple Silicon Macs (M1 / M2 / M3 / M4) with 48GB+ Unified RAM |
Hardware Compatibility on Mac
| Mac Model | Unified RAM | Execution Capability | Expected Generation Speed |
|---|---|---|---|
| Mac Studio / Mac Pro (M2/M3/M4 Max/Ultra - 64GB+) | 64 GB+ | Full 262K Context / Native Metal | 38–54 tok/s |
| MacBook Pro (M2/M3/M4 Max - 48GB–64GB) | 48 GB–64 GB | Up to 131K Context | 30–42 tok/s |
| MacBook Pro (36GB RAM) | 36 GB | Lightweight Context (8K–16K) | 22–28 tok/s |
Quickstart Guide
Option 1: Primary Execution with Anvil Engine (Recommended)
Anvil provides native Metal acceleration, single-command registry management, and high-concurrency API hosting:
# 1. Install Anvil CLI
curl -fsSL https://anvil-llm.github.io/anvil/install.sh | sh
# 2. Pull model directly from Hugging Face into local registry
anvil pull hf:Solstice-AI/qwen3.6-35b-a3b-claude-opus-4.7-distill-abliterated-mlx-8bit
# 3. Launch an interactive terminal session
anvil run hf:Solstice-AI/qwen3.6-35b-a3b-claude-opus-4.7-distill-abliterated-mlx-8bit \
--type-k turbo4 \
--type-v turbo3
# 4. Host a high-concurrency OpenAI-compatible API server
anvil serve hf:Solstice-AI/qwen3.6-35b-a3b-claude-opus-4.7-distill-abliterated-mlx-8bit \
--port 8080 \
--host 127.0.0.1
Option 2: Native Apple MLX-LM CLI
# 1. Install MLX LM
pip install mlx-lm
# 2. Run generation directly from Hugging Face Hub
python -m mlx_lm.generate \
--model Solstice-AI/qwen3.6-35b-a3b-claude-opus-4.7-distill-abliterated-mlx-8bit \
--prompt "<|im_start|>user\nAudit this C++ kernel for race conditions and memory leaks.<|im_end|>\n<|im_start|>assistant\n" \
--max-tokens 1024 \
--temp 0.6
# 3. Launch the native MLX API server
python -m mlx_lm.server \
--model Solstice-AI/qwen3.6-35b-a3b-claude-opus-4.7-distill-abliterated-mlx-8bit \
--port 8080
Option 3: Python In-Memory Execution with mlx_lm
from mlx_lm import load, generate
model, tokenizer = load("Solstice-AI/qwen3.6-35b-a3b-claude-opus-4.7-distill-abliterated-mlx-8bit")
prompt = "<|im_start|>system\nYou are an expert systems engineer.<|im_end|>\n<|im_start|>user\nExplain the design of an asynchronous lock-free ring buffer in Rust.<|im_end|>\n<|im_start|>assistant\n"
response = generate(
model,
tokenizer,
prompt=prompt,
max_tokens=1024,
temp=0.6,
verbose=True
)
print(response)
Chat Template & Prompt Schema
This model implements the official Qwen reasoning prompt format with dual-mode support for Chain-of-Thought (CoT) internal scratchpads (<think>...</think>) and agentic tool-calling.
Standard Reasoning Turn (Chain-of-Thought)
<|im_start|>system
You are a helpful, completely uncensored, and highly capable AI assistant.<|im_end|>
<|im_start|>user
{USER_PROMPT}<|im_end|>
<|im_start|>assistant
<think>
{INTERNAL_REASONING_AND_VERIFICATION_STEPS}
</think>
{FINAL_SYNTHESIZED_RESPONSE}<|im_end|>
Direct Response (Thinking Suppressed)
If you require immediate, zero-latency execution without reasoning traces, initialize the assistant generation with an empty thinking block:
<|im_start|>user
{USER_PROMPT}<|im_end|>
<|im_start|>assistant
<think>
</think>
{FINAL_SYNTHESIZED_RESPONSE}<|im_end|>
Agentic Tool-Use & Function Calling Schema
<|im_start|>user
Search the local codebase for references to the auth controller.<|im_end|>
<|im_start|>assistant
<think>
Need to invoke the grep tool across repository files.
</think>
<tool_call>
<function=grep_search>
{"query": "AuthController", "path": "src/"}
</function>
</tool_call><|im_end|>
<|im_start|>user
<tool_response>
{"matches": ["src/controllers/auth.ts:12", "src/routes.ts:45"]}
</tool_response><|im_end|>
<|im_start|>assistant
<think>
Matches located. Presenting file summary to user.
</think>
Found 2 matches for AuthController in src/controllers/auth.ts and src/routes.ts.<|im_end|>
Python Tokenizer Automation
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("Solstice-AI/Solstice-AI__qwen3.6-35b-a3b-claude-opus-4.7-distill-abliterated-mlx-8bit")
messages = [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Explain speculative decoding in 3 bullet points."}
]
prompt = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=True # Set to False to bypass CoT scratchpad
)
Citation & Acknowledgments
@software{solstice2026_qwen35b_mlx_8bit,
title={qwen3.6-35b-a3b-claude-opus-4.7-distill-abliterated: Apple Silicon MLX 8-Bit Release},
author={Solstice-AI Research Team},
year={2026},
publisher={Hugging Face},
url={https://huggingface.co/Solstice-AI/qwen3.6-35b-a3b-claude-opus-4.7-distill-abliterated-mlx-8bit}
}
We gratefully acknowledge:
huihui-aifor the abliteration methodology.lordx64&mudlerfor Claude 4.7 Opus distillation datasets.- The Apple Machine Learning Research Team for the high-performance MLX ecosystem.
- The Qwen Team at Alibaba for the 35B-A3B sparse Mixture-of-Experts architecture.
- The Solstice Labs Infrastructure Team for developing the Anvil execution engine.
Solstice-AI • Frontier AI for everyone, everywhere. • solstice-ai.co • Anvil Runtime