Commit Graph
5 Commits
Author SHA1 Message Date
iafiscal1212andClaude Opus 4.6 3f6aa5597a 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>
2026-03-22 13:03:30 +01:00
iafiscal1212andClaude Opus 4.6 8c10a8cb44 feat: inter-step KV cache + updated documentation (v0.2.0)
- Inter-step cache: 1.6x average speedup (15-28 tok/s on easy prompts)
- 6 of 8 prompts now outperform llama.cpp (up to 3.2x)
- New flags: --no-cache, --cache-refresh, --cache-keep-active
- Updated paper, README, RESULTS, .zenodo.json
- Cache improves quality on 3/8 prompts (regularization effect)
- New paper.tex source with cache results (Section 4.1, 6.7)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 12:20:32 +01:00
iafiscal1212andClaude Opus 4.6 00243730eb Prepare for public release: AGPL-3.0 license + README overhaul
- Change license from MIT to AGPL-3.0 with commercial licensing option
- Expand README with full benchmarks, API docs, and entropy_exit documentation
- Fix build instructions (DIFFUSE_BUILD_TOOLS, not BUILD_BENCH)
- Remove TODO comment from main-cli.cpp

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 14:23:26 +01:00
iafiscal1212andClaude Opus 4.6 627b45891d Add entropy_exit semantic scheduler + research findings
- ENTROPY_EXIT remasking: unmask all low-entropy tokens early, spend
  steps only on difficult tokens. 5-8x speedup on structured tasks
  (translation, factual QA) with no quality loss.
- Add entropy_threshold parameter (default 1.5)
- Research doc: prior art survey (EAGS, Fast-dLLM, WavefrontDiffusion,
  DOS, LoPA) + empirical results on 5 prompts
- Python semantic_scheduler.py experiment framework

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 05:19:52 +01:00
iafiscal1212andClaude Opus 4.6 6022454e29 Initial scaffold: diffuse-cpp inference engine for Diffusion LLMs
- Project structure with CMake build system, GGML submodule
- Core library: model loader (GGUF), transformer forward pass, diffusion sampler
- CLI tools: diffuse-cli (generation) and diffuse-bench (benchmarks)
- Converter: convert-llada.py (SafeTensors → GGUF with tensor name mapping)
- Tests: unit tests, converter roundtrip test, end-to-end forward pass test
- Bidirectional attention (no causal mask, no KV cache)
- SwiGLU FFN, RoPE, RMSNorm — full LLaDA-8B Llama backbone
- Verified: compiles clean, forward pass produces valid logits on tiny model

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 21:43:36 +01:00