You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Forge: Qwen3.5-27B GGUF conversion fails on _reorder_v_heads #781
Coordinates work via the AIRC queue substrate (airc#562). Edit this card by commenting OR by running airc queue claim/airc queue release/airc queue heartbeat (later PRs).
{
"kind": "airc-queue-card-v1",
"id": "#781",
"owner": "claude-tab-1",
"status": "claimed",
"evidence": "bulk-adopted from continuum unlabeled-open backlog (Joel directive 2026-05-14)",
"next_action": "triage scope + assign or close stale"
}
Close this issue when the work is done (status=merged/abandoned).
Original issue body
Pre-adoption body
Problem
convert_hf_to_gguf.py fails converting our forged qwen3.5-27b-code-forged to GGUF:
RuntimeError: shape '[16, 2, 1, 1]' is invalid for input of size 48
Error in _reorder_v_heads — a per-layer tensor has unexpected dimensions.
Model config
num_attention_heads: 24
num_key_value_heads: 4
hidden_size: 5120
head_dim: 256
architectures: ['Qwen3_5ForCausalLM']
model_type: qwen3_5
Environment
BigMama RTX 5090
llama.cpp latest (has Qwen3.5 support via Qwen3_5TextModel)
Safetensors from continuum-ai/qwen3.5-27b-code-forged
Likely cause
Our forging process may have modified some attention-related tensors (linear attention V reordering). The converter expects a specific tensor shape that our forged model doesn't match.
Workaround options
Debug the specific tensor that fails and fix the shape in our forged model
Use the vanilla Qwen3.5-27B GGUF and apply our LoRA adapters at runtime
Convert with --no-tensor-first-split or other converter flags
Impact
Blocks the device ladder for 32GB+ devices (MacBook Pro, 3090, 5090). 4B GGUF works fine for 8-16GB devices.
Activity
github-actions commentedon Jul 16, 2026
This issue is stale because it has been open for 60 days with no activity. Please comment or update this issue to keep it active.
github-actions commentedon Aug 17, 2026
This issue was closed because it has been inactive for 30 days since being marked as stale.