]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Fix params bug in diffusion example (#14993)
authorAman Gupta <redacted>
Thu, 31 Jul 2025 17:22:58 +0000 (01:22 +0800)
committerGitHub <redacted>
Thu, 31 Jul 2025 17:22:58 +0000 (01:22 +0800)
common/common.h

index 45cf07b15cb4630af1ff2e669dbef553ecae2bdf..b8b01a7e99790cc11e5696ef952b85dbe7476d98 100644 (file)
@@ -225,7 +225,7 @@ struct common_params_diffusion {
     bool    visual_mode   = false;
 
     float   eps           = 0;        // epsilon for timesteps
-    int32_t block_length  = 32;       // block length for generation
+    int32_t block_length  = 0;        // block length for generation
 
     int32_t algorithm     = 4;        // default algorithm: low-confidence
     float   alg_temp      = 0.0f;     // algorithm temperature