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
@@ -38,6 +38,8 @@ enum class diffuse_remasking {
|
||||
LOW_CONFIDENCE,
|
||||
RANDOM,
|
||||
ENTROPY_EXIT, // Unmask all low-entropy tokens early (semantic scheduling)
|
||||
MASKGIT_PLUS, // Dream: unmask highest top-1 confidence (similar to LOW_CONFIDENCE)
|
||||
TOPK_MARGIN, // Dream: unmask by margin between top-1 and top-2 logits
|
||||
};
|
||||
|
||||
struct diffuse_sampler_params {
|
||||
|
||||
Reference in new issue
Block a user