mirror of
https://github.com/iafiscal1212/diffuse-cpp.git
synced 2026-12-04 16:48:08 +00:00
feat: add Dream-7B model support (Qwen2.5 backbone, GQA)
- New converter: tools/convert-dream.py (Qwen2.5 tensor mapping) - Multi-model loader: reads diffuse.model_type from GGUF metadata - GQA support verified (28 query heads, 4 KV heads) - New remasking strategies: maskgit_plus, topk_margin (from Dream paper) - Updated CLI, benchmark, and generate.py with new remasking options - README: supported models table, Dream conversion example - Zero breaking changes for existing LLaDA GGUF files Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
9b76ba9bc3
commit
3f6aa5597a
9 files changed
+376
-18
No files matched your search
@@ -46,6 +46,7 @@ struct diffuse_layer {
|
||||
// ── Full model struct ──────────────────────────────────────────
|
||||
struct diffuse_model {
|
||||
diffuse_hparams hparams;
|
||||
std::string model_type; // "llada", "dream", etc. (from GGUF metadata)
|
||||
|
||||
// Embeddings
|
||||
struct ggml_tensor * tok_embd; // token embeddings
|
||||
|
||||
Reference in new issue
Block a user