mirror of
https://github.com/iafiscal1212/diffuse-cpp.git
synced 2026-12-04 00:28:08 +00:00
Dream/Qwen2.5 uses biases on Q, K, V projections. Without them, attention is fundamentally incorrect producing garbage output. Changes: - diffuse_layer: add optional bq, bk, bv bias tensor pointers - diffuse-model: load bias tensors from GGUF (nullptr if absent) - diffuse-graph: apply ggml_add after QKV projection in all 3 graph builders - convert-dream.py: include QKV bias tensors instead of skipping them Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>