Fixed Qwen 35B GGUF Beats Tensor Drift
💡New fix makes 35B Qwen stable for local long-context use—beats quantization bugs in SSM layers
⚡ 30-Second TL;DR
What Changed
Fixes ssm_conv1d.weight tensor drift in blocks 36-38 via Wasserstein W1 metric
Why It Matters
Enables reliable local inference of large Qwen models on consumer hardware by addressing quantization bugs, potentially benefiting open-source LLM deployment.
What To Do Next
Download Qwen3.6-35B-A3B-Uncensored-Wasserstein-GGUF from Hugging Face and test in LM Studio with temp=0.7.
Key Points
- •Fixes ssm_conv1d.weight tensor drift in blocks 36-38 via Wasserstein W1 metric
- •Reduces W1 error from ~0.5-0.7 to <0.001 post-fix
- •Uncensored model based on HauhauCS aggressive quant, recommends Q4_K_P
- •Tested for long-context roleplay with custom system prompt
🧠 Deep Insight
AI-generated analysis for this event — not the original article.
🔑 Enhanced Key Takeaways
- •The Wasserstein-1 (Earth Mover's Distance) metric is being increasingly adopted in quantization research to address non-linear weight distribution shifts that traditional KL divergence fails to capture in State Space Model (SSM) architectures.
- •The 'tensor drift' issue specifically in Qwen-35B's ssm_conv1d layers is linked to the sensitivity of the underlying Mamba-style selective scan mechanism when subjected to low-bit integer quantization.
- •Community-driven 'uncensored' variants of Qwen models often utilize fine-tuning datasets stripped of RLHF-based refusal mechanisms, which can inadvertently degrade the model's adherence to safety-aligned system prompts during complex roleplay.
📊 Competitor Analysis▸ Show
| Feature | Qwen-35B (Fixed GGUF) | Llama-3-70B (GGUF) | Mistral-Large-2 (GGUF) |
|---|---|---|---|
| Architecture | Hybrid Transformer/SSM | Dense Transformer | Dense Transformer |
| Quantization Stability | High (W1-optimized) | Standard (KL-optimized) | Standard (KL-optimized) |
| VRAM Efficiency | High (35B parameter) | Moderate (70B parameter) | Moderate (123B parameter) |
| Primary Use Case | Long-context/Roleplay | General Purpose | Reasoning/Coding |
🛠️ Technical Deep Dive
- The ssm_conv1d layer in Qwen-35B utilizes a 1D convolution over the channel dimension, which acts as a feature extractor before the selective state space transition.
- Wasserstein distance (W1) optimization minimizes the cost of transforming the distribution of quantized weights to match the original FP16 distribution, preventing the 'drift' that causes numerical instability in the recurrent state.
- The Q4_K_P quantization format employs a specific block-wise scaling strategy that preserves the dynamic range of the convolution weights more effectively than standard Q4_K_M.
🔮 Future ImplicationsAI analysis grounded in cited sources
⏳ Timeline
Weekly AI Recap
Read this week's curated digest of top AI events →
👉Related Updates
AI-curated news aggregator. All content rights belong to original publishers.
Original source: Reddit r/LocalLLaMA ↗
This is a summary, not the original. Read the source, or get the weekly briefing.
The weekly digest
One email a week. Unsubscribe anytime.