Views
No views yet
qwen3_5_moe — a hybrid linear-attention (Gated DeltaNet) + full-attention MoE (full_attention_interval=4)gate and shared_expert_gate at 8-bitpip install mlx-lm1# text generation (text-only loader)
2python -m mlx_lm generate \
3 --model SixVolts/Qwen3.5-122B-A10B-Opus-Reasoning-MLX \
4 --prompt "Explain how a bicycle stays upright." \
5 --max-tokens 10241from mlx_lm import load, generate
2
3model, tokenizer = load("SixVolts/Qwen3.5-122B-A10B-Opus-Reasoning-MLX")
4messages = [{"role": "user", "content": "Show your steps: what is 240 / 150 in hours and minutes?"}]
5prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True)
6print(generate(model, tokenizer, prompt=prompt, max_tokens=1024))1python -m mlx_lm server \
2 --model SixVolts/Qwen3.5-122B-A10B-Opus-Reasoning-MLX \
3 --host 127.0.0.1 --port 8081Note: As a reasoning model, the thinking trace is returned in the response'sreasoningfield and the final answer incontent. Allow a generousmax_tokens(2000+) so generation has room to finish thinking and answer — otherwisecontentcan come back empty because the budget was spent reasoning.
mlx-lm. Use the text-only loader (mlx_lm), not mlx_vlm.generation_config.json): temperature=0.6, top_p=0.95, top_k=20.timteh673/Qwen3.5-122B-A10B-Opus-Reasoning-GGUF
to Hugging Face safetensors, then quantized to 4-bit with mlx-lm. The GGUF→safetensors
step reproduces the upstream Qwen3.5 tensor transforms (Gated-DeltaNet v-head reordering
and the A_log = log(-ssm_a) SSM-decay transform) so long-form generation stays coherent.