How to use from
Unsloth Studio
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh
# Run unsloth studio
unsloth studio -H 0.0.0.0 -p 8888
# Then open http://localhost:8888 in your browser
# Search for Fredred89/Qwen3.5-27B-GLM5.1-Distill-v1-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex
# Run unsloth studio
unsloth studio -H 0.0.0.0 -p 8888
# Then open http://localhost:8888 in your browser
# Search for Fredred89/Qwen3.5-27B-GLM5.1-Distill-v1-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required
# Open https://huggingface.co/spaces/unsloth/studio in your browser
# Search for Fredred89/Qwen3.5-27B-GLM5.1-Distill-v1-GGUF to start chatting
Quick Links

Qwen3.5-27B-GLM5.1-Distill-v1 โ€” APEX Quantized GGUF

Architecture: DENSE (NOT MoE) โ€” All 27B parameters are active on every token. No expert routing.

Model Info

Property Value
Base model Qwen3.5-27B-GLM5.1-Distill-v1
Parameters 27B (all active, dense)
Layers 64 (48 GDN recurrent + 16 full-attention, every 4th layer)
Architecture Qwen3_5ForConditionalGeneration (hybrid GDN)
Vocab 248,320
Context 262,144

Available Quantizations

File Type Size PPL Notes
...-APEX-Quality-v5.gguf APEX Q4_K_M + edge upgrades 16.18 GB 5.5596 Best quality โ€” beats built-in Q4_K_M
...-Q4_K_M.gguf Built-in Q4_K_M 15.41 GB 5.5687 Baseline
...-Q8_0.gguf Q8_0 ~27 GB โ€” High quality reference
...-F16-fixed2.gguf F16 53.8 GB ~5.55 Full precision (fixed block_count)

Benchmark: wiki.test.raw, c=2048, chunks=10

APEX Quality v5 โ€” Method

This uses an APEX-inspired minimal-override strategy adapted for dense models.

What APEX Quality v5 does:

  • 93 tensor-type-file overrides โ€” only edge layer upgrades
  • Edge layers L0-7, L56-63: q4_K โ†’ q5_K
  • token_embd.weight: q4_K โ†’ q6_K
  • Everything else: no override (built-in k-quant mixture handles it)

Why this works for dense models:

  • Unlike MoE models (where 97% of expert params are inactive per token), dense models have all parameters active on every forward pass
  • Built-in llama.cpp k-quant mixture is already near-optimal for dense models
  • Only edge layers benefit from upgrades (embedding alignment + logit generation)
  • Full-replacement APEX tiers perform worse on this dense model than minimal overrides

Key difference from APEX paper: The original APEX paper targets MoE models (Qwen3.5-35B-A3B with 256 routed experts). Its biggest innovation โ€” compressing inactive experts aggressively โ€” doesn't apply here. We only use the layer-gradient principle.

Reproduction

# 1. Convert to F16 and fix metadata (block_count bug: 65 โ†’ 64)
python3 convert_hf_to_gguf.py safetensors_source/ --outfile model-F16.gguf --outtype f16
llama-quantize \
  --override-kv 'qwen35.block_count=int:64' \
  --override-kv 'qwen35.nextn_predict_layers=int:0' \
  model-F16.gguf model-F16-fixed.gguf COPY

# 2. Quantize with APEX tensor-type-file (see APEX-Quality-v5.tensor_types.txt)
llama-quantize \
  --tensor-type-file APEX-Quality-v5.tensor_types.txt \
  model-F16-fixed.gguf APEX-Quality-v5.gguf Q4_K_M

# 3. Benchmark (MUST use c=2048, not default c=512)
llama-perplexity -m APEX-Quality-v5.gguf -f wiki.test.raw -c 2048 --chunks 10 -t 4

Credits

Downloads last month
693
GGUF
Model size
27B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

4-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Fredred89/Qwen3.5-27B-GLM5.1-Distill-v1-GGUF

Base model

Qwen/Qwen3.5-27B
Quantized
(1)
this model