You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`GGML_DFLASH_VERBOSE_CONTRACT=1`| Logs extra drafter/target contract details during DFlash setup. |
531
531
|`GGML_DFLASH_FORCE_CPU_CROSS=1`| Force the CPU hidden-state cross path even when the GPU ring is available. |
532
532
|`GGML_DFLASH_VERIFY_PAD=1`| Re-enable diagnostic verifier padding to the active draft depth. Default is off because padded rows consume target verify time but are not sampled or accepted. |
533
-
|`GGML_DFLASH_SHARED_DRAFT_BATCH=1`|Opt into the experimental shared multi-slot DFlash drafter graph. The default keeps per-slot cached drafting because the shared graph pays the full multi-slot cross-attention window and disables the drafter K/V projection cache. |
533
+
|`GGML_DFLASH_SHARED_DRAFT_BATCH=0`|Disable shared multi-slot DFlash drafter batching and fall back to per-slot cached drafting. By default, flat multi-slot DFlash uses a composite batched K/V projection cache when available. |
534
534
|`GGML_DFLASH_GPU_RING=0`| Disable the GPU cross-attention ring and force the CPU ring path. |
535
535
|`GGML_DFLASH_MULTI_GPU_TAPE=0`| Disable default-on multi-GPU DFlash GPU ring, hidden capture, tape, and replay. Use to force the CPU/eval-callback fallback for split target placement. |
536
536
|`GGML_DFLASH_ALLOW_MULTI_GPU_TAPE=0`| Compatibility spelling for the same multi-GPU DFlash kill switch. |
// init scheduler and compute buffers, reserve worst-case graphs
441
476
llama_context(
@@ -740,6 +775,7 @@ struct llama_context {
740
775
booldflash_kv_cache_update_gpu(constvoid * d_hidden, int n_tokens, int n_layers, int n_embd_layer, set_tensor_d2d_fn_t fn_d2d);
741
776
booldflash_target_kv_cache_update_gpu(llama_seq_id seq_id, llama_pos start_pos, constvoid * d_hidden, int n_tokens, int n_layers, int n_embd_layer, set_tensor_d2d_fn_t fn_d2d);
742
777
booldflash_kv_cache_prepare(int ctx_window);
778
+
booldflash_kv_cache_prepare_batch(const llama_seq_id * seq_ids, int n_seq, int ctx_window);
0 commit comments