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
@@ -113,8 +113,10 @@ int main(int argc, char ** argv) {
|
||||
sched_config schedulers[] = {
|
||||
{"low_confidence", diffuse_remasking::LOW_CONFIDENCE},
|
||||
{"entropy_exit", diffuse_remasking::ENTROPY_EXIT},
|
||||
{"maskgit_plus", diffuse_remasking::MASKGIT_PLUS},
|
||||
{"topk_margin", diffuse_remasking::TOPK_MARGIN},
|
||||
};
|
||||
int n_schedulers = 2;
|
||||
int n_schedulers = 4;
|
||||
|
||||
// Load model
|
||||
int max_threads = *std::max_element(threads_list.begin(), threads_list.end());
|
||||
|
||||
Reference in new issue
Block a user