graph : restore ubatch in build_cb

ggml-ci
This commit is contained in:
Georgi Gerganov
2025-02-12 16:29:15 +02:00
parent f63aeecce6
commit 6ee86e5e0f
4 changed files with 6 additions and 5 deletions

View File

@@ -248,6 +248,7 @@ static ggml_backend_buffer_type_t select_weight_buft(const llama_hparams & hpara
return cur_buft;
}
}
return nullptr;
}
@@ -3888,7 +3889,7 @@ struct llm_build_context {
// TODO: tmp
void cb(struct ggml_tensor * cur, const char * name, int il) {
lgf.build_cb(cur, name, il);
lgf.build_cb(cur, name, ubatch, il);
}
// TODO: tmp