batch : remove logits_all flag (#14141)

ggml-ci
This commit is contained in:
Georgi Gerganov 2025-06-12 11:49:26 +03:00 committed by GitHub
parent e2c0b6e46a
commit c3ee46fab4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 17 additions and 30 deletions

View file

@ -310,12 +310,11 @@ llama_pos llama_kv_cache_unified::seq_pos_max(llama_seq_id seq_id) const {
llama_memory_state_ptr llama_kv_cache_unified::init_batch(
const llama_batch & batch,
uint32_t n_ubatch,
bool embd_pooled,
bool logits_all) {
bool embd_pooled) {
GGML_UNUSED(embd_pooled);
do {
auto sbatch = llama_sbatch(batch, hparams.n_embd, true, logits_all);
auto sbatch = llama_sbatch(batch, hparams.n_embd, true);
std::vector<llama_ubatch> ubatches;
while (sbatch.n_tokens > 0) {